AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StartVectorEnrichmentJobRequest.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/VectorEnrichmentJobInputConfig.h>
11#include <aws/sagemaker-geospatial/model/VectorEnrichmentJobConfig.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 StartVectorEnrichmentJobRequest() = default;
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 "StartVectorEnrichmentJob"; }
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 template<typename ClientTokenT = Aws::String>
46 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
47 template<typename ClientTokenT = Aws::String>
48 StartVectorEnrichmentJobRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
50
52
56 inline const Aws::String& GetExecutionRoleArn() const { return m_executionRoleArn; }
57 inline bool ExecutionRoleArnHasBeenSet() const { return m_executionRoleArnHasBeenSet; }
58 template<typename ExecutionRoleArnT = Aws::String>
59 void SetExecutionRoleArn(ExecutionRoleArnT&& value) { m_executionRoleArnHasBeenSet = true; m_executionRoleArn = std::forward<ExecutionRoleArnT>(value); }
60 template<typename ExecutionRoleArnT = Aws::String>
61 StartVectorEnrichmentJobRequest& WithExecutionRoleArn(ExecutionRoleArnT&& value) { SetExecutionRoleArn(std::forward<ExecutionRoleArnT>(value)); return *this;}
63
65
68 inline const VectorEnrichmentJobInputConfig& GetInputConfig() const { return m_inputConfig; }
69 inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; }
70 template<typename InputConfigT = VectorEnrichmentJobInputConfig>
71 void SetInputConfig(InputConfigT&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::forward<InputConfigT>(value); }
72 template<typename InputConfigT = VectorEnrichmentJobInputConfig>
73 StartVectorEnrichmentJobRequest& WithInputConfig(InputConfigT&& value) { SetInputConfig(std::forward<InputConfigT>(value)); return *this;}
75
77
80 inline const VectorEnrichmentJobConfig& GetJobConfig() const { return m_jobConfig; }
81 inline bool JobConfigHasBeenSet() const { return m_jobConfigHasBeenSet; }
82 template<typename JobConfigT = VectorEnrichmentJobConfig>
83 void SetJobConfig(JobConfigT&& value) { m_jobConfigHasBeenSet = true; m_jobConfig = std::forward<JobConfigT>(value); }
84 template<typename JobConfigT = VectorEnrichmentJobConfig>
85 StartVectorEnrichmentJobRequest& WithJobConfig(JobConfigT&& value) { SetJobConfig(std::forward<JobConfigT>(value)); return *this;}
87
89
92 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
93 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
94 template<typename KmsKeyIdT = Aws::String>
95 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
96 template<typename KmsKeyIdT = Aws::String>
97 StartVectorEnrichmentJobRequest& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
99
101
104 inline const Aws::String& GetName() const { return m_name; }
105 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
106 template<typename NameT = Aws::String>
107 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
108 template<typename NameT = Aws::String>
109 StartVectorEnrichmentJobRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
111
113
116 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
117 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
118 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
120 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
121 StartVectorEnrichmentJobRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
122 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
123 StartVectorEnrichmentJobRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
124 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
125 }
127 private:
128
130 bool m_clientTokenHasBeenSet = true;
131
132 Aws::String m_executionRoleArn;
133 bool m_executionRoleArnHasBeenSet = false;
134
135 VectorEnrichmentJobInputConfig m_inputConfig;
136 bool m_inputConfigHasBeenSet = false;
137
138 VectorEnrichmentJobConfig m_jobConfig;
139 bool m_jobConfigHasBeenSet = false;
140
141 Aws::String m_kmsKeyId;
142 bool m_kmsKeyIdHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
148 bool m_tagsHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace SageMakerGeospatial
153} // namespace Aws
AWS_SAGEMAKERGEOSPATIAL_API Aws::String SerializePayload() const override
StartVectorEnrichmentJobRequest & WithInputConfig(InputConfigT &&value)
StartVectorEnrichmentJobRequest & WithClientToken(ClientTokenT &&value)
AWS_SAGEMAKERGEOSPATIAL_API StartVectorEnrichmentJobRequest()=default
StartVectorEnrichmentJobRequest & WithJobConfig(JobConfigT &&value)
StartVectorEnrichmentJobRequest & WithKmsKeyId(KmsKeyIdT &&value)
StartVectorEnrichmentJobRequest & WithExecutionRoleArn(ExecutionRoleArnT &&value)
StartVectorEnrichmentJobRequest & AddTags(TagsKeyT &&key, TagsValueT &&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