AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartEarthObservationJobRequest.h
1
6#pragma once
7#include <aws/sagemaker-geospatial/SageMakerGeospatial_EXPORTS.h>
8#include <aws/sagemaker-geospatial/SageMakerGeospatialRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker-geospatial/model/InputConfigInput.h>
11#include <aws/sagemaker-geospatial/model/JobConfigInput.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace SageMakerGeospatial
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SAGEMAKERGEOSPATIAL_API StartEarthObservationJobRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "StartEarthObservationJob"; }
35
36 AWS_SAGEMAKERGEOSPATIAL_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
44 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
45 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
46 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
47 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
48 inline StartEarthObservationJobRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
49 inline StartEarthObservationJobRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
50 inline StartEarthObservationJobRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
52
54
58 inline const Aws::String& GetExecutionRoleArn() const{ return m_executionRoleArn; }
59 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
60 inline void SetExecutionRoleArn(const Aws::String& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = value; }
61 inline void SetExecutionRoleArn(Aws::String&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::move(value); }
62 inline void SetExecutionRoleArn(const char* value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn.assign(value); }
64 inline StartEarthObservationJobRequest& WithExecutionRoleArn(Aws::String&& value) { SetExecutionRoleArn(std::move(value)); return *this;}
65 inline StartEarthObservationJobRequest& WithExecutionRoleArn(const char* value) { SetExecutionRoleArn(value); return *this;}
67
69
72 inline const InputConfigInput& GetInputConfig() const{ return m_inputConfig; }
73 inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; }
74 inline void SetInputConfig(const InputConfigInput& value) { m_inputConfigHasBeenSet = true; m_inputConfig = value; }
75 inline void SetInputConfig(InputConfigInput&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::move(value); }
77 inline StartEarthObservationJobRequest& WithInputConfig(InputConfigInput&& value) { SetInputConfig(std::move(value)); return *this;}
79
81
84 inline const JobConfigInput& GetJobConfig() const{ return m_jobConfig; }
85 inline bool JobConfigHasBeenSet() const { return m_jobConfigHasBeenSet; }
86 inline void SetJobConfig(const JobConfigInput& value) { m_jobConfigHasBeenSet = true; m_jobConfig = value; }
87 inline void SetJobConfig(JobConfigInput&& value) { m_jobConfigHasBeenSet = true; m_jobConfig = std::move(value); }
88 inline StartEarthObservationJobRequest& WithJobConfig(const JobConfigInput& value) { SetJobConfig(value); return *this;}
89 inline StartEarthObservationJobRequest& WithJobConfig(JobConfigInput&& value) { SetJobConfig(std::move(value)); return *this;}
91
93
96 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
97 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
98 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
99 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
100 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
101 inline StartEarthObservationJobRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
102 inline StartEarthObservationJobRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
103 inline StartEarthObservationJobRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
105
107
110 inline const Aws::String& GetName() const{ return m_name; }
111 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
112 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
113 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
114 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
115 inline StartEarthObservationJobRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
116 inline StartEarthObservationJobRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
117 inline StartEarthObservationJobRequest& WithName(const char* value) { SetName(value); return *this;}
119
121
124 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
125 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
126 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
127 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
129 inline StartEarthObservationJobRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
130 inline StartEarthObservationJobRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
131 inline StartEarthObservationJobRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
132 inline StartEarthObservationJobRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
133 inline StartEarthObservationJobRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
134 inline StartEarthObservationJobRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
135 inline StartEarthObservationJobRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
136 inline StartEarthObservationJobRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
138 private:
139
140 Aws::String m_clientToken;
141 bool m_clientTokenHasBeenSet = false;
142
143 Aws::String m_executionRoleArn;
144 bool m_executionRoleArnHasBeenSet = false;
145
146 InputConfigInput m_inputConfig;
147 bool m_inputConfigHasBeenSet = false;
148
149 JobConfigInput m_jobConfig;
150 bool m_jobConfigHasBeenSet = false;
151
152 Aws::String m_kmsKeyId;
153 bool m_kmsKeyIdHasBeenSet = false;
154
155 Aws::String m_name;
156 bool m_nameHasBeenSet = false;
157
159 bool m_tagsHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace SageMakerGeospatial
164} // namespace Aws
StartEarthObservationJobRequest & AddTags(Aws::String &&key, Aws::String &&value)
StartEarthObservationJobRequest & WithClientToken(const Aws::String &value)
StartEarthObservationJobRequest & WithExecutionRoleArn(const Aws::String &value)
StartEarthObservationJobRequest & WithExecutionRoleArn(const char *value)
StartEarthObservationJobRequest & AddTags(Aws::String &&key, const Aws::String &value)
StartEarthObservationJobRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StartEarthObservationJobRequest & WithJobConfig(JobConfigInput &&value)
StartEarthObservationJobRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StartEarthObservationJobRequest & WithKmsKeyId(Aws::String &&value)
StartEarthObservationJobRequest & AddTags(const Aws::String &key, Aws::String &&value)
AWS_SAGEMAKERGEOSPATIAL_API Aws::String SerializePayload() const override
StartEarthObservationJobRequest & WithName(Aws::String &&value)
StartEarthObservationJobRequest & AddTags(const char *key, Aws::String &&value)
StartEarthObservationJobRequest & WithClientToken(Aws::String &&value)
StartEarthObservationJobRequest & WithClientToken(const char *value)
StartEarthObservationJobRequest & WithInputConfig(const InputConfigInput &value)
StartEarthObservationJobRequest & WithInputConfig(InputConfigInput &&value)
StartEarthObservationJobRequest & WithName(const Aws::String &value)
StartEarthObservationJobRequest & AddTags(const Aws::String &key, const Aws::String &value)
StartEarthObservationJobRequest & AddTags(const char *key, const char *value)
StartEarthObservationJobRequest & WithJobConfig(const JobConfigInput &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StartEarthObservationJobRequest & WithExecutionRoleArn(Aws::String &&value)
StartEarthObservationJobRequest & WithKmsKeyId(const Aws::String &value)
StartEarthObservationJobRequest & 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