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/core/utils/memory/stl/AWSVector.h>
11#include <aws/iot/model/PresignedUrlConfig.h>
12#include <aws/iot/model/TargetSelection.h>
13#include <aws/iot/model/JobExecutionsRolloutConfig.h>
14#include <aws/iot/model/AbortConfig.h>
15#include <aws/iot/model/TimeoutConfig.h>
16#include <aws/iot/model/JobExecutionsRetryConfig.h>
17#include <aws/core/utils/memory/stl/AWSMap.h>
18#include <aws/iot/model/SchedulingConfig.h>
19#include <aws/iot/model/Tag.h>
55 inline void SetJobId(
const char* value) { m_jobIdHasBeenSet =
true; m_jobId.assign(value); }
90 inline void SetDocumentSource(
const char* value) { m_documentSourceHasBeenSet =
true; m_documentSource.assign(value); }
105 inline void SetDocument(
const char* value) { m_documentHasBeenSet =
true; m_document.assign(value); }
119 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
227 inline void SetNamespaceId(
const char* value) { m_namespaceIdHasBeenSet =
true; m_namespaceId.assign(value); }
241 inline void SetJobTemplateArn(
const char* value) { m_jobTemplateArnHasBeenSet =
true; m_jobTemplateArn.assign(value); }
318 bool m_jobIdHasBeenSet =
false;
321 bool m_targetsHasBeenSet =
false;
324 bool m_documentSourceHasBeenSet =
false;
327 bool m_documentHasBeenSet =
false;
330 bool m_descriptionHasBeenSet =
false;
333 bool m_presignedUrlConfigHasBeenSet =
false;
336 bool m_targetSelectionHasBeenSet =
false;
339 bool m_jobExecutionsRolloutConfigHasBeenSet =
false;
342 bool m_abortConfigHasBeenSet =
false;
345 bool m_timeoutConfigHasBeenSet =
false;
348 bool m_tagsHasBeenSet =
false;
351 bool m_namespaceIdHasBeenSet =
false;
354 bool m_jobTemplateArnHasBeenSet =
false;
357 bool m_jobExecutionsRetryConfigHasBeenSet =
false;
360 bool m_documentParametersHasBeenSet =
false;
363 bool m_schedulingConfigHasBeenSet =
false;
366 bool m_destinationPackageVersionsHasBeenSet =
false;
void SetTargets(Aws::Vector< Aws::String > &&value)
CreateJobRequest & WithDescription(Aws::String &&value)
CreateJobRequest & AddDestinationPackageVersions(const Aws::String &value)
void SetDocumentParameters(const Aws::Map< Aws::String, Aws::String > &value)
void SetJobId(Aws::String &&value)
CreateJobRequest & WithDescription(const char *value)
bool JobTemplateArnHasBeenSet() const
void SetPresignedUrlConfig(const PresignedUrlConfig &value)
void SetJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
const Aws::String & GetNamespaceId() const
bool SchedulingConfigHasBeenSet() const
void SetDocumentSource(const char *value)
void SetTimeoutConfig(TimeoutConfig &&value)
void SetDocument(const Aws::String &value)
CreateJobRequest & WithTimeoutConfig(const TimeoutConfig &value)
bool AbortConfigHasBeenSet() const
CreateJobRequest & WithJobId(Aws::String &&value)
CreateJobRequest & AddDocumentParameters(const char *key, const char *value)
void SetNamespaceId(const Aws::String &value)
CreateJobRequest & WithJobTemplateArn(const char *value)
CreateJobRequest & WithJobExecutionsRetryConfig(const JobExecutionsRetryConfig &value)
CreateJobRequest & WithJobId(const char *value)
const TimeoutConfig & GetTimeoutConfig() const
bool DestinationPackageVersionsHasBeenSet() const
CreateJobRequest & AddTags(Tag &&value)
bool TargetsHasBeenSet() const
CreateJobRequest & AddDocumentParameters(const Aws::String &key, const Aws::String &value)
bool DescriptionHasBeenSet() const
const TargetSelection & GetTargetSelection() const
bool DocumentHasBeenSet() const
void SetJobTemplateArn(const Aws::String &value)
CreateJobRequest & WithJobId(const Aws::String &value)
void SetDescription(Aws::String &&value)
CreateJobRequest & WithDocumentSource(const Aws::String &value)
void SetJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
const PresignedUrlConfig & GetPresignedUrlConfig() const
CreateJobRequest & AddDestinationPackageVersions(Aws::String &&value)
CreateJobRequest & AddTargets(Aws::String &&value)
CreateJobRequest & WithDestinationPackageVersions(Aws::Vector< Aws::String > &&value)
CreateJobRequest & WithTargets(const Aws::Vector< Aws::String > &value)
const Aws::String & GetDocumentSource() const
CreateJobRequest & WithPresignedUrlConfig(PresignedUrlConfig &&value)
CreateJobRequest & WithDocumentSource(Aws::String &&value)
void SetDocument(const char *value)
bool TagsHasBeenSet() const
CreateJobRequest & AddDocumentParameters(Aws::String &&key, const Aws::String &value)
bool NamespaceIdHasBeenSet() const
void SetNamespaceId(const char *value)
CreateJobRequest & WithAbortConfig(const AbortConfig &value)
void SetTargetSelection(TargetSelection &&value)
CreateJobRequest & WithDestinationPackageVersions(const Aws::Vector< Aws::String > &value)
CreateJobRequest & WithDescription(const Aws::String &value)
bool TargetSelectionHasBeenSet() const
void SetDescription(const char *value)
bool JobExecutionsRolloutConfigHasBeenSet() const
CreateJobRequest & WithDocument(const Aws::String &value)
CreateJobRequest & WithDocumentParameters(const Aws::Map< Aws::String, Aws::String > &value)
bool DocumentSourceHasBeenSet() const
void SetTargetSelection(const TargetSelection &value)
CreateJobRequest & WithJobExecutionsRolloutConfig(JobExecutionsRolloutConfig &&value)
CreateJobRequest & WithNamespaceId(const char *value)
void SetPresignedUrlConfig(PresignedUrlConfig &&value)
bool DocumentParametersHasBeenSet() const
const Aws::String & GetDescription() const
bool TimeoutConfigHasBeenSet() const
const JobExecutionsRolloutConfig & GetJobExecutionsRolloutConfig() const
CreateJobRequest & AddDocumentParameters(Aws::String &&key, Aws::String &&value)
CreateJobRequest & WithTags(Aws::Vector< Tag > &&value)
void SetJobId(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
void SetJobId(const Aws::String &value)
CreateJobRequest & WithJobExecutionsRetryConfig(JobExecutionsRetryConfig &&value)
const Aws::Vector< Aws::String > & GetDestinationPackageVersions() const
bool PresignedUrlConfigHasBeenSet() const
CreateJobRequest & WithDocumentSource(const char *value)
void SetAbortConfig(AbortConfig &&value)
CreateJobRequest & AddTargets(const char *value)
void SetDestinationPackageVersions(Aws::Vector< Aws::String > &&value)
const Aws::String & GetDocument() const
void SetSchedulingConfig(const SchedulingConfig &value)
CreateJobRequest & WithTargetSelection(const TargetSelection &value)
void SetDescription(const Aws::String &value)
CreateJobRequest & WithTimeoutConfig(TimeoutConfig &&value)
void SetJobTemplateArn(Aws::String &&value)
const SchedulingConfig & GetSchedulingConfig() const
virtual const char * GetServiceRequestName() const override
CreateJobRequest & AddDocumentParameters(Aws::String &&key, const char *value)
CreateJobRequest & WithPresignedUrlConfig(const PresignedUrlConfig &value)
bool JobExecutionsRetryConfigHasBeenSet() const
CreateJobRequest & WithSchedulingConfig(const SchedulingConfig &value)
void SetAbortConfig(const AbortConfig &value)
const Aws::Map< Aws::String, Aws::String > & GetDocumentParameters() const
CreateJobRequest & WithNamespaceId(Aws::String &&value)
CreateJobRequest & WithTargetSelection(TargetSelection &&value)
void SetDocumentSource(const Aws::String &value)
void SetJobExecutionsRetryConfig(const JobExecutionsRetryConfig &value)
CreateJobRequest & WithTargets(Aws::Vector< Aws::String > &&value)
CreateJobRequest & WithTags(const Aws::Vector< Tag > &value)
const AbortConfig & GetAbortConfig() const
void SetSchedulingConfig(SchedulingConfig &&value)
CreateJobRequest & AddTargets(const Aws::String &value)
CreateJobRequest & AddTags(const Tag &value)
void SetDocument(Aws::String &&value)
CreateJobRequest & WithJobTemplateArn(const Aws::String &value)
const JobExecutionsRetryConfig & GetJobExecutionsRetryConfig() const
void SetNamespaceId(Aws::String &&value)
CreateJobRequest & AddDocumentParameters(const char *key, Aws::String &&value)
bool JobIdHasBeenSet() const
void SetJobExecutionsRetryConfig(JobExecutionsRetryConfig &&value)
void SetDestinationPackageVersions(const Aws::Vector< Aws::String > &value)
CreateJobRequest & AddDocumentParameters(const Aws::String &key, Aws::String &&value)
CreateJobRequest & AddDestinationPackageVersions(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
CreateJobRequest & WithDocumentParameters(Aws::Map< Aws::String, Aws::String > &&value)
CreateJobRequest & WithDocument(Aws::String &&value)
const Aws::String & GetJobId() const
const Aws::String & GetJobTemplateArn() const
void SetTags(const Aws::Vector< Tag > &value)
void SetTimeoutConfig(const TimeoutConfig &value)
CreateJobRequest & WithAbortConfig(AbortConfig &&value)
CreateJobRequest & WithJobTemplateArn(Aws::String &&value)
void SetJobTemplateArn(const char *value)
CreateJobRequest & WithDocument(const char *value)
CreateJobRequest & WithJobExecutionsRolloutConfig(const JobExecutionsRolloutConfig &value)
const Aws::Vector< Aws::String > & GetTargets() const
CreateJobRequest & WithNamespaceId(const Aws::String &value)
void SetDocumentParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetTargets(const Aws::Vector< Aws::String > &value)
AWS_IOT_API CreateJobRequest()
void SetDocumentSource(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
CreateJobRequest & WithSchedulingConfig(SchedulingConfig &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector