AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InvokeDataAutomationAsyncRequest.h
1
6#pragma once
7#include <aws/bedrock-data-automation-runtime/BedrockDataAutomationRuntime_EXPORTS.h>
8#include <aws/bedrock-data-automation-runtime/BedrockDataAutomationRuntimeRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/bedrock-data-automation-runtime/model/InputConfiguration.h>
11#include <aws/bedrock-data-automation-runtime/model/OutputConfiguration.h>
12#include <aws/bedrock-data-automation-runtime/model/DataAutomationConfiguration.h>
13#include <aws/bedrock-data-automation-runtime/model/EncryptionConfiguration.h>
14#include <aws/bedrock-data-automation-runtime/model/NotificationConfiguration.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/bedrock-data-automation-runtime/model/Blueprint.h>
17#include <aws/bedrock-data-automation-runtime/model/Tag.h>
18#include <utility>
19#include <aws/core/utils/UUID.h>
20
21namespace Aws
22{
23namespace BedrockDataAutomationRuntime
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_BEDROCKDATAAUTOMATIONRUNTIME_API InvokeDataAutomationAsyncRequest() = default;
37
38 // Service request name is the Operation name which will send this request out,
39 // each operation should has unique request name, so that we can get operation's name from this request.
40 // Note: this is not true for response, multiple operations may have the same response name,
41 // so we can not get operation's name from response.
42 inline virtual const char* GetServiceRequestName() const override { return "InvokeDataAutomationAsync"; }
43
44 AWS_BEDROCKDATAAUTOMATIONRUNTIME_API Aws::String SerializePayload() const override;
45
46 AWS_BEDROCKDATAAUTOMATIONRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
47
48
50
53 inline const Aws::String& GetClientToken() const { return m_clientToken; }
54 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
55 template<typename ClientTokenT = Aws::String>
56 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
57 template<typename ClientTokenT = Aws::String>
58 InvokeDataAutomationAsyncRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
60
62
65 inline const InputConfiguration& GetInputConfiguration() const { return m_inputConfiguration; }
66 inline bool InputConfigurationHasBeenSet() const { return m_inputConfigurationHasBeenSet; }
67 template<typename InputConfigurationT = InputConfiguration>
68 void SetInputConfiguration(InputConfigurationT&& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = std::forward<InputConfigurationT>(value); }
69 template<typename InputConfigurationT = InputConfiguration>
70 InvokeDataAutomationAsyncRequest& WithInputConfiguration(InputConfigurationT&& value) { SetInputConfiguration(std::forward<InputConfigurationT>(value)); return *this;}
72
74
77 inline const OutputConfiguration& GetOutputConfiguration() const { return m_outputConfiguration; }
78 inline bool OutputConfigurationHasBeenSet() const { return m_outputConfigurationHasBeenSet; }
79 template<typename OutputConfigurationT = OutputConfiguration>
80 void SetOutputConfiguration(OutputConfigurationT&& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = std::forward<OutputConfigurationT>(value); }
81 template<typename OutputConfigurationT = OutputConfiguration>
82 InvokeDataAutomationAsyncRequest& WithOutputConfiguration(OutputConfigurationT&& value) { SetOutputConfiguration(std::forward<OutputConfigurationT>(value)); return *this;}
84
86
89 inline const DataAutomationConfiguration& GetDataAutomationConfiguration() const { return m_dataAutomationConfiguration; }
90 inline bool DataAutomationConfigurationHasBeenSet() const { return m_dataAutomationConfigurationHasBeenSet; }
91 template<typename DataAutomationConfigurationT = DataAutomationConfiguration>
92 void SetDataAutomationConfiguration(DataAutomationConfigurationT&& value) { m_dataAutomationConfigurationHasBeenSet = true; m_dataAutomationConfiguration = std::forward<DataAutomationConfigurationT>(value); }
93 template<typename DataAutomationConfigurationT = DataAutomationConfiguration>
94 InvokeDataAutomationAsyncRequest& WithDataAutomationConfiguration(DataAutomationConfigurationT&& value) { SetDataAutomationConfiguration(std::forward<DataAutomationConfigurationT>(value)); return *this;}
96
98
101 inline const EncryptionConfiguration& GetEncryptionConfiguration() const { return m_encryptionConfiguration; }
102 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
103 template<typename EncryptionConfigurationT = EncryptionConfiguration>
104 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
105 template<typename EncryptionConfigurationT = EncryptionConfiguration>
106 InvokeDataAutomationAsyncRequest& WithEncryptionConfiguration(EncryptionConfigurationT&& value) { SetEncryptionConfiguration(std::forward<EncryptionConfigurationT>(value)); return *this;}
108
110
113 inline const NotificationConfiguration& GetNotificationConfiguration() const { return m_notificationConfiguration; }
114 inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; }
115 template<typename NotificationConfigurationT = NotificationConfiguration>
116 void SetNotificationConfiguration(NotificationConfigurationT&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::forward<NotificationConfigurationT>(value); }
117 template<typename NotificationConfigurationT = NotificationConfiguration>
118 InvokeDataAutomationAsyncRequest& WithNotificationConfiguration(NotificationConfigurationT&& value) { SetNotificationConfiguration(std::forward<NotificationConfigurationT>(value)); return *this;}
120
122
125 inline const Aws::Vector<Blueprint>& GetBlueprints() const { return m_blueprints; }
126 inline bool BlueprintsHasBeenSet() const { return m_blueprintsHasBeenSet; }
127 template<typename BlueprintsT = Aws::Vector<Blueprint>>
128 void SetBlueprints(BlueprintsT&& value) { m_blueprintsHasBeenSet = true; m_blueprints = std::forward<BlueprintsT>(value); }
129 template<typename BlueprintsT = Aws::Vector<Blueprint>>
130 InvokeDataAutomationAsyncRequest& WithBlueprints(BlueprintsT&& value) { SetBlueprints(std::forward<BlueprintsT>(value)); return *this;}
131 template<typename BlueprintsT = Blueprint>
132 InvokeDataAutomationAsyncRequest& AddBlueprints(BlueprintsT&& value) { m_blueprintsHasBeenSet = true; m_blueprints.emplace_back(std::forward<BlueprintsT>(value)); return *this; }
134
136
139 inline const Aws::String& GetDataAutomationProfileArn() const { return m_dataAutomationProfileArn; }
140 inline bool DataAutomationProfileArnHasBeenSet() const { return m_dataAutomationProfileArnHasBeenSet; }
141 template<typename DataAutomationProfileArnT = Aws::String>
142 void SetDataAutomationProfileArn(DataAutomationProfileArnT&& value) { m_dataAutomationProfileArnHasBeenSet = true; m_dataAutomationProfileArn = std::forward<DataAutomationProfileArnT>(value); }
143 template<typename DataAutomationProfileArnT = Aws::String>
144 InvokeDataAutomationAsyncRequest& WithDataAutomationProfileArn(DataAutomationProfileArnT&& value) { SetDataAutomationProfileArn(std::forward<DataAutomationProfileArnT>(value)); return *this;}
146
148
151 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
152 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
153 template<typename TagsT = Aws::Vector<Tag>>
154 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
155 template<typename TagsT = Aws::Vector<Tag>>
156 InvokeDataAutomationAsyncRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
157 template<typename TagsT = Tag>
158 InvokeDataAutomationAsyncRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
160 private:
161
163 bool m_clientTokenHasBeenSet = true;
164
165 InputConfiguration m_inputConfiguration;
166 bool m_inputConfigurationHasBeenSet = false;
167
168 OutputConfiguration m_outputConfiguration;
169 bool m_outputConfigurationHasBeenSet = false;
170
171 DataAutomationConfiguration m_dataAutomationConfiguration;
172 bool m_dataAutomationConfigurationHasBeenSet = false;
173
174 EncryptionConfiguration m_encryptionConfiguration;
175 bool m_encryptionConfigurationHasBeenSet = false;
176
177 NotificationConfiguration m_notificationConfiguration;
178 bool m_notificationConfigurationHasBeenSet = false;
179
180 Aws::Vector<Blueprint> m_blueprints;
181 bool m_blueprintsHasBeenSet = false;
182
183 Aws::String m_dataAutomationProfileArn;
184 bool m_dataAutomationProfileArnHasBeenSet = false;
185
186 Aws::Vector<Tag> m_tags;
187 bool m_tagsHasBeenSet = false;
188 };
189
190} // namespace Model
191} // namespace BedrockDataAutomationRuntime
192} // namespace Aws
AWS_BEDROCKDATAAUTOMATIONRUNTIME_API Aws::String SerializePayload() const override
AWS_BEDROCKDATAAUTOMATIONRUNTIME_API InvokeDataAutomationAsyncRequest()=default
InvokeDataAutomationAsyncRequest & WithOutputConfiguration(OutputConfigurationT &&value)
InvokeDataAutomationAsyncRequest & WithDataAutomationConfiguration(DataAutomationConfigurationT &&value)
InvokeDataAutomationAsyncRequest & WithInputConfiguration(InputConfigurationT &&value)
InvokeDataAutomationAsyncRequest & WithNotificationConfiguration(NotificationConfigurationT &&value)
InvokeDataAutomationAsyncRequest & WithDataAutomationProfileArn(DataAutomationProfileArnT &&value)
AWS_BEDROCKDATAAUTOMATIONRUNTIME_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
InvokeDataAutomationAsyncRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector