AWS SDK for C++

AWS SDK for C++ Version 1.11.633

Loading...
Searching...
No Matches
UpdateFlowAliasRequest.h
1
6#pragma once
7#include <aws/bedrock-agent/BedrockAgent_EXPORTS.h>
8#include <aws/bedrock-agent/BedrockAgentRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/bedrock-agent/model/FlowAliasConcurrencyConfiguration.h>
12#include <aws/bedrock-agent/model/FlowAliasRoutingConfigurationListItem.h>
13#include <utility>
14
15namespace Aws
16{
17namespace BedrockAgent
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_BEDROCKAGENT_API UpdateFlowAliasRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowAlias"; }
34
35 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 UpdateFlowAliasRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
56 template<typename DescriptionT = Aws::String>
57 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
58 template<typename DescriptionT = Aws::String>
59 UpdateFlowAliasRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
61
63
66 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
67 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
68 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
69 void SetRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::forward<RoutingConfigurationT>(value); }
70 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
71 UpdateFlowAliasRequest& WithRoutingConfiguration(RoutingConfigurationT&& value) { SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value)); return *this;}
72 template<typename RoutingConfigurationT = FlowAliasRoutingConfigurationListItem>
73 UpdateFlowAliasRequest& AddRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value)); return *this; }
75
77
81 inline const FlowAliasConcurrencyConfiguration& GetConcurrencyConfiguration() const { return m_concurrencyConfiguration; }
82 inline bool ConcurrencyConfigurationHasBeenSet() const { return m_concurrencyConfigurationHasBeenSet; }
83 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
84 void SetConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { m_concurrencyConfigurationHasBeenSet = true; m_concurrencyConfiguration = std::forward<ConcurrencyConfigurationT>(value); }
85 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
86 UpdateFlowAliasRequest& WithConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { SetConcurrencyConfiguration(std::forward<ConcurrencyConfigurationT>(value)); return *this;}
88
90
93 inline const Aws::String& GetFlowIdentifier() const { return m_flowIdentifier; }
94 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
95 template<typename FlowIdentifierT = Aws::String>
96 void SetFlowIdentifier(FlowIdentifierT&& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = std::forward<FlowIdentifierT>(value); }
97 template<typename FlowIdentifierT = Aws::String>
98 UpdateFlowAliasRequest& WithFlowIdentifier(FlowIdentifierT&& value) { SetFlowIdentifier(std::forward<FlowIdentifierT>(value)); return *this;}
100
102
105 inline const Aws::String& GetAliasIdentifier() const { return m_aliasIdentifier; }
106 inline bool AliasIdentifierHasBeenSet() const { return m_aliasIdentifierHasBeenSet; }
107 template<typename AliasIdentifierT = Aws::String>
108 void SetAliasIdentifier(AliasIdentifierT&& value) { m_aliasIdentifierHasBeenSet = true; m_aliasIdentifier = std::forward<AliasIdentifierT>(value); }
109 template<typename AliasIdentifierT = Aws::String>
110 UpdateFlowAliasRequest& WithAliasIdentifier(AliasIdentifierT&& value) { SetAliasIdentifier(std::forward<AliasIdentifierT>(value)); return *this;}
112 private:
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
121 bool m_routingConfigurationHasBeenSet = false;
122
123 FlowAliasConcurrencyConfiguration m_concurrencyConfiguration;
124 bool m_concurrencyConfigurationHasBeenSet = false;
125
126 Aws::String m_flowIdentifier;
127 bool m_flowIdentifierHasBeenSet = false;
128
129 Aws::String m_aliasIdentifier;
130 bool m_aliasIdentifierHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace BedrockAgent
135} // 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