AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateBlueprintRequest.h
1
6#pragma once
7#include <aws/bedrock-data-automation/BedrockDataAutomation_EXPORTS.h>
8#include <aws/bedrock-data-automation/BedrockDataAutomationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-data-automation/model/Type.h>
11#include <aws/bedrock-data-automation/model/BlueprintStage.h>
12#include <aws/bedrock-data-automation/model/EncryptionConfiguration.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/bedrock-data-automation/model/Tag.h>
15#include <utility>
16#include <aws/core/utils/UUID.h>
17
18namespace Aws
19{
20namespace BedrockDataAutomation
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_BEDROCKDATAAUTOMATION_API CreateBlueprintRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "CreateBlueprint"; }
40
41 AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override;
42
43
45
46 inline const Aws::String& GetBlueprintName() const { return m_blueprintName; }
47 inline bool BlueprintNameHasBeenSet() const { return m_blueprintNameHasBeenSet; }
48 template<typename BlueprintNameT = Aws::String>
49 void SetBlueprintName(BlueprintNameT&& value) { m_blueprintNameHasBeenSet = true; m_blueprintName = std::forward<BlueprintNameT>(value); }
50 template<typename BlueprintNameT = Aws::String>
51 CreateBlueprintRequest& WithBlueprintName(BlueprintNameT&& value) { SetBlueprintName(std::forward<BlueprintNameT>(value)); return *this;}
53
55
56 inline Type GetType() const { return m_type; }
57 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
58 inline void SetType(Type value) { m_typeHasBeenSet = true; m_type = value; }
59 inline CreateBlueprintRequest& WithType(Type value) { SetType(value); return *this;}
61
63
64 inline BlueprintStage GetBlueprintStage() const { return m_blueprintStage; }
65 inline bool BlueprintStageHasBeenSet() const { return m_blueprintStageHasBeenSet; }
66 inline void SetBlueprintStage(BlueprintStage value) { m_blueprintStageHasBeenSet = true; m_blueprintStage = value; }
69
71
72 inline const Aws::String& GetSchema() const { return m_schema; }
73 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
74 template<typename SchemaT = Aws::String>
75 void SetSchema(SchemaT&& value) { m_schemaHasBeenSet = true; m_schema = std::forward<SchemaT>(value); }
76 template<typename SchemaT = Aws::String>
77 CreateBlueprintRequest& WithSchema(SchemaT&& value) { SetSchema(std::forward<SchemaT>(value)); return *this;}
79
81
82 inline const Aws::String& GetClientToken() const { return m_clientToken; }
83 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
84 template<typename ClientTokenT = Aws::String>
85 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
86 template<typename ClientTokenT = Aws::String>
87 CreateBlueprintRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
89
91
92 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
93 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
94 template<typename EncryptionConfigurationT = EncryptionConfiguration>
95 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
96 template<typename EncryptionConfigurationT = EncryptionConfiguration>
97 CreateBlueprintRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
99
101
102 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
103 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
104 template<typename TagsT = Aws::Vector<Tag>>
105 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
106 template<typename TagsT = Aws::Vector<Tag>>
107 CreateBlueprintRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
108 template<typename TagsT = Tag>
109 CreateBlueprintRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
111 private:
112
113 Aws::String m_blueprintName;
114 bool m_blueprintNameHasBeenSet = false;
115
116 Type m_type{Type::NOT_SET};
117 bool m_typeHasBeenSet = false;
118
119 BlueprintStage m_blueprintStage{BlueprintStage::NOT_SET};
120 bool m_blueprintStageHasBeenSet = false;
121
122 Aws::String m_schema;
123 bool m_schemaHasBeenSet = false;
124
126 bool m_clientTokenHasBeenSet = true;
127
128 EncryptionConfiguration m_encryptionConfiguration;
129 bool m_encryptionConfigurationHasBeenSet = false;
130
131 Aws::Vector<Tag> m_tags;
132 bool m_tagsHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace BedrockDataAutomation
137} // 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