AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UpdateFlowAliasRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgentRequest.h>
8#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
9#include <aws/bedrock-agent/model/FlowAliasConcurrencyConfiguration.h>
10#include <aws/bedrock-agent/model/FlowAliasRoutingConfigurationListItem.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13
14#include <utility>
15
16namespace Aws {
17namespace BedrockAgent {
18namespace Model {
19
23 public:
24 AWS_BEDROCKAGENT_API UpdateFlowAliasRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowAlias"; }
31
32 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template <typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) {
60 m_descriptionHasBeenSet = true;
61 m_description = std::forward<DescriptionT>(value);
62 }
63 template <typename DescriptionT = Aws::String>
64 UpdateFlowAliasRequest& WithDescription(DescriptionT&& value) {
65 SetDescription(std::forward<DescriptionT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
75 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
76 template <typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
77 void SetRoutingConfiguration(RoutingConfigurationT&& value) {
78 m_routingConfigurationHasBeenSet = true;
79 m_routingConfiguration = std::forward<RoutingConfigurationT>(value);
80 }
81 template <typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
82 UpdateFlowAliasRequest& WithRoutingConfiguration(RoutingConfigurationT&& value) {
83 SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value));
84 return *this;
85 }
86 template <typename RoutingConfigurationT = FlowAliasRoutingConfigurationListItem>
87 UpdateFlowAliasRequest& AddRoutingConfiguration(RoutingConfigurationT&& value) {
88 m_routingConfigurationHasBeenSet = true;
89 m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value));
90 return *this;
91 }
93
95
99 inline const FlowAliasConcurrencyConfiguration& GetConcurrencyConfiguration() const { return m_concurrencyConfiguration; }
100 inline bool ConcurrencyConfigurationHasBeenSet() const { return m_concurrencyConfigurationHasBeenSet; }
101 template <typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
102 void SetConcurrencyConfiguration(ConcurrencyConfigurationT&& value) {
103 m_concurrencyConfigurationHasBeenSet = true;
104 m_concurrencyConfiguration = std::forward<ConcurrencyConfigurationT>(value);
105 }
106 template <typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
107 UpdateFlowAliasRequest& WithConcurrencyConfiguration(ConcurrencyConfigurationT&& value) {
108 SetConcurrencyConfiguration(std::forward<ConcurrencyConfigurationT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetFlowIdentifier() const { return m_flowIdentifier; }
118 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
119 template <typename FlowIdentifierT = Aws::String>
120 void SetFlowIdentifier(FlowIdentifierT&& value) {
121 m_flowIdentifierHasBeenSet = true;
122 m_flowIdentifier = std::forward<FlowIdentifierT>(value);
123 }
124 template <typename FlowIdentifierT = Aws::String>
125 UpdateFlowAliasRequest& WithFlowIdentifier(FlowIdentifierT&& value) {
126 SetFlowIdentifier(std::forward<FlowIdentifierT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetAliasIdentifier() const { return m_aliasIdentifier; }
136 inline bool AliasIdentifierHasBeenSet() const { return m_aliasIdentifierHasBeenSet; }
137 template <typename AliasIdentifierT = Aws::String>
138 void SetAliasIdentifier(AliasIdentifierT&& value) {
139 m_aliasIdentifierHasBeenSet = true;
140 m_aliasIdentifier = std::forward<AliasIdentifierT>(value);
141 }
142 template <typename AliasIdentifierT = Aws::String>
143 UpdateFlowAliasRequest& WithAliasIdentifier(AliasIdentifierT&& value) {
144 SetAliasIdentifier(std::forward<AliasIdentifierT>(value));
145 return *this;
146 }
148 private:
149 Aws::String m_name;
150
151 Aws::String m_description;
152
154
155 FlowAliasConcurrencyConfiguration m_concurrencyConfiguration;
156
157 Aws::String m_flowIdentifier;
158
159 Aws::String m_aliasIdentifier;
160 bool m_nameHasBeenSet = false;
161 bool m_descriptionHasBeenSet = false;
162 bool m_routingConfigurationHasBeenSet = false;
163 bool m_concurrencyConfigurationHasBeenSet = false;
164 bool m_flowIdentifierHasBeenSet = false;
165 bool m_aliasIdentifierHasBeenSet = false;
166};
167
168} // namespace Model
169} // namespace BedrockAgent
170} // namespace Aws
UpdateFlowAliasRequest & WithDescription(DescriptionT &&value)
const FlowAliasConcurrencyConfiguration & GetConcurrencyConfiguration() const
void SetConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
const Aws::Vector< FlowAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
virtual const char * GetServiceRequestName() const override
AWS_BEDROCKAGENT_API UpdateFlowAliasRequest()=default
UpdateFlowAliasRequest & WithFlowIdentifier(FlowIdentifierT &&value)
void SetRoutingConfiguration(RoutingConfigurationT &&value)
UpdateFlowAliasRequest & WithAliasIdentifier(AliasIdentifierT &&value)
UpdateFlowAliasRequest & WithConcurrencyConfiguration(ConcurrencyConfigurationT &&value)
UpdateFlowAliasRequest & WithRoutingConfiguration(RoutingConfigurationT &&value)
UpdateFlowAliasRequest & AddRoutingConfiguration(RoutingConfigurationT &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateFlowAliasRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector