AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
Blueprint.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/model/BlueprintOptimizationSample.h>
9#include <aws/bedrock-data-automation/model/BlueprintStage.h>
10#include <aws/bedrock-data-automation/model/Type.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace BedrockDataAutomation {
26namespace Model {
27
33class Blueprint {
34 public:
35 AWS_BEDROCKDATAAUTOMATION_API Blueprint() = default;
36 AWS_BEDROCKDATAAUTOMATION_API Blueprint(Aws::Utils::Json::JsonView jsonValue);
37 AWS_BEDROCKDATAAUTOMATION_API Blueprint& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
42 inline const Aws::String& GetBlueprintArn() const { return m_blueprintArn; }
43 inline bool BlueprintArnHasBeenSet() const { return m_blueprintArnHasBeenSet; }
44 template <typename BlueprintArnT = Aws::String>
45 void SetBlueprintArn(BlueprintArnT&& value) {
46 m_blueprintArnHasBeenSet = true;
47 m_blueprintArn = std::forward<BlueprintArnT>(value);
48 }
49 template <typename BlueprintArnT = Aws::String>
50 Blueprint& WithBlueprintArn(BlueprintArnT&& value) {
51 SetBlueprintArn(std::forward<BlueprintArnT>(value));
52 return *this;
53 }
55
57
58 inline const Aws::String& GetSchema() const { return m_schema; }
59 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
60 template <typename SchemaT = Aws::String>
61 void SetSchema(SchemaT&& value) {
62 m_schemaHasBeenSet = true;
63 m_schema = std::forward<SchemaT>(value);
64 }
65 template <typename SchemaT = Aws::String>
66 Blueprint& WithSchema(SchemaT&& value) {
67 SetSchema(std::forward<SchemaT>(value));
68 return *this;
69 }
71
73
74 inline Type GetType() const { return m_type; }
75 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
76 inline void SetType(Type value) {
77 m_typeHasBeenSet = true;
78 m_type = value;
79 }
80 inline Blueprint& WithType(Type value) {
81 SetType(value);
82 return *this;
83 }
85
87
88 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
89 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
90 template <typename CreationTimeT = Aws::Utils::DateTime>
91 void SetCreationTime(CreationTimeT&& value) {
92 m_creationTimeHasBeenSet = true;
93 m_creationTime = std::forward<CreationTimeT>(value);
94 }
95 template <typename CreationTimeT = Aws::Utils::DateTime>
96 Blueprint& WithCreationTime(CreationTimeT&& value) {
97 SetCreationTime(std::forward<CreationTimeT>(value));
98 return *this;
99 }
101
103
104 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
105 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
106 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
107 void SetLastModifiedTime(LastModifiedTimeT&& value) {
108 m_lastModifiedTimeHasBeenSet = true;
109 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
110 }
111 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
112 Blueprint& WithLastModifiedTime(LastModifiedTimeT&& value) {
113 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
114 return *this;
115 }
117
119
120 inline const Aws::String& GetBlueprintName() const { return m_blueprintName; }
121 inline bool BlueprintNameHasBeenSet() const { return m_blueprintNameHasBeenSet; }
122 template <typename BlueprintNameT = Aws::String>
123 void SetBlueprintName(BlueprintNameT&& value) {
124 m_blueprintNameHasBeenSet = true;
125 m_blueprintName = std::forward<BlueprintNameT>(value);
126 }
127 template <typename BlueprintNameT = Aws::String>
128 Blueprint& WithBlueprintName(BlueprintNameT&& value) {
129 SetBlueprintName(std::forward<BlueprintNameT>(value));
130 return *this;
131 }
133
135
136 inline const Aws::String& GetBlueprintVersion() const { return m_blueprintVersion; }
137 inline bool BlueprintVersionHasBeenSet() const { return m_blueprintVersionHasBeenSet; }
138 template <typename BlueprintVersionT = Aws::String>
139 void SetBlueprintVersion(BlueprintVersionT&& value) {
140 m_blueprintVersionHasBeenSet = true;
141 m_blueprintVersion = std::forward<BlueprintVersionT>(value);
142 }
143 template <typename BlueprintVersionT = Aws::String>
144 Blueprint& WithBlueprintVersion(BlueprintVersionT&& value) {
145 SetBlueprintVersion(std::forward<BlueprintVersionT>(value));
146 return *this;
147 }
149
151
152 inline BlueprintStage GetBlueprintStage() const { return m_blueprintStage; }
153 inline bool BlueprintStageHasBeenSet() const { return m_blueprintStageHasBeenSet; }
155 m_blueprintStageHasBeenSet = true;
156 m_blueprintStage = value;
157 }
159 SetBlueprintStage(value);
160 return *this;
161 }
163
165
166 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
167 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
168 template <typename KmsKeyIdT = Aws::String>
169 void SetKmsKeyId(KmsKeyIdT&& value) {
170 m_kmsKeyIdHasBeenSet = true;
171 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
172 }
173 template <typename KmsKeyIdT = Aws::String>
174 Blueprint& WithKmsKeyId(KmsKeyIdT&& value) {
175 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
176 return *this;
177 }
179
181
182 inline const Aws::Map<Aws::String, Aws::String>& GetKmsEncryptionContext() const { return m_kmsEncryptionContext; }
183 inline bool KmsEncryptionContextHasBeenSet() const { return m_kmsEncryptionContextHasBeenSet; }
184 template <typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
185 void SetKmsEncryptionContext(KmsEncryptionContextT&& value) {
186 m_kmsEncryptionContextHasBeenSet = true;
187 m_kmsEncryptionContext = std::forward<KmsEncryptionContextT>(value);
188 }
189 template <typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
190 Blueprint& WithKmsEncryptionContext(KmsEncryptionContextT&& value) {
191 SetKmsEncryptionContext(std::forward<KmsEncryptionContextT>(value));
192 return *this;
193 }
194 template <typename KmsEncryptionContextKeyT = Aws::String, typename KmsEncryptionContextValueT = Aws::String>
195 Blueprint& AddKmsEncryptionContext(KmsEncryptionContextKeyT&& key, KmsEncryptionContextValueT&& value) {
196 m_kmsEncryptionContextHasBeenSet = true;
197 m_kmsEncryptionContext.emplace(std::forward<KmsEncryptionContextKeyT>(key), std::forward<KmsEncryptionContextValueT>(value));
198 return *this;
199 }
201
203
204 inline const Aws::Vector<BlueprintOptimizationSample>& GetOptimizationSamples() const { return m_optimizationSamples; }
205 inline bool OptimizationSamplesHasBeenSet() const { return m_optimizationSamplesHasBeenSet; }
206 template <typename OptimizationSamplesT = Aws::Vector<BlueprintOptimizationSample>>
207 void SetOptimizationSamples(OptimizationSamplesT&& value) {
208 m_optimizationSamplesHasBeenSet = true;
209 m_optimizationSamples = std::forward<OptimizationSamplesT>(value);
210 }
211 template <typename OptimizationSamplesT = Aws::Vector<BlueprintOptimizationSample>>
212 Blueprint& WithOptimizationSamples(OptimizationSamplesT&& value) {
213 SetOptimizationSamples(std::forward<OptimizationSamplesT>(value));
214 return *this;
215 }
216 template <typename OptimizationSamplesT = BlueprintOptimizationSample>
217 Blueprint& AddOptimizationSamples(OptimizationSamplesT&& value) {
218 m_optimizationSamplesHasBeenSet = true;
219 m_optimizationSamples.emplace_back(std::forward<OptimizationSamplesT>(value));
220 return *this;
221 }
223
225
226 inline const Aws::Utils::DateTime& GetOptimizationTime() const { return m_optimizationTime; }
227 inline bool OptimizationTimeHasBeenSet() const { return m_optimizationTimeHasBeenSet; }
228 template <typename OptimizationTimeT = Aws::Utils::DateTime>
229 void SetOptimizationTime(OptimizationTimeT&& value) {
230 m_optimizationTimeHasBeenSet = true;
231 m_optimizationTime = std::forward<OptimizationTimeT>(value);
232 }
233 template <typename OptimizationTimeT = Aws::Utils::DateTime>
234 Blueprint& WithOptimizationTime(OptimizationTimeT&& value) {
235 SetOptimizationTime(std::forward<OptimizationTimeT>(value));
236 return *this;
237 }
239 private:
240 Aws::String m_blueprintArn;
241
242 Aws::String m_schema;
243
244 Type m_type{Type::NOT_SET};
245
246 Aws::Utils::DateTime m_creationTime{};
247
248 Aws::Utils::DateTime m_lastModifiedTime{};
249
250 Aws::String m_blueprintName;
251
252 Aws::String m_blueprintVersion;
253
254 BlueprintStage m_blueprintStage{BlueprintStage::NOT_SET};
255
256 Aws::String m_kmsKeyId;
257
258 Aws::Map<Aws::String, Aws::String> m_kmsEncryptionContext;
259
260 Aws::Vector<BlueprintOptimizationSample> m_optimizationSamples;
261
262 Aws::Utils::DateTime m_optimizationTime{};
263 bool m_blueprintArnHasBeenSet = false;
264 bool m_schemaHasBeenSet = false;
265 bool m_typeHasBeenSet = false;
266 bool m_creationTimeHasBeenSet = false;
267 bool m_lastModifiedTimeHasBeenSet = false;
268 bool m_blueprintNameHasBeenSet = false;
269 bool m_blueprintVersionHasBeenSet = false;
270 bool m_blueprintStageHasBeenSet = false;
271 bool m_kmsKeyIdHasBeenSet = false;
272 bool m_kmsEncryptionContextHasBeenSet = false;
273 bool m_optimizationSamplesHasBeenSet = false;
274 bool m_optimizationTimeHasBeenSet = false;
275};
276
277} // namespace Model
278} // namespace BedrockDataAutomation
279} // namespace Aws
Blueprint & WithLastModifiedTime(LastModifiedTimeT &&value)
Definition Blueprint.h:112
const Aws::String & GetKmsKeyId() const
Definition Blueprint.h:166
void SetCreationTime(CreationTimeT &&value)
Definition Blueprint.h:91
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
Blueprint & WithBlueprintStage(BlueprintStage value)
Definition Blueprint.h:158
const Aws::String & GetBlueprintArn() const
Definition Blueprint.h:42
void SetOptimizationTime(OptimizationTimeT &&value)
Definition Blueprint.h:229
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Blueprint.h:104
void SetBlueprintArn(BlueprintArnT &&value)
Definition Blueprint.h:45
Blueprint & WithBlueprintArn(BlueprintArnT &&value)
Definition Blueprint.h:50
Blueprint & WithBlueprintVersion(BlueprintVersionT &&value)
Definition Blueprint.h:144
Blueprint & WithKmsEncryptionContext(KmsEncryptionContextT &&value)
Definition Blueprint.h:190
void SetOptimizationSamples(OptimizationSamplesT &&value)
Definition Blueprint.h:207
const Aws::Utils::DateTime & GetOptimizationTime() const
Definition Blueprint.h:226
Blueprint & AddOptimizationSamples(OptimizationSamplesT &&value)
Definition Blueprint.h:217
const Aws::String & GetBlueprintVersion() const
Definition Blueprint.h:136
void SetLastModifiedTime(LastModifiedTimeT &&value)
Definition Blueprint.h:107
void SetBlueprintVersion(BlueprintVersionT &&value)
Definition Blueprint.h:139
const Aws::Map< Aws::String, Aws::String > & GetKmsEncryptionContext() const
Definition Blueprint.h:182
void SetKmsEncryptionContext(KmsEncryptionContextT &&value)
Definition Blueprint.h:185
Blueprint & WithKmsKeyId(KmsKeyIdT &&value)
Definition Blueprint.h:174
const Aws::String & GetBlueprintName() const
Definition Blueprint.h:120
AWS_BEDROCKDATAAUTOMATION_API Blueprint & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< BlueprintOptimizationSample > & GetOptimizationSamples() const
Definition Blueprint.h:204
const Aws::String & GetSchema() const
Definition Blueprint.h:58
Blueprint & WithCreationTime(CreationTimeT &&value)
Definition Blueprint.h:96
Blueprint & WithBlueprintName(BlueprintNameT &&value)
Definition Blueprint.h:128
Blueprint & WithOptimizationSamples(OptimizationSamplesT &&value)
Definition Blueprint.h:212
AWS_BEDROCKDATAAUTOMATION_API Blueprint(Aws::Utils::Json::JsonView jsonValue)
void SetBlueprintStage(BlueprintStage value)
Definition Blueprint.h:154
Blueprint & WithOptimizationTime(OptimizationTimeT &&value)
Definition Blueprint.h:234
AWS_BEDROCKDATAAUTOMATION_API Blueprint()=default
void SetBlueprintName(BlueprintNameT &&value)
Definition Blueprint.h:123
Blueprint & WithSchema(SchemaT &&value)
Definition Blueprint.h:66
const Aws::Utils::DateTime & GetCreationTime() const
Definition Blueprint.h:88
Blueprint & AddKmsEncryptionContext(KmsEncryptionContextKeyT &&key, KmsEncryptionContextValueT &&value)
Definition Blueprint.h:195
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
Aws::Utils::Json::JsonValue JsonValue