Skip to content

Commit

Permalink
regenerated
Browse files Browse the repository at this point in the history
  • Loading branch information
sbSteveK committed Aug 21, 2023
1 parent 0559841 commit acab961
Show file tree
Hide file tree
Showing 47 changed files with 2,966 additions and 3,054 deletions.
107 changes: 56 additions & 51 deletions jobs/include/aws/iotjobs/DescribeJobExecutionRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,66 +6,71 @@
* This file is generated
*/


#include <aws/iotjobs/Exports.h>

#include <aws/crt/JsonObject.h>
#include <aws/crt/StlAllocator.h>

namespace Aws
{
namespace Iotjobs
namespace Iotjobs
{

/**
* Data needed to make a DescribeJobExecution request.
*
*/
class AWS_IOTJOBS_API DescribeJobExecutionRequest final
{
public:
DescribeJobExecutionRequest() = default;

DescribeJobExecutionRequest(const Crt::JsonView& doc);
DescribeJobExecutionRequest& operator=(const Crt::JsonView& doc);

void SerializeToObject(Crt::JsonObject& doc) const;


/**
* Optional. A number that identifies a job execution on a device. If not specified, the latest job execution is returned.
*
*/
Aws::Crt::Optional<int64_t> ExecutionNumber;


/**
* The name of the thing associated with the device.
*
*/
Aws::Crt::Optional<Aws::Crt::String> ThingName;


/**
* Optional. Unless set to false, the response contains the job document. The default is true.
*
*/
Aws::Crt::Optional<bool> IncludeJobDocument;


/**
* Data needed to make a DescribeJobExecution request.
* The unique identifier assigned to this job when it was created. Or use $next to return the next pending job execution for a thing (status IN_PROGRESS or QUEUED). In this case, any job executions with status IN_PROGRESS are returned first. Job executions are returned in the order in which they were created.
*
*/
class AWS_IOTJOBS_API DescribeJobExecutionRequest final
{
public:
DescribeJobExecutionRequest() = default;

DescribeJobExecutionRequest(const Crt::JsonView &doc);
DescribeJobExecutionRequest &operator=(const Crt::JsonView &doc);

void SerializeToObject(Crt::JsonObject &doc) const;

/**
* Optional. A number that identifies a job execution on a device. If not specified, the latest job
* execution is returned.
*
*/
Aws::Crt::Optional<int64_t> ExecutionNumber;

/**
* The name of the thing associated with the device.
*
*/
Aws::Crt::Optional<Aws::Crt::String> ThingName;

/**
* Optional. Unless set to false, the response contains the job document. The default is true.
*
*/
Aws::Crt::Optional<bool> IncludeJobDocument;

/**
* The unique identifier assigned to this job when it was created. Or use $next to return the next pending
* job execution for a thing (status IN_PROGRESS or QUEUED). In this case, any job executions with status
* IN_PROGRESS are returned first. Job executions are returned in the order in which they were created.
*
*/
Aws::Crt::Optional<Aws::Crt::String> JobId;

/**
* An opaque string used to correlate requests and responses. Enter an arbitrary value here and it is
* reflected in the response.
*
*/
Aws::Crt::Optional<Aws::Crt::String> ClientToken;

private:
static void LoadFromObject(DescribeJobExecutionRequest &obj, const Crt::JsonView &doc);
};
} // namespace Iotjobs
} // namespace Aws
Aws::Crt::Optional<Aws::Crt::String> JobId;


/**
* An opaque string used to correlate requests and responses. Enter an arbitrary value here and it is reflected in the response.
*
*/
Aws::Crt::Optional<Aws::Crt::String> ClientToken;



private:
static void LoadFromObject(DescribeJobExecutionRequest& obj, const Crt::JsonView &doc);
};
}
}

76 changes: 41 additions & 35 deletions jobs/include/aws/iotjobs/DescribeJobExecutionResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,43 +16,49 @@

namespace Aws
{
namespace Iotjobs
namespace Iotjobs
{

/**
* Response payload to a DescribeJobExecution request.
*
*/
class AWS_IOTJOBS_API DescribeJobExecutionResponse final
{
public:
DescribeJobExecutionResponse() = default;

DescribeJobExecutionResponse(const Crt::JsonView& doc);
DescribeJobExecutionResponse& operator=(const Crt::JsonView& doc);

void SerializeToObject(Crt::JsonObject& doc) const;


/**
* Contains data about a job execution.
*
*/
Aws::Crt::Optional<Aws::Iotjobs::JobExecutionData> Execution;


/**
* Response payload to a DescribeJobExecution request.
* A client token used to correlate requests and responses.
*
*/
class AWS_IOTJOBS_API DescribeJobExecutionResponse final
{
public:
DescribeJobExecutionResponse() = default;

DescribeJobExecutionResponse(const Crt::JsonView &doc);
DescribeJobExecutionResponse &operator=(const Crt::JsonView &doc);

void SerializeToObject(Crt::JsonObject &doc) const;

/**
* Contains data about a job execution.
*
*/
Aws::Crt::Optional<Aws::Iotjobs::JobExecutionData> Execution;

/**
* A client token used to correlate requests and responses.
*
*/
Aws::Crt::Optional<Aws::Crt::String> ClientToken;

/**
* The time when the message was sent.
*
*/
Aws::Crt::Optional<Aws::Crt::DateTime> Timestamp;

private:
static void LoadFromObject(DescribeJobExecutionResponse &obj, const Crt::JsonView &doc);
};
} // namespace Iotjobs
} // namespace Aws
Aws::Crt::Optional<Aws::Crt::String> ClientToken;


/**
* The time when the message was sent.
*
*/
Aws::Crt::Optional<Aws::Crt::DateTime> Timestamp;



private:
static void LoadFromObject(DescribeJobExecutionResponse& obj, const Crt::JsonView &doc);
};
}
}

64 changes: 35 additions & 29 deletions jobs/include/aws/iotjobs/DescribeJobExecutionSubscriptionRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,44 +6,50 @@
* This file is generated
*/


#include <aws/iotjobs/Exports.h>

#include <aws/crt/JsonObject.h>
#include <aws/crt/StlAllocator.h>

namespace Aws
{
namespace Iotjobs
namespace Iotjobs
{

/**
* Data needed to subscribe to DescribeJobExecution responses.
*
*/
class AWS_IOTJOBS_API DescribeJobExecutionSubscriptionRequest final
{
public:
DescribeJobExecutionSubscriptionRequest() = default;

DescribeJobExecutionSubscriptionRequest(const Crt::JsonView& doc);
DescribeJobExecutionSubscriptionRequest& operator=(const Crt::JsonView& doc);

void SerializeToObject(Crt::JsonObject& doc) const;


/**
* Data needed to subscribe to DescribeJobExecution responses.
* Name of the IoT Thing that you want to subscribe to DescribeJobExecution response events for.
*
*/
class AWS_IOTJOBS_API DescribeJobExecutionSubscriptionRequest final
{
public:
DescribeJobExecutionSubscriptionRequest() = default;

DescribeJobExecutionSubscriptionRequest(const Crt::JsonView &doc);
DescribeJobExecutionSubscriptionRequest &operator=(const Crt::JsonView &doc);

void SerializeToObject(Crt::JsonObject &doc) const;

/**
* Name of the IoT Thing that you want to subscribe to DescribeJobExecution response events for.
*
*/
Aws::Crt::Optional<Aws::Crt::String> ThingName;

/**
* Job ID that you want to subscribe to DescribeJobExecution response events for.
*
*/
Aws::Crt::Optional<Aws::Crt::String> JobId;

private:
static void LoadFromObject(DescribeJobExecutionSubscriptionRequest &obj, const Crt::JsonView &doc);
};
} // namespace Iotjobs
} // namespace Aws
Aws::Crt::Optional<Aws::Crt::String> ThingName;


/**
* Job ID that you want to subscribe to DescribeJobExecution response events for.
*
*/
Aws::Crt::Optional<Aws::Crt::String> JobId;



private:
static void LoadFromObject(DescribeJobExecutionSubscriptionRequest& obj, const Crt::JsonView &doc);
};
}
}

2 changes: 1 addition & 1 deletion jobs/include/aws/iotjobs/Exports.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
# endif /* AWS_IOTJOBS_USE_IMPORT_EXPORT */

#else /* defined (AWS_IOTJOBS_USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */
# define AWS_IOTJOBS_API
# define AWS_IOTJOBS_API
#endif /* defined (AWS_IOTJOBS__USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32) */
65 changes: 35 additions & 30 deletions jobs/include/aws/iotjobs/GetPendingJobExecutionsRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,45 +6,50 @@
* This file is generated
*/


#include <aws/iotjobs/Exports.h>

#include <aws/crt/JsonObject.h>
#include <aws/crt/StlAllocator.h>

namespace Aws
{
namespace Iotjobs
namespace Iotjobs
{

/**
* Data needed to make a GetPendingJobExecutions request.
*
*/
class AWS_IOTJOBS_API GetPendingJobExecutionsRequest final
{
public:
GetPendingJobExecutionsRequest() = default;

GetPendingJobExecutionsRequest(const Crt::JsonView& doc);
GetPendingJobExecutionsRequest& operator=(const Crt::JsonView& doc);

void SerializeToObject(Crt::JsonObject& doc) const;


/**
* Data needed to make a GetPendingJobExecutions request.
* IoT Thing the request is relative to.
*
*/
class AWS_IOTJOBS_API GetPendingJobExecutionsRequest final
{
public:
GetPendingJobExecutionsRequest() = default;

GetPendingJobExecutionsRequest(const Crt::JsonView &doc);
GetPendingJobExecutionsRequest &operator=(const Crt::JsonView &doc);

void SerializeToObject(Crt::JsonObject &doc) const;

/**
* IoT Thing the request is relative to.
*
*/
Aws::Crt::Optional<Aws::Crt::String> ThingName;

/**
* Optional. A client token used to correlate requests and responses. Enter an arbitrary value here and it
* is reflected in the response.
*
*/
Aws::Crt::Optional<Aws::Crt::String> ClientToken;

private:
static void LoadFromObject(GetPendingJobExecutionsRequest &obj, const Crt::JsonView &doc);
};
} // namespace Iotjobs
} // namespace Aws
Aws::Crt::Optional<Aws::Crt::String> ThingName;


/**
* Optional. A client token used to correlate requests and responses. Enter an arbitrary value here and it is reflected in the response.
*
*/
Aws::Crt::Optional<Aws::Crt::String> ClientToken;



private:
static void LoadFromObject(GetPendingJobExecutionsRequest& obj, const Crt::JsonView &doc);
};
}
}

Loading

0 comments on commit acab961

Please sign in to comment.