7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/PresignedUrlConfig.h>
11#include <aws/iot/model/JobExecutionsRolloutConfig.h>
12#include <aws/iot/model/AbortConfig.h>
13#include <aws/iot/model/TimeoutConfig.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/iot/model/JobExecutionsRetryConfig.h>
16#include <aws/iot/model/Tag.h>
17#include <aws/iot/model/MaintenanceWindow.h>
52 inline void SetJobTemplateId(
const char* value) { m_jobTemplateIdHasBeenSet =
true; m_jobTemplateId.assign(value); }
66 inline void SetJobArn(
const char* value) { m_jobArnHasBeenSet =
true; m_jobArn.assign(value); }
86 inline void SetDocumentSource(
const char* value) { m_documentSourceHasBeenSet =
true; m_documentSource.assign(value); }
101 inline void SetDocument(
const char* value) { m_documentHasBeenSet =
true; m_document.assign(value); }
115 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
225 bool m_jobTemplateIdHasBeenSet =
false;
228 bool m_jobArnHasBeenSet =
false;
231 bool m_documentSourceHasBeenSet =
false;
234 bool m_documentHasBeenSet =
false;
237 bool m_descriptionHasBeenSet =
false;
240 bool m_presignedUrlConfigHasBeenSet =
false;
243 bool m_jobExecutionsRolloutConfigHasBeenSet =
false;
246 bool m_abortConfigHasBeenSet =
false;
249 bool m_timeoutConfigHasBeenSet =
false;
252 bool m_tagsHasBeenSet =
false;
255 bool m_jobExecutionsRetryConfigHasBeenSet =
false;
258 bool m_maintenanceWindowsHasBeenSet =
false;
261 bool m_destinationPackageVersionsHasBeenSet =
false;
CreateJobTemplateRequest & WithDocumentSource(const char *value)
void SetPresignedUrlConfig(const PresignedUrlConfig &value)
CreateJobTemplateRequest & AddDestinationPackageVersions(Aws::String &&value)
CreateJobTemplateRequest & WithDestinationPackageVersions(const Aws::Vector< Aws::String > &value)
void SetDescription(Aws::String &&value)
void SetTimeoutConfig(TimeoutConfig &&value)
const Aws::String & GetDocument() const
void SetJobArn(Aws::String &&value)
CreateJobTemplateRequest & WithJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
CreateJobTemplateRequest & WithTimeoutConfig(const TimeoutConfig &value)
const JobExecutionsRolloutConfig & GetJobExecutionsRolloutConfig() const
void SetJobTemplateId(const Aws::String &value)
CreateJobTemplateRequest & WithMaintenanceWindows(Aws::Vector< MaintenanceWindow > &&value)
CreateJobTemplateRequest & WithJobArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
bool TimeoutConfigHasBeenSet() const
bool JobExecutionsRetryConfigHasBeenSet() const
CreateJobTemplateRequest & WithAbortConfig(AbortConfig &&value)
void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
CreateJobTemplateRequest & AddTags(const Tag &value)
void SetPresignedUrlConfig(PresignedUrlConfig &&value)
CreateJobTemplateRequest & WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
bool JobExecutionsRolloutConfigHasBeenSet() const
bool TagsHasBeenSet() const
const Aws::String & GetJobTemplateId() const
void SetJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetDocument(const Aws::String &value)
CreateJobTemplateRequest & WithDocumentSource(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
CreateJobTemplateRequest & WithTags(const Aws::Vector< Tag > &value)
void SetTimeoutConfig(const TimeoutConfig &value)
const Aws::Vector< MaintenanceWindow > & GetMaintenanceWindows() const
CreateJobTemplateRequest & WithDocumentSource(Aws::String &&value)
CreateJobTemplateRequest & WithJobExecutionsRetryConfig(const JobExecutionsRetryConfig &value)
void SetMaintenanceWindows(const Aws::Vector< MaintenanceWindow > &value)
CreateJobTemplateRequest & WithTimeoutConfig(TimeoutConfig &&value)
void SetJobExecutionsRetryConfig(const JobExecutionsRetryConfig &value)
bool PresignedUrlConfigHasBeenSet() const
CreateJobTemplateRequest & WithJobTemplateId(const char *value)
bool DestinationPackageVersionsHasBeenSet() const
CreateJobTemplateRequest & WithDocument(const char *value)
void SetJobArn(const char *value)
CreateJobTemplateRequest & WithDescription(Aws::String &&value)
bool MaintenanceWindowsHasBeenSet() const
CreateJobTemplateRequest & WithDocument(Aws::String &&value)
CreateJobTemplateRequest & WithDocument(const Aws::String &value)
CreateJobTemplateRequest & WithMaintenanceWindows(const Aws::Vector< MaintenanceWindow > &value)
CreateJobTemplateRequest & WithDestinationPackageVersions(Aws::Vector< Aws::String > &&value)
bool DocumentSourceHasBeenSet() const
void SetDocumentSource(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
const AbortConfig & GetAbortConfig() const
void SetJobTemplateId(const char *value)
CreateJobTemplateRequest & WithJobArn(const Aws::String &value)
void SetDescription(const Aws::String &value)
CreateJobTemplateRequest & WithJobExecutionsRetryConfig(JobExecutionsRetryConfig &&value)
void SetDocument(const char *value)
CreateJobTemplateRequest & WithDescription(const Aws::String &value)
CreateJobTemplateRequest & WithAbortConfig(const AbortConfig &value)
void SetMaintenanceWindows(Aws::Vector< MaintenanceWindow > &&value)
CreateJobTemplateRequest & WithTags(Aws::Vector< Tag > &&value)
const JobExecutionsRetryConfig & GetJobExecutionsRetryConfig() const
CreateJobTemplateRequest & AddDestinationPackageVersions(const Aws::String &value)
CreateJobTemplateRequest & WithJobTemplateId(const Aws::String &value)
CreateJobTemplateRequest & AddMaintenanceWindows(MaintenanceWindow &&value)
CreateJobTemplateRequest & AddDestinationPackageVersions(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
const Aws::String & GetDocumentSource() const
CreateJobTemplateRequest & WithPresignedUrlConfig(const PresignedUrlConfig &value)
void SetDocument(Aws::String &&value)
const TimeoutConfig & GetTimeoutConfig() const
void SetAbortConfig(AbortConfig &&value)
CreateJobTemplateRequest & WithJobTemplateId(Aws::String &&value)
CreateJobTemplateRequest & WithJobArn(const char *value)
AWS_IOT_API CreateJobTemplateRequest()
CreateJobTemplateRequest & AddTags(Tag &&value)
const Aws::Vector< Aws::String > & GetDestinationPackageVersions() const
const Aws::String & GetJobArn() const
void SetJobExecutionsRetryConfig(JobExecutionsRetryConfig &&value)
const Aws::String & GetDescription() const
void SetDocumentSource(const char *value)
void SetJobTemplateId(Aws::String &&value)
void SetDestinationPackageVersions(const Aws::Vector< Aws::String > &value)
CreateJobTemplateRequest & AddMaintenanceWindows(const MaintenanceWindow &value)
void SetAbortConfig(const AbortConfig &value)
CreateJobTemplateRequest & WithDescription(const char *value)
void SetDestinationPackageVersions(Aws::Vector< Aws::String > &&value)
bool JobTemplateIdHasBeenSet() const
const PresignedUrlConfig & GetPresignedUrlConfig() const
bool DescriptionHasBeenSet() const
bool JobArnHasBeenSet() const
void SetJobArn(const Aws::String &value)
void SetDocumentSource(Aws::String &&value)
void SetDescription(const char *value)
bool DocumentHasBeenSet() const
CreateJobTemplateRequest & WithPresignedUrlConfig(PresignedUrlConfig &&value)
bool AbortConfigHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector