AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFlowAliasRequest.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/core/utils/memory/stl/AWSMap.h>
12#include <aws/bedrock-agent/model/FlowAliasRoutingConfigurationListItem.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace BedrockAgent
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_BEDROCKAGENT_API CreateFlowAliasRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateFlowAlias"; }
35
36 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
37
38
40
47 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
48 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
49 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
50 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
51 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
52 inline CreateFlowAliasRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
53 inline CreateFlowAliasRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
54 inline CreateFlowAliasRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
56
58
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline CreateFlowAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline CreateFlowAliasRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline CreateFlowAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
75 inline const Aws::String& GetFlowIdentifier() const{ return m_flowIdentifier; }
76 inline bool FlowIdentifierHasBeenSet() const { return m_flowIdentifierHasBeenSet; }
77 inline void SetFlowIdentifier(const Aws::String& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = value; }
78 inline void SetFlowIdentifier(Aws::String&& value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier = std::move(value); }
79 inline void SetFlowIdentifier(const char* value) { m_flowIdentifierHasBeenSet = true; m_flowIdentifier.assign(value); }
80 inline CreateFlowAliasRequest& WithFlowIdentifier(const Aws::String& value) { SetFlowIdentifier(value); return *this;}
81 inline CreateFlowAliasRequest& WithFlowIdentifier(Aws::String&& value) { SetFlowIdentifier(std::move(value)); return *this;}
82 inline CreateFlowAliasRequest& WithFlowIdentifier(const char* value) { SetFlowIdentifier(value); return *this;}
84
86
89 inline const Aws::String& GetName() const{ return m_name; }
90 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
91 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
92 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
93 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
94 inline CreateFlowAliasRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
95 inline CreateFlowAliasRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
96 inline CreateFlowAliasRequest& WithName(const char* value) { SetName(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 inline void SetRoutingConfiguration(const Aws::Vector<FlowAliasRoutingConfigurationListItem>& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = value; }
106 inline void SetRoutingConfiguration(Aws::Vector<FlowAliasRoutingConfigurationListItem>&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::move(value); }
109 inline CreateFlowAliasRequest& AddRoutingConfiguration(const FlowAliasRoutingConfigurationListItem& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(value); return *this; }
110 inline CreateFlowAliasRequest& AddRoutingConfiguration(FlowAliasRoutingConfigurationListItem&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(std::move(value)); return *this; }
112
114
120 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
121 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
122 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
123 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
124 inline CreateFlowAliasRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
125 inline CreateFlowAliasRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
126 inline CreateFlowAliasRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
127 inline CreateFlowAliasRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
128 inline CreateFlowAliasRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
129 inline CreateFlowAliasRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
130 inline CreateFlowAliasRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
131 inline CreateFlowAliasRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
132 inline CreateFlowAliasRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
134 private:
135
136 Aws::String m_clientToken;
137 bool m_clientTokenHasBeenSet = false;
138
139 Aws::String m_description;
140 bool m_descriptionHasBeenSet = false;
141
142 Aws::String m_flowIdentifier;
143 bool m_flowIdentifierHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
149 bool m_routingConfigurationHasBeenSet = false;
150
152 bool m_tagsHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace BedrockAgent
157} // namespace Aws
CreateFlowAliasRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateFlowAliasRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateFlowAliasRequest & AddTags(Aws::String &&key, const char *value)
CreateFlowAliasRequest & WithName(const Aws::String &value)
CreateFlowAliasRequest & WithDescription(Aws::String &&value)
CreateFlowAliasRequest & WithDescription(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateFlowAliasRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateFlowAliasRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateFlowAliasRequest & WithClientToken(const char *value)
CreateFlowAliasRequest & AddRoutingConfiguration(const FlowAliasRoutingConfigurationListItem &value)
CreateFlowAliasRequest & WithName(Aws::String &&value)
CreateFlowAliasRequest & WithFlowIdentifier(const char *value)
CreateFlowAliasRequest & WithRoutingConfiguration(Aws::Vector< FlowAliasRoutingConfigurationListItem > &&value)
CreateFlowAliasRequest & AddRoutingConfiguration(FlowAliasRoutingConfigurationListItem &&value)
CreateFlowAliasRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateFlowAliasRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateFlowAliasRequest & WithFlowIdentifier(const Aws::String &value)
CreateFlowAliasRequest & AddTags(const char *key, const char *value)
CreateFlowAliasRequest & WithClientToken(const Aws::String &value)
void SetRoutingConfiguration(Aws::Vector< FlowAliasRoutingConfigurationListItem > &&value)
void SetRoutingConfiguration(const Aws::Vector< FlowAliasRoutingConfigurationListItem > &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateFlowAliasRequest & WithRoutingConfiguration(const Aws::Vector< FlowAliasRoutingConfigurationListItem > &value)
const Aws::Vector< FlowAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
CreateFlowAliasRequest & AddTags(const char *key, Aws::String &&value)
CreateFlowAliasRequest & WithName(const char *value)
CreateFlowAliasRequest & WithClientToken(Aws::String &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
CreateFlowAliasRequest & WithDescription(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateFlowAliasRequest & WithFlowIdentifier(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector