AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Blueprint.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/bedrock-data-automation/model/Type.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/bedrock-data-automation/model/BlueprintStage.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace BedrockDataAutomation
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_BEDROCKDATAAUTOMATION_API Blueprint() = default;
39 AWS_BEDROCKDATAAUTOMATION_API Blueprint(Aws::Utils::Json::JsonView jsonValue);
40 AWS_BEDROCKDATAAUTOMATION_API Blueprint& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
46 inline const Aws::String& GetBlueprintArn() const { return m_blueprintArn; }
47 inline bool BlueprintArnHasBeenSet() const { return m_blueprintArnHasBeenSet; }
48 template<typename BlueprintArnT = Aws::String>
49 void SetBlueprintArn(BlueprintArnT&& value) { m_blueprintArnHasBeenSet = true; m_blueprintArn = std::forward<BlueprintArnT>(value); }
50 template<typename BlueprintArnT = Aws::String>
51 Blueprint& WithBlueprintArn(BlueprintArnT&& value) { SetBlueprintArn(std::forward<BlueprintArnT>(value)); return *this;}
53
55
56 inline const Aws::String& GetSchema() const { return m_schema; }
57 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
58 template<typename SchemaT = Aws::String>
59 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
60 template<typename SchemaT = Aws::String>
61 Blueprint& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
63
65
66 inline Type GetType() const { return m_type; }
67 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
68 inline void SetType(Type value) { m_typeHasBeenSet = true; m_type = value; }
69 inline Blueprint& WithType(Type value) { SetType(value); return *this;}
71
73
74 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
75 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
76 template<typename CreationTimeT = Aws::Utils::DateTime>
77 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
78 template<typename CreationTimeT = Aws::Utils::DateTime>
79 Blueprint& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
81
83
84 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
85 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
86 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
87 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
88 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
89 Blueprint& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
91
93
94 inline const Aws::String& GetBlueprintName() const { return m_blueprintName; }
95 inline bool BlueprintNameHasBeenSet() const { return m_blueprintNameHasBeenSet; }
96 template<typename BlueprintNameT = Aws::String>
97 void SetBlueprintName(BlueprintNameT&& value) { m_blueprintNameHasBeenSet = true; m_blueprintName = std::forward<BlueprintNameT>(value); }
98 template<typename BlueprintNameT = Aws::String>
99 Blueprint& WithBlueprintName(BlueprintNameT&& value) { SetBlueprintName(std::forward<BlueprintNameT>(value)); return *this;}
101
103
104 inline const Aws::String& GetBlueprintVersion() const { return m_blueprintVersion; }
105 inline bool BlueprintVersionHasBeenSet() const { return m_blueprintVersionHasBeenSet; }
106 template<typename BlueprintVersionT = Aws::String>
107 void SetBlueprintVersion(BlueprintVersionT&& value) { m_blueprintVersionHasBeenSet = true; m_blueprintVersion = std::forward<BlueprintVersionT>(value); }
108 template<typename BlueprintVersionT = Aws::String>
109 Blueprint& WithBlueprintVersion(BlueprintVersionT&& value) { SetBlueprintVersion(std::forward<BlueprintVersionT>(value)); return *this;}
111
113
114 inline BlueprintStage GetBlueprintStage() const { return m_blueprintStage; }
115 inline bool BlueprintStageHasBeenSet() const { return m_blueprintStageHasBeenSet; }
116 inline void SetBlueprintStage(BlueprintStage value) { m_blueprintStageHasBeenSet = true; m_blueprintStage = value; }
117 inline Blueprint& WithBlueprintStage(BlueprintStage value) { SetBlueprintStage(value); return *this;}
119
121
122 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
123 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
124 template<typename KmsKeyIdT = Aws::String>
125 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
126 template<typename KmsKeyIdT = Aws::String>
127 Blueprint& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
129
131
132 inline const Aws::Map<Aws::String, Aws::String>& GetKmsEncryptionContext() const { return m_kmsEncryptionContext; }
133 inline bool KmsEncryptionContextHasBeenSet() const { return m_kmsEncryptionContextHasBeenSet; }
134 template<typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
135 void SetKmsEncryptionContext(KmsEncryptionContextT&& value) { m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext = std::forward<KmsEncryptionContextT>(value); }
136 template<typename KmsEncryptionContextT = Aws::Map<Aws::String, Aws::String>>
137 Blueprint& WithKmsEncryptionContext(KmsEncryptionContextT&& value) { SetKmsEncryptionContext(std::forward<KmsEncryptionContextT>(value)); return *this;}
138 template<typename KmsEncryptionContextKeyT = Aws::String, typename KmsEncryptionContextValueT = Aws::String>
139 Blueprint& AddKmsEncryptionContext(KmsEncryptionContextKeyT&& key, KmsEncryptionContextValueT&& value) {
140 m_kmsEncryptionContextHasBeenSet = true; m_kmsEncryptionContext.emplace(std::forward<KmsEncryptionContextKeyT>(key), std::forward<KmsEncryptionContextValueT>(value)); return *this;
141 }
143 private:
144
145 Aws::String m_blueprintArn;
146 bool m_blueprintArnHasBeenSet = false;
147
148 Aws::String m_schema;
149 bool m_schemaHasBeenSet = false;
150
151 Type m_type{Type::NOT_SET};
152 bool m_typeHasBeenSet = false;
153
154 Aws::Utils::DateTime m_creationTime{};
155 bool m_creationTimeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastModifiedTime{};
158 bool m_lastModifiedTimeHasBeenSet = false;
159
160 Aws::String m_blueprintName;
161 bool m_blueprintNameHasBeenSet = false;
162
163 Aws::String m_blueprintVersion;
164 bool m_blueprintVersionHasBeenSet = false;
165
166 BlueprintStage m_blueprintStage{BlueprintStage::NOT_SET};
167 bool m_blueprintStageHasBeenSet = false;
168
169 Aws::String m_kmsKeyId;
170 bool m_kmsKeyIdHasBeenSet = false;
171
172 Aws::Map<Aws::String, Aws::String> m_kmsEncryptionContext;
173 bool m_kmsEncryptionContextHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace BedrockDataAutomation
178} // namespace Aws
Blueprint & WithLastModifiedTime(LastModifiedTimeT &&value)
Definition Blueprint.h:89
const Aws::String & GetKmsKeyId() const
Definition Blueprint.h:122
void SetCreationTime(CreationTimeT &&value)
Definition Blueprint.h:77
AWS_BEDROCKDATAAUTOMATION_API Aws::Utils::Json::JsonValue Jsonize() const
Blueprint & WithBlueprintStage(BlueprintStage value)
Definition Blueprint.h:117
const Aws::String & GetBlueprintArn() const
Definition Blueprint.h:46
const Aws::Utils::DateTime & GetLastModifiedTime() const
Definition Blueprint.h:84
void SetBlueprintArn(BlueprintArnT &&value)
Definition Blueprint.h:49
Blueprint & WithBlueprintArn(BlueprintArnT &&value)
Definition Blueprint.h:51
Blueprint & WithBlueprintVersion(BlueprintVersionT &&value)
Definition Blueprint.h:109
Blueprint & WithKmsEncryptionContext(KmsEncryptionContextT &&value)
Definition Blueprint.h:137
const Aws::String & GetBlueprintVersion() const
Definition Blueprint.h:104
void SetLastModifiedTime(LastModifiedTimeT &&value)
Definition Blueprint.h:87
void SetBlueprintVersion(BlueprintVersionT &&value)
Definition Blueprint.h:107
const Aws::Map< Aws::String, Aws::String > & GetKmsEncryptionContext() const
Definition Blueprint.h:132
void SetKmsEncryptionContext(KmsEncryptionContextT &&value)
Definition Blueprint.h:135
Blueprint & WithKmsKeyId(KmsKeyIdT &&value)
Definition Blueprint.h:127
const Aws::String & GetBlueprintName() const
Definition Blueprint.h:94
AWS_BEDROCKDATAAUTOMATION_API Blueprint & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSchema() const
Definition Blueprint.h:56
Blueprint & WithCreationTime(CreationTimeT &&value)
Definition Blueprint.h:79
Blueprint & WithBlueprintName(BlueprintNameT &&value)
Definition Blueprint.h:99
AWS_BEDROCKDATAAUTOMATION_API Blueprint(Aws::Utils::Json::JsonView jsonValue)
void SetBlueprintStage(BlueprintStage value)
Definition Blueprint.h:116
AWS_BEDROCKDATAAUTOMATION_API Blueprint()=default
void SetBlueprintName(BlueprintNameT &&value)
Definition Blueprint.h:97
Blueprint & WithSchema(SchemaT &&value)
Definition Blueprint.h:61
const Aws::Utils::DateTime & GetCreationTime() const
Definition Blueprint.h:74
Blueprint & AddKmsEncryptionContext(KmsEncryptionContextKeyT &&key, KmsEncryptionContextValueT &&value)
Definition Blueprint.h:139
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