AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
StartEarthObservationJobRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker-geospatial/SageMakerGeospatialRequest.h>
11#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
12#include <aws/sagemaker-geospatial/model/InputConfigInput.h>
13#include <aws/sagemaker-geospatial/model/JobConfigInput.h>
14
15#include <utility>
16
17namespace Aws {
18namespace SageMakerGeospatial {
19namespace Model {
20
24 public:
25 AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "StartEarthObservationJob"; }
32
33 AWS_SAGEMAKERGEOSPATIAL_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetClientToken() const { return m_clientToken; }
40 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
41 template <typename ClientTokenT = Aws::String>
42 void SetClientToken(ClientTokenT&& value) {
43 m_clientTokenHasBeenSet = true;
44 m_clientToken = std::forward<ClientTokenT>(value);
45 }
46 template <typename ClientTokenT = Aws::String>
48 SetClientToken(std::forward<ClientTokenT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
59 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
60 template <typename ExecutionRoleArnT = Aws::String>
61 void SetExecutionRoleArn(ExecutionRoleArnT&& value) {
62 m_executionRoleArnHasBeenSet = true;
63 m_executionRoleArn = std::forward<ExecutionRoleArnT>(value);
64 }
65 template <typename ExecutionRoleArnT = Aws::String>
67 SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value));
68 return *this;
69 }
71
73
76 inline const InputConfigInput& GetInputConfig() const { return m_inputConfig; }
77 inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; }
78 template <typename InputConfigT = InputConfigInput>
79 void SetInputConfig(InputConfigT&& value) {
80 m_inputConfigHasBeenSet = true;
81 m_inputConfig = std::forward<InputConfigT>(value);
82 }
83 template <typename InputConfigT = InputConfigInput>
85 SetInputConfig(std::forward<InputConfigT>(value));
86 return *this;
87 }
89
91
94 inline const JobConfigInput& GetJobConfig() const { return m_jobConfig; }
95 inline bool JobConfigHasBeenSet() const { return m_jobConfigHasBeenSet; }
96 template <typename JobConfigT = JobConfigInput>
97 void SetJobConfig(JobConfigT&& value) {
98 m_jobConfigHasBeenSet = true;
99 m_jobConfig = std::forward<JobConfigT>(value);
100 }
101 template <typename JobConfigT = JobConfigInput>
103 SetJobConfig(std::forward<JobConfigT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
113 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
114 template <typename KmsKeyIdT = Aws::String>
115 void SetKmsKeyId(KmsKeyIdT&& value) {
116 m_kmsKeyIdHasBeenSet = true;
117 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
118 }
119 template <typename KmsKeyIdT = Aws::String>
121 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetName() const { return m_name; }
131 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
132 template <typename NameT = Aws::String>
133 void SetName(NameT&& value) {
134 m_nameHasBeenSet = true;
135 m_name = std::forward<NameT>(value);
136 }
137 template <typename NameT = Aws::String>
139 SetName(std::forward<NameT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
149 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
150 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
151 void SetTags(TagsT&& value) {
152 m_tagsHasBeenSet = true;
153 m_tags = std::forward<TagsT>(value);
154 }
155 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 SetTags(std::forward<TagsT>(value));
158 return *this;
159 }
160 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
161 StartEarthObservationJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
162 m_tagsHasBeenSet = true;
163 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
164 return *this;
165 }
167 private:
169
170 Aws::String m_executionRoleArn;
171
172 InputConfigInput m_inputConfig;
173
174 JobConfigInput m_jobConfig;
175
176 Aws::String m_kmsKeyId;
177
178 Aws::String m_name;
179
181 bool m_clientTokenHasBeenSet = true;
182 bool m_executionRoleArnHasBeenSet = false;
183 bool m_inputConfigHasBeenSet = false;
184 bool m_jobConfigHasBeenSet = false;
185 bool m_kmsKeyIdHasBeenSet = false;
186 bool m_nameHasBeenSet = false;
187 bool m_tagsHasBeenSet = false;
188};
189
190} // namespace Model
191} // namespace SageMakerGeospatial
192} // namespace Aws
StartEarthObservationJobRequest & WithJobConfig(JobConfigT &&value)
StartEarthObservationJobRequest & WithInputConfig(InputConfigT &&value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::String SerializePayload() const override
AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobRequest()=default
StartEarthObservationJobRequest & WithClientToken(ClientTokenT &&value)
StartEarthObservationJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartEarthObservationJobRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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