AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
InvokeBlueprintOptimizationAsyncRequest.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/BlueprintOptimizationObject.h>
10#include <aws/bedrock-data-automation/model/BlueprintOptimizationOutputConfiguration.h>
11#include <aws/bedrock-data-automation/model/BlueprintOptimizationSample.h>
12#include <aws/bedrock-data-automation/model/EncryptionConfiguration.h>
13#include <aws/bedrock-data-automation/model/Tag.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 InvokeBlueprintOptimizationAsyncRequest() = 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 "InvokeBlueprintOptimizationAsync"; }
37
38 AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override;
39
41
44 inline const BlueprintOptimizationObject& GetBlueprint() const { return m_blueprint; }
45 inline bool BlueprintHasBeenSet() const { return m_blueprintHasBeenSet; }
46 template <typename BlueprintT = BlueprintOptimizationObject>
47 void SetBlueprint(BlueprintT&& value) {
48 m_blueprintHasBeenSet = true;
49 m_blueprint = std::forward<BlueprintT>(value);
50 }
51 template <typename BlueprintT = BlueprintOptimizationObject>
53 SetBlueprint(std::forward<BlueprintT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::Vector<BlueprintOptimizationSample>& GetSamples() const { return m_samples; }
63 inline bool SamplesHasBeenSet() const { return m_samplesHasBeenSet; }
64 template <typename SamplesT = Aws::Vector<BlueprintOptimizationSample>>
65 void SetSamples(SamplesT&& value) {
66 m_samplesHasBeenSet = true;
67 m_samples = std::forward<SamplesT>(value);
68 }
69 template <typename SamplesT = Aws::Vector<BlueprintOptimizationSample>>
71 SetSamples(std::forward<SamplesT>(value));
72 return *this;
73 }
74 template <typename SamplesT = BlueprintOptimizationSample>
76 m_samplesHasBeenSet = true;
77 m_samples.emplace_back(std::forward<SamplesT>(value));
78 return *this;
79 }
81
83
86 inline const BlueprintOptimizationOutputConfiguration& GetOutputConfiguration() const { return m_outputConfiguration; }
87 inline bool OutputConfigurationHasBeenSet() const { return m_outputConfigurationHasBeenSet; }
88 template <typename OutputConfigurationT = BlueprintOptimizationOutputConfiguration>
89 void SetOutputConfiguration(OutputConfigurationT&& value) {
90 m_outputConfigurationHasBeenSet = true;
91 m_outputConfiguration = std::forward<OutputConfigurationT>(value);
92 }
93 template <typename OutputConfigurationT = BlueprintOptimizationOutputConfiguration>
95 SetOutputConfiguration(std::forward<OutputConfigurationT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetDataAutomationProfileArn() const { return m_dataAutomationProfileArn; }
105 inline bool DataAutomationProfileArnHasBeenSet() const { return m_dataAutomationProfileArnHasBeenSet; }
106 template <typename DataAutomationProfileArnT = Aws::String>
107 void SetDataAutomationProfileArn(DataAutomationProfileArnT&& value) {
108 m_dataAutomationProfileArnHasBeenSet = true;
109 m_dataAutomationProfileArn = std::forward<DataAutomationProfileArnT>(value);
110 }
111 template <typename DataAutomationProfileArnT = Aws::String>
113 SetDataAutomationProfileArn(std::forward<DataAutomationProfileArnT>(value));
114 return *this;
115 }
117
119
122 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
123 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
124 template <typename EncryptionConfigurationT = EncryptionConfiguration>
125 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) {
126 m_encryptionConfigurationHasBeenSet = true;
127 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
128 }
129 template <typename EncryptionConfigurationT = EncryptionConfiguration>
131 SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
141 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
142 template <typename TagsT = Aws::Vector<Tag>>
143 void SetTags(TagsT&& value) {
144 m_tagsHasBeenSet = true;
145 m_tags = std::forward<TagsT>(value);
146 }
147 template <typename TagsT = Aws::Vector<Tag>>
149 SetTags(std::forward<TagsT>(value));
150 return *this;
151 }
152 template <typename TagsT = Tag>
154 m_tagsHasBeenSet = true;
155 m_tags.emplace_back(std::forward<TagsT>(value));
156 return *this;
157 }
159 private:
160 BlueprintOptimizationObject m_blueprint;
161
163
164 BlueprintOptimizationOutputConfiguration m_outputConfiguration;
165
166 Aws::String m_dataAutomationProfileArn;
167
168 EncryptionConfiguration m_encryptionConfiguration;
169
170 Aws::Vector<Tag> m_tags;
171 bool m_blueprintHasBeenSet = false;
172 bool m_samplesHasBeenSet = false;
173 bool m_outputConfigurationHasBeenSet = false;
174 bool m_dataAutomationProfileArnHasBeenSet = false;
175 bool m_encryptionConfigurationHasBeenSet = false;
176 bool m_tagsHasBeenSet = false;
177};
178
179} // namespace Model
180} // namespace BedrockDataAutomation
181} // namespace Aws
AWS_BEDROCKDATAAUTOMATION_API Aws::String SerializePayload() const override
AWS_BEDROCKDATAAUTOMATION_API InvokeBlueprintOptimizationAsyncRequest()=default
InvokeBlueprintOptimizationAsyncRequest & WithOutputConfiguration(OutputConfigurationT &&value)
InvokeBlueprintOptimizationAsyncRequest & WithDataAutomationProfileArn(DataAutomationProfileArnT &&value)
InvokeBlueprintOptimizationAsyncRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector