AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartEarthObservationJobResult.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker-geospatial/model/InputConfigOutput.h>
11#include <aws/sagemaker-geospatial/model/JobConfigInput.h>
12#include <aws/sagemaker-geospatial/model/EarthObservationJobStatus.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SageMakerGeospatial
29{
30namespace Model
31{
33 {
34 public:
35 AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult();
38
39
41
44 inline const Aws::String& GetArn() const{ return m_arn; }
45 inline void SetArn(const Aws::String& value) { m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arn.assign(value); }
48 inline StartEarthObservationJobResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline StartEarthObservationJobResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline StartEarthObservationJobResult& WithArn(const char* value) { SetArn(value); return *this;}
52
54
57 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
58 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
59 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
61 inline StartEarthObservationJobResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
63
65
68 inline int GetDurationInSeconds() const{ return m_durationInSeconds; }
69 inline void SetDurationInSeconds(int value) { m_durationInSeconds = value; }
72
74
78 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
79 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArn = value; }
80 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArn = std::move(value); }
81 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArn.assign(value); }
83 inline StartEarthObservationJobResult& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
84 inline StartEarthObservationJobResult& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
86
88
91 inline const InputConfigOutput& GetInputConfig() const{ return m_inputConfig; }
92 inline void SetInputConfig(const InputConfigOutput& value) { m_inputConfig = value; }
93 inline void SetInputConfig(InputConfigOutput&& value) { m_inputConfig = std::move(value); }
95 inline StartEarthObservationJobResult& WithInputConfig(InputConfigOutput&& value) { SetInputConfig(std::move(value)); return *this;}
97
99
102 inline const JobConfigInput& GetJobConfig() const{ return m_jobConfig; }
103 inline void SetJobConfig(const JobConfigInput& value) { m_jobConfig = value; }
104 inline void SetJobConfig(JobConfigInput&& value) { m_jobConfig = std::move(value); }
105 inline StartEarthObservationJobResult& WithJobConfig(const JobConfigInput& value) { SetJobConfig(value); return *this;}
106 inline StartEarthObservationJobResult& WithJobConfig(JobConfigInput&& value) { SetJobConfig(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
114 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyId = value; }
115 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyId = std::move(value); }
116 inline void SetKmsKeyId(const char* value) { m_kmsKeyId.assign(value); }
117 inline StartEarthObservationJobResult& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
118 inline StartEarthObservationJobResult& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
119 inline StartEarthObservationJobResult& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
121
123
126 inline const Aws::String& GetName() const{ return m_name; }
127 inline void SetName(const Aws::String& value) { m_name = value; }
128 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
129 inline void SetName(const char* value) { m_name.assign(value); }
130 inline StartEarthObservationJobResult& WithName(const Aws::String& value) { SetName(value); return *this;}
131 inline StartEarthObservationJobResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
132 inline StartEarthObservationJobResult& WithName(const char* value) { SetName(value); return *this;}
134
136
139 inline const EarthObservationJobStatus& GetStatus() const{ return m_status; }
140 inline void SetStatus(const EarthObservationJobStatus& value) { m_status = value; }
141 inline void SetStatus(EarthObservationJobStatus&& value) { m_status = std::move(value); }
143 inline StartEarthObservationJobResult& WithStatus(EarthObservationJobStatus&& value) { SetStatus(std::move(value)); return *this;}
145
147
150 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
151 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
152 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
154 inline StartEarthObservationJobResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
155 inline StartEarthObservationJobResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
156 inline StartEarthObservationJobResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
157 inline StartEarthObservationJobResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
158 inline StartEarthObservationJobResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
159 inline StartEarthObservationJobResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
160 inline StartEarthObservationJobResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
161 inline StartEarthObservationJobResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
163
165
166 inline const Aws::String& GetRequestId() const{ return m_requestId; }
167 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
168 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
169 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
170 inline StartEarthObservationJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
171 inline StartEarthObservationJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
172 inline StartEarthObservationJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
174 private:
175
176 Aws::String m_arn;
177
178 Aws::Utils::DateTime m_creationTime;
179
180 int m_durationInSeconds;
181
182 Aws::String m_executionRoleArn;
183
184 InputConfigOutput m_inputConfig;
185
186 JobConfigInput m_jobConfig;
187
188 Aws::String m_kmsKeyId;
189
190 Aws::String m_name;
191
193
195
196 Aws::String m_requestId;
197 };
198
199} // namespace Model
200} // namespace SageMakerGeospatial
201} // namespace Aws
StartEarthObservationJobResult & WithName(Aws::String &&value)
StartEarthObservationJobResult & WithInputConfig(InputConfigOutput &&value)
StartEarthObservationJobResult & WithRequestId(Aws::String &&value)
StartEarthObservationJobResult & AddTags(const char *key, Aws::String &&value)
StartEarthObservationJobResult & WithArn(Aws::String &&value)
StartEarthObservationJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartEarthObservationJobResult & WithKmsKeyId(Aws::String &&value)
StartEarthObservationJobResult & AddTags(Aws::String &&key, Aws::String &&value)
StartEarthObservationJobResult & WithJobConfig(JobConfigInput &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StartEarthObservationJobResult & WithJobConfig(const JobConfigInput &value)
StartEarthObservationJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
StartEarthObservationJobResult & AddTags(const Aws::String &key, const Aws::String &value)
StartEarthObservationJobResult & AddTags(Aws::String &&key, const Aws::String &value)
StartEarthObservationJobResult & WithName(const Aws::String &value)
StartEarthObservationJobResult & WithRequestId(const Aws::String &value)
StartEarthObservationJobResult & WithExecutionRoleArn(const char *value)
StartEarthObservationJobResult & AddTags(const char *key, const char *value)
StartEarthObservationJobResult & WithStatus(const EarthObservationJobStatus &value)
StartEarthObservationJobResult & WithRequestId(const char *value)
StartEarthObservationJobResult & WithKmsKeyId(const Aws::String &value)
StartEarthObservationJobResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartEarthObservationJobResult & WithInputConfig(const InputConfigOutput &value)
StartEarthObservationJobResult & AddTags(const Aws::String &key, Aws::String &&value)
StartEarthObservationJobResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartEarthObservationJobResult & WithArn(const Aws::String &value)
StartEarthObservationJobResult & WithExecutionRoleArn(const Aws::String &value)
StartEarthObservationJobResult & WithExecutionRoleArn(Aws::String &&value)
StartEarthObservationJobResult & WithStatus(EarthObservationJobStatus &&value)
StartEarthObservationJobResult & AddTags(Aws::String &&key, const char *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
Aws::Utils::Json::JsonValue JsonValue