AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAgentAliasRequest.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/AgentAliasRoutingConfigurationListItem.h>
12#include <utility>
13
14namespace Aws
15{
16namespace BedrockAgent
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_BEDROCKAGENT_API UpdateAgentAliasRequest();
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 "UpdateAgentAlias"; }
33
34 AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetAgentAliasId() const{ return m_agentAliasId; }
42 inline bool AgentAliasIdHasBeenSet() const { return m_agentAliasIdHasBeenSet; }
43 inline void SetAgentAliasId(const Aws::String& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = value; }
44 inline void SetAgentAliasId(Aws::String&& value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId = std::move(value); }
45 inline void SetAgentAliasId(const char* value) { m_agentAliasIdHasBeenSet = true; m_agentAliasId.assign(value); }
46 inline UpdateAgentAliasRequest& WithAgentAliasId(const Aws::String& value) { SetAgentAliasId(value); return *this;}
47 inline UpdateAgentAliasRequest& WithAgentAliasId(Aws::String&& value) { SetAgentAliasId(std::move(value)); return *this;}
48 inline UpdateAgentAliasRequest& WithAgentAliasId(const char* value) { SetAgentAliasId(value); return *this;}
50
52
55 inline const Aws::String& GetAgentAliasName() const{ return m_agentAliasName; }
56 inline bool AgentAliasNameHasBeenSet() const { return m_agentAliasNameHasBeenSet; }
57 inline void SetAgentAliasName(const Aws::String& value) { m_agentAliasNameHasBeenSet = true; m_agentAliasName = value; }
58 inline void SetAgentAliasName(Aws::String&& value) { m_agentAliasNameHasBeenSet = true; m_agentAliasName = std::move(value); }
59 inline void SetAgentAliasName(const char* value) { m_agentAliasNameHasBeenSet = true; m_agentAliasName.assign(value); }
60 inline UpdateAgentAliasRequest& WithAgentAliasName(const Aws::String& value) { SetAgentAliasName(value); return *this;}
61 inline UpdateAgentAliasRequest& WithAgentAliasName(Aws::String&& value) { SetAgentAliasName(std::move(value)); return *this;}
62 inline UpdateAgentAliasRequest& WithAgentAliasName(const char* value) { SetAgentAliasName(value); return *this;}
64
66
69 inline const Aws::String& GetAgentId() const{ return m_agentId; }
70 inline bool AgentIdHasBeenSet() const { return m_agentIdHasBeenSet; }
71 inline void SetAgentId(const Aws::String& value) { m_agentIdHasBeenSet = true; m_agentId = value; }
72 inline void SetAgentId(Aws::String&& value) { m_agentIdHasBeenSet = true; m_agentId = std::move(value); }
73 inline void SetAgentId(const char* value) { m_agentIdHasBeenSet = true; m_agentId.assign(value); }
74 inline UpdateAgentAliasRequest& WithAgentId(const Aws::String& value) { SetAgentId(value); return *this;}
75 inline UpdateAgentAliasRequest& WithAgentId(Aws::String&& value) { SetAgentId(std::move(value)); return *this;}
76 inline UpdateAgentAliasRequest& WithAgentId(const char* value) { SetAgentId(value); return *this;}
78
80
83 inline const Aws::String& GetDescription() const{ return m_description; }
84 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
85 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
86 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
87 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
88 inline UpdateAgentAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
89 inline UpdateAgentAliasRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
90 inline UpdateAgentAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
92
94
97 inline const Aws::Vector<AgentAliasRoutingConfigurationListItem>& GetRoutingConfiguration() const{ return m_routingConfiguration; }
98 inline bool RoutingConfigurationHasBeenSet() const { return m_routingConfigurationHasBeenSet; }
99 inline void SetRoutingConfiguration(const Aws::Vector<AgentAliasRoutingConfigurationListItem>& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = value; }
100 inline void SetRoutingConfiguration(Aws::Vector<AgentAliasRoutingConfigurationListItem>&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration = std::move(value); }
103 inline UpdateAgentAliasRequest& AddRoutingConfiguration(const AgentAliasRoutingConfigurationListItem& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(value); return *this; }
104 inline UpdateAgentAliasRequest& AddRoutingConfiguration(AgentAliasRoutingConfigurationListItem&& value) { m_routingConfigurationHasBeenSet = true; m_routingConfiguration.push_back(std::move(value)); return *this; }
106 private:
107
108 Aws::String m_agentAliasId;
109 bool m_agentAliasIdHasBeenSet = false;
110
111 Aws::String m_agentAliasName;
112 bool m_agentAliasNameHasBeenSet = false;
113
114 Aws::String m_agentId;
115 bool m_agentIdHasBeenSet = false;
116
117 Aws::String m_description;
118 bool m_descriptionHasBeenSet = false;
119
121 bool m_routingConfigurationHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace BedrockAgent
126} // namespace Aws
UpdateAgentAliasRequest & WithAgentAliasId(const char *value)
UpdateAgentAliasRequest & AddRoutingConfiguration(const AgentAliasRoutingConfigurationListItem &value)
UpdateAgentAliasRequest & WithDescription(const char *value)
UpdateAgentAliasRequest & WithAgentAliasId(const Aws::String &value)
UpdateAgentAliasRequest & AddRoutingConfiguration(AgentAliasRoutingConfigurationListItem &&value)
UpdateAgentAliasRequest & WithRoutingConfiguration(const Aws::Vector< AgentAliasRoutingConfigurationListItem > &value)
void SetRoutingConfiguration(Aws::Vector< AgentAliasRoutingConfigurationListItem > &&value)
virtual const char * GetServiceRequestName() const override
UpdateAgentAliasRequest & WithDescription(const Aws::String &value)
UpdateAgentAliasRequest & WithDescription(Aws::String &&value)
UpdateAgentAliasRequest & WithRoutingConfiguration(Aws::Vector< AgentAliasRoutingConfigurationListItem > &&value)
AWS_BEDROCKAGENT_API Aws::String SerializePayload() const override
UpdateAgentAliasRequest & WithAgentId(Aws::String &&value)
void SetRoutingConfiguration(const Aws::Vector< AgentAliasRoutingConfigurationListItem > &value)
UpdateAgentAliasRequest & WithAgentAliasName(const Aws::String &value)
UpdateAgentAliasRequest & WithAgentId(const Aws::String &value)
UpdateAgentAliasRequest & WithAgentAliasName(const char *value)
const Aws::Vector< AgentAliasRoutingConfigurationListItem > & GetRoutingConfiguration() const
UpdateAgentAliasRequest & WithAgentAliasId(Aws::String &&value)
UpdateAgentAliasRequest & WithAgentAliasName(Aws::String &&value)
UpdateAgentAliasRequest & WithAgentId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector