AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateBlueprintRequest.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomationRequest.h>
8#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
9#include <aws/bedrock-data-automation/model/BlueprintStage.h>
10#include <aws/bedrock-data-automation/model/EncryptionConfiguration.h>
11#include <aws/bedrock-data-automation/model/Tag.h>
12#include <aws/bedrock-data-automation/model/Type.h>
13#include <aws/core/utils/UUID.h>
14#include <aws/core/utils/memory/stl/AWSString.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16
17#include <utility>
18
19namespace Aws {
20namespace BedrockDataAutomation {
21namespace Model {
22
29 public:
30 AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateBlueprint"; }
37
38 AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override;
39
41
42 inline const Aws::String& GetBlueprintName() const { return m_blueprintName; }
43 inline bool BlueprintNameHasBeenSet() const { return m_blueprintNameHasBeenSet; }
44 template <typename BlueprintNameT = Aws::String>
45 void SetBlueprintName(BlueprintNameT&& value) {
46 m_blueprintNameHasBeenSet = true;
47 m_blueprintName = std::forward<BlueprintNameT>(value);
48 }
49 template <typename BlueprintNameT = Aws::String>
50 CreateBlueprintRequest& WithBlueprintName(BlueprintNameT&& value) {
51 SetBlueprintName(std::forward<BlueprintNameT>(value));
52 return *this;
53 }
55
57
58 inline Type GetType() const { return m_type; }
59 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
60 inline void SetType(Type value) {
61 m_typeHasBeenSet = true;
62 m_type = value;
63 }
65 SetType(value);
66 return *this;
67 }
69
71
72 inline BlueprintStage GetBlueprintStage() const { return m_blueprintStage; }
73 inline bool BlueprintStageHasBeenSet() const { return m_blueprintStageHasBeenSet; }
74 inline void SetBlueprintStage(BlueprintStage value) {
75 m_blueprintStageHasBeenSet = true;
76 m_blueprintStage = value;
77 }
79 SetBlueprintStage(value);
80 return *this;
81 }
83
85
86 inline const Aws::String& GetSchema() const { return m_schema; }
87 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
88 template <typename SchemaT = Aws::String>
89 void SetSchema(SchemaT&& value) {
90 m_schemaHasBeenSet = true;
91 m_schema = std::forward<SchemaT>(value);
92 }
93 template <typename SchemaT = Aws::String>
95 SetSchema(std::forward<SchemaT>(value));
96 return *this;
97 }
99
101
102 inline const Aws::String& GetClientToken() const { return m_clientToken; }
103 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
104 template <typename ClientTokenT = Aws::String>
105 void SetClientToken(ClientTokenT&& value) {
106 m_clientTokenHasBeenSet = true;
107 m_clientToken = std::forward<ClientTokenT>(value);
108 }
109 template <typename ClientTokenT = Aws::String>
111 SetClientToken(std::forward<ClientTokenT>(value));
112 return *this;
113 }
115
117
118 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
119 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
120 template <typename EncryptionConfigurationT = EncryptionConfiguration>
121 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
122 m_encryptionConfigurationHasBeenSet = true;
123 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
124 }
125 template <typename EncryptionConfigurationT = EncryptionConfiguration>
126 CreateBlueprintRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) {
127 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
128 return *this;
129 }
131
133
134 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
135 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
136 template <typename TagsT = Aws::Vector<Tag>>
137 void SetTags(TagsT&& value) {
138 m_tagsHasBeenSet = true;
139 m_tags = std::forward<TagsT>(value);
140 }
141 template <typename TagsT = Aws::Vector<Tag>>
143 SetTags(std::forward<TagsT>(value));
144 return *this;
145 }
146 template <typename TagsT = Tag>
148 m_tagsHasBeenSet = true;
149 m_tags.emplace_back(std::forward<TagsT>(value));
150 return *this;
151 }
153 private:
154 Aws::String m_blueprintName;
155
156 Type m_type{Type::NOT_SET};
157
158 BlueprintStage m_blueprintStage{BlueprintStage::NOT_SET};
159
160 Aws::String m_schema;
161
163
164 EncryptionConfiguration m_encryptionConfiguration;
165
166 Aws::Vector<Tag> m_tags;
167 bool m_blueprintNameHasBeenSet = false;
168 bool m_typeHasBeenSet = false;
169 bool m_blueprintStageHasBeenSet = false;
170 bool m_schemaHasBeenSet = false;
171 bool m_clientTokenHasBeenSet = true;
172 bool m_encryptionConfigurationHasBeenSet = false;
173 bool m_tagsHasBeenSet = false;
174};
175
176} // namespace Model
177} // namespace BedrockDataAutomation
178} // namespace Aws
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
CreateBlueprintRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override
CreateBlueprintRequest & WithClientToken(ClientTokenT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
CreateBlueprintRequest & WithBlueprintStage(BlueprintStage value)
AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintRequest()=default
CreateBlueprintRequest & WithBlueprintName(BlueprintNameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector