AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/bedrock-agent/model/FlowAliasConcurrencyConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSVector.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& GetAliasIdentifier() const { return m_aliasIdentifier; }
43 inline bool AliasIdentifierHasBeenSet() const { return m_aliasIdentifierHasBeenSet; }
44 template<typename AliasIdentifierT = Aws::String>
45 void SetAliasIdentifier(AliasIdentifierT&& value) { m_aliasIdentifierHasBeenSet = true; m_aliasIdentifier = std::forward<AliasIdentifierT>(value); }
46 template<typename AliasIdentifierT = Aws::String>
47 UpdateFlowAliasRequest& WithAliasIdentifier(AliasIdentifierT&& value) { SetAliasIdentifier(std::forward<AliasIdentifierT>(value)); return *this;}
49
51
55 inline const FlowAliasConcurrencyConfiguration& GetConcurrencyConfiguration() const { return m_concurrencyConfiguration; }
56 inline bool ConcurrencyConfigurationHasBeenSet() const { return m_concurrencyConfigurationHasBeenSet; }
57 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
58 void SetConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { m_concurrencyConfigurationHasBeenSet = true; m_concurrencyConfiguration = std::forward<ConcurrencyConfigurationT>(value); }
59 template<typename ConcurrencyConfigurationT = FlowAliasConcurrencyConfiguration>
60 UpdateFlowAliasRequest& WithConcurrencyConfiguration(ConcurrencyConfigurationT&& value) { SetConcurrencyConfiguration(std::forward<ConcurrencyConfigurationT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDescription() const { return m_description; }
68 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
69 template<typename DescriptionT = Aws::String>
70 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
71 template<typename DescriptionT = Aws::String>
72 UpdateFlowAliasRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
74
76
79 inline const Aws::String& GetFlowIdentifier() const { return m_flowIdentifier; }
80 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
81 template<typename FlowIdentifierT = Aws::String>
82 void SetFlowIdentifier(FlowIdentifierT&& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = std::forward<FlowIdentifierT>(value); }
83 template<typename FlowIdentifierT = Aws::String>
84 UpdateFlowAliasRequest& WithFlowIdentifier(FlowIdentifierT&& value) { SetFlowIdentifier(std::forward<FlowIdentifierT>(value)); return *this;}
86
88
91 inline const Aws::String& GetName() const { return m_name; }
92 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
93 template<typename NameT = Aws::String>
94 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
95 template<typename NameT = Aws::String>
96 UpdateFlowAliasRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
98
100
103 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const { return m_routingConfiguration; }
104 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
105 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
106 void SetRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::forward<RoutingConfigurationT>(value); }
107 template<typename RoutingConfigurationT = Aws::Vector<FlowAliasRoutingConfigurationListItem>>
108 UpdateFlowAliasRequest& WithRoutingConfiguration(RoutingConfigurationT&& value) { SetRoutingConfiguration(std::forward<RoutingConfigurationT>(value)); return *this;}
109 template<typename RoutingConfigurationT = FlowAliasRoutingConfigurationListItem>
110 UpdateFlowAliasRequest& AddRoutingConfiguration(RoutingConfigurationT&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.emplace_back(std::forward<RoutingConfigurationT>(value)); return *this; }
112 private:
113
114 Aws::String m_aliasIdentifier;
115 bool m_aliasIdentifierHasBeenSet = false;
116
117 FlowAliasConcurrencyConfiguration m_concurrencyConfiguration;
118 bool m_concurrencyConfigurationHasBeenSet = false;
119
120 Aws::String m_description;
121 bool m_descriptionHasBeenSet = false;
122
123 Aws::String m_flowIdentifier;
124 bool m_flowIdentifierHasBeenSet = false;
125
126 Aws::String m_name;
127 bool m_nameHasBeenSet = false;
128
130 bool m_routingConfigurationHasBeenSet = 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