AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutBotAliasRequest.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/lex-models/LexModelBuildingServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lex-models/model/ConversationLogsRequest.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/lex-models/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace LexModelBuildingService
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasRequest();
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 "PutBotAlias"; }
34
35 AWS_LEXMODELBUILDINGSERVICE_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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline PutBotAliasRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline PutBotAliasRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline PutBotAliasRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline PutBotAliasRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline PutBotAliasRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline PutBotAliasRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
70 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
71 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
72 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
73 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
74 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
75 inline PutBotAliasRequest& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
76 inline PutBotAliasRequest& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
77 inline PutBotAliasRequest& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
79
81
84 inline const Aws::String& GetBotName() const{ return m_botName; }
85 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
86 inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
87 inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
88 inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
89 inline PutBotAliasRequest& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
90 inline PutBotAliasRequest& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
91 inline PutBotAliasRequest& WithBotName(const char* value) { SetBotName(value); return *this;}
93
95
105 inline const Aws::String& GetChecksum() const{ return m_checksum; }
106 inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
107 inline void SetChecksum(const Aws::String& value) { m_checksumHasBeenSet = true; m_checksum = value; }
108 inline void SetChecksum(Aws::String&& value) { m_checksumHasBeenSet = true; m_checksum = std::move(value); }
109 inline void SetChecksum(const char* value) { m_checksumHasBeenSet = true; m_checksum.assign(value); }
110 inline PutBotAliasRequest& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
111 inline PutBotAliasRequest& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
112 inline PutBotAliasRequest& WithChecksum(const char* value) { SetChecksum(value); return *this;}
114
116
119 inline const ConversationLogsRequest& GetConversationLogs() const{ return m_conversationLogs; }
120 inline bool ConversationLogsHasBeenSet() const { return m_conversationLogsHasBeenSet; }
121 inline void SetConversationLogs(const ConversationLogsRequest& value) { m_conversationLogsHasBeenSet = true; m_conversationLogs = value; }
122 inline void SetConversationLogs(ConversationLogsRequest&& value) { m_conversationLogsHasBeenSet = true; m_conversationLogs = std::move(value); }
124 inline PutBotAliasRequest& WithConversationLogs(ConversationLogsRequest&& value) { SetConversationLogs(std::move(value)); return *this;}
126
128
134 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
135 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
136 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
137 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
138 inline PutBotAliasRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
139 inline PutBotAliasRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
140 inline PutBotAliasRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
141 inline PutBotAliasRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
143 private:
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 Aws::String m_botVersion;
152 bool m_botVersionHasBeenSet = false;
153
154 Aws::String m_botName;
155 bool m_botNameHasBeenSet = false;
156
157 Aws::String m_checksum;
158 bool m_checksumHasBeenSet = false;
159
160 ConversationLogsRequest m_conversationLogs;
161 bool m_conversationLogsHasBeenSet = false;
162
163 Aws::Vector<Tag> m_tags;
164 bool m_tagsHasBeenSet = false;
165 };
166
167} // namespace Model
168} // namespace LexModelBuildingService
169} // namespace Aws
PutBotAliasRequest & WithChecksum(const Aws::String &value)
PutBotAliasRequest & WithTags(Aws::Vector< Tag > &&value)
PutBotAliasRequest & WithName(const Aws::String &value)
PutBotAliasRequest & WithDescription(Aws::String &&value)
PutBotAliasRequest & WithChecksum(Aws::String &&value)
PutBotAliasRequest & WithBotVersion(const char *value)
PutBotAliasRequest & WithBotVersion(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API PutBotAliasRequest()
void SetConversationLogs(ConversationLogsRequest &&value)
PutBotAliasRequest & WithTags(const Aws::Vector< Tag > &value)
PutBotAliasRequest & WithName(Aws::String &&value)
PutBotAliasRequest & WithConversationLogs(ConversationLogsRequest &&value)
PutBotAliasRequest & WithName(const char *value)
PutBotAliasRequest & WithBotName(const Aws::String &value)
PutBotAliasRequest & WithDescription(const Aws::String &value)
PutBotAliasRequest & WithChecksum(const char *value)
PutBotAliasRequest & WithBotName(Aws::String &&value)
PutBotAliasRequest & WithBotVersion(Aws::String &&value)
PutBotAliasRequest & WithBotName(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::String SerializePayload() const override
void SetConversationLogs(const ConversationLogsRequest &value)
PutBotAliasRequest & WithConversationLogs(const ConversationLogsRequest &value)
const ConversationLogsRequest & GetConversationLogs() const
PutBotAliasRequest & WithDescription(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector