AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/FlowAliasRoutingConfigurationListItem.h>
12#include <utility>
13
14namespace Aws
15{
16namespace BedrockAgent
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_BEDROCKAGENT_API UpdateFlowAliasRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowAlias"; }
33
34 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetAliasIdentifier() const{ return m_aliasIdentifier; }
42 inline bool AliasIdentifierHasBeenSet() const { return m_aliasIdentifierHasBeenSet; }
43 inline void SetAliasIdentifier(const Aws::String& value) { m_aliasIdentifierHasBeenSet = true; m_aliasIdentifier = value; }
44 inline void SetAliasIdentifier(Aws::String&& value) { m_aliasIdentifierHasBeenSet = true; m_aliasIdentifier = std::move(value); }
45 inline void SetAliasIdentifier(const char* value) { m_aliasIdentifierHasBeenSet = true; m_aliasIdentifier.assign(value); }
46 inline UpdateFlowAliasRequest& WithAliasIdentifier(const Aws::String& value) { SetAliasIdentifier(value); return *this;}
47 inline UpdateFlowAliasRequest& WithAliasIdentifier(Aws::String&& value) { SetAliasIdentifier(std::move(value)); return *this;}
48 inline UpdateFlowAliasRequest& WithAliasIdentifier(const char* value) { SetAliasIdentifier(value); return *this;}
50
52
55 inline const Aws::String& GetDescription() const{ return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
60 inline UpdateFlowAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline UpdateFlowAliasRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline UpdateFlowAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
69 inline const Aws::String& GetFlowIdentifier() const{ return m_flowIdentifier; }
70 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
71 inline void SetFlowIdentifier(const Aws::String& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = value; }
72 inline void SetFlowIdentifier(Aws::String&& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = std::move(value); }
73 inline void SetFlowIdentifier(const char* value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier.assign(value); }
74 inline UpdateFlowAliasRequest& WithFlowIdentifier(const Aws::String& value) { SetFlowIdentifier(value); return *this;}
75 inline UpdateFlowAliasRequest& WithFlowIdentifier(Aws::String&& value) { SetFlowIdentifier(std::move(value)); return *this;}
76 inline UpdateFlowAliasRequest& WithFlowIdentifier(const char* value) { SetFlowIdentifier(value); return *this;}
78
80
83 inline const Aws::String& GetName() const{ return m_name; }
84 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
85 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
86 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
87 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
88 inline UpdateFlowAliasRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
89 inline UpdateFlowAliasRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
90 inline UpdateFlowAliasRequest& WithName(const char* value) { SetName(value); return *this;}
92
94
97 inline const Aws::Vector<FlowAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const{ return m_routingConfiguration; }
98 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
99 inline void SetRoutingConfiguration(const Aws::Vector<FlowAliasRoutingConfigurationListItem>& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = value; }
100 inline void SetRoutingConfiguration(Aws::Vector<FlowAliasRoutingConfigurationListItem>&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::move(value); }
103 inline UpdateFlowAliasRequest& AddRoutingConfiguration(const FlowAliasRoutingConfigurationListItem& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(value); return *this; }
104 inline UpdateFlowAliasRequest& AddRoutingConfiguration(FlowAliasRoutingConfigurationListItem&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(std::move(value)); return *this; }
106 private:
107
108 Aws::String m_aliasIdentifier;
109 bool m_aliasIdentifierHasBeenSet = false;
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113
114 Aws::String m_flowIdentifier;
115 bool m_flowIdentifierHasBeenSet = false;
116
117 Aws::String m_name;
118 bool m_nameHasBeenSet = false;
119
121 bool m_routingConfigurationHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace BedrockAgent
126} // namespace Aws
void SetRoutingConfiguration(const Aws::Vector< FlowAliasRoutingConfigurationListItem > &value)
UpdateFlowAliasRequest & AddRoutingConfiguration(const FlowAliasRoutingConfigurationListItem &value)
const Aws::Vector< FlowAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
UpdateFlowAliasRequest & WithName(const Aws::String &value)
UpdateFlowAliasRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
void SetRoutingConfiguration(Aws::Vector< FlowAliasRoutingConfigurationListItem > &&value)
UpdateFlowAliasRequest & WithDescription(Aws::String &&value)
UpdateFlowAliasRequest & WithName(const char *value)
UpdateFlowAliasRequest & WithAliasIdentifier(Aws::String &&value)
UpdateFlowAliasRequest & WithName(Aws::String &&value)
UpdateFlowAliasRequest & WithAliasIdentifier(const char *value)
UpdateFlowAliasRequest & WithRoutingConfiguration(Aws::Vector< FlowAliasRoutingConfigurationListItem > &&value)
UpdateFlowAliasRequest & WithFlowIdentifier(const char *value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateFlowAliasRequest & WithDescription(const Aws::String &value)
UpdateFlowAliasRequest & WithRoutingConfiguration(const Aws::Vector< FlowAliasRoutingConfigurationListItem > &value)
UpdateFlowAliasRequest & AddRoutingConfiguration(FlowAliasRoutingConfigurationListItem &&value)
UpdateFlowAliasRequest & WithFlowIdentifier(Aws::String &&value)
UpdateFlowAliasRequest & WithAliasIdentifier(const Aws::String &value)
UpdateFlowAliasRequest & WithFlowIdentifier(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector