Skip to content

Commit

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


#include <aws/iotjobs/Exports.h>

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

namespace Aws
{
namespace Iotjobs
{

/**
* Data needed to make a DescribeJobExecution request.
*
*/
class AWS_IOTJOBS_API DescribeJobExecutionRequest final
namespace Iotjobs
{
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.
* Data needed to make a DescribeJobExecution request.
*
*/
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);
};
}
}

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

namespace Aws
{
namespace Iotjobs
{

/**
* Response payload to a DescribeJobExecution request.
*
*/
class AWS_IOTJOBS_API DescribeJobExecutionResponse final
namespace Iotjobs
{
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.
* Response payload to a DescribeJobExecution request.
*
*/
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);
};
}
}

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


#include <aws/iotjobs/Exports.h>

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

namespace Aws
{
namespace Iotjobs
{

/**
* Data needed to subscribe to DescribeJobExecution responses.
*
*/
class AWS_IOTJOBS_API DescribeJobExecutionSubscriptionRequest final
namespace Iotjobs
{
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.
* Data needed to subscribe to DescribeJobExecution responses.
*
*/
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);
};
}
}

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
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: 30 additions & 35 deletions jobs/include/aws/iotjobs/GetPendingJobExecutionsRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,50 +6,45 @@
* This file is generated
*/


#include <aws/iotjobs/Exports.h>

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

namespace Aws
{
namespace Iotjobs
{

/**
* Data needed to make a GetPendingJobExecutions request.
*
*/
class AWS_IOTJOBS_API GetPendingJobExecutionsRequest final
namespace Iotjobs
{
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.
* Data needed to make a GetPendingJobExecutions request.
*
*/
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);
};
}
}

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
Loading

0 comments on commit 1bd056d

Please sign in to comment.