AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetBotChannelAssociationResult.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lex-models/model/ChannelType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/lex-models/model/ChannelStatus.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LexModelBuildingService
28{
29namespace Model
30{
32 {
33 public:
34 AWS_LEXMODELBUILDINGSERVICE_API GetBotChannelAssociationResult();
37
38
40
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline void SetName(const Aws::String& value) { m_name = value; }
45 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
46 inline void SetName(const char* value) { m_name.assign(value); }
47 inline GetBotChannelAssociationResult& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline GetBotChannelAssociationResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline GetBotChannelAssociationResult& WithName(const char* value) { SetName(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline void SetDescription(const Aws::String& value) { m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_description.assign(value); }
60 inline GetBotChannelAssociationResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline GetBotChannelAssociationResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline GetBotChannelAssociationResult& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
70 inline const Aws::String& GetBotAlias() const{ return m_botAlias; }
71 inline void SetBotAlias(const Aws::String& value) { m_botAlias = value; }
72 inline void SetBotAlias(Aws::String&& value) { m_botAlias = std::move(value); }
73 inline void SetBotAlias(const char* value) { m_botAlias.assign(value); }
74 inline GetBotChannelAssociationResult& WithBotAlias(const Aws::String& value) { SetBotAlias(value); return *this;}
75 inline GetBotChannelAssociationResult& WithBotAlias(Aws::String&& value) { SetBotAlias(std::move(value)); return *this;}
76 inline GetBotChannelAssociationResult& WithBotAlias(const char* value) { SetBotAlias(value); return *this;}
78
80
83 inline const Aws::String& GetBotName() const{ return m_botName; }
84 inline void SetBotName(const Aws::String& value) { m_botName = value; }
85 inline void SetBotName(Aws::String&& value) { m_botName = std::move(value); }
86 inline void SetBotName(const char* value) { m_botName.assign(value); }
87 inline GetBotChannelAssociationResult& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
88 inline GetBotChannelAssociationResult& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
89 inline GetBotChannelAssociationResult& WithBotName(const char* value) { SetBotName(value); return *this;}
91
93
97 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
98 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDate = value; }
99 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDate = std::move(value); }
101 inline GetBotChannelAssociationResult& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
103
105
108 inline const ChannelType& GetType() const{ return m_type; }
109 inline void SetType(const ChannelType& value) { m_type = value; }
110 inline void SetType(ChannelType&& value) { m_type = std::move(value); }
111 inline GetBotChannelAssociationResult& WithType(const ChannelType& value) { SetType(value); return *this;}
112 inline GetBotChannelAssociationResult& WithType(ChannelType&& value) { SetType(std::move(value)); return *this;}
114
116
120 inline const Aws::Map<Aws::String, Aws::String>& GetBotConfiguration() const{ return m_botConfiguration; }
121 inline void SetBotConfiguration(const Aws::Map<Aws::String, Aws::String>& value) { m_botConfiguration = value; }
122 inline void SetBotConfiguration(Aws::Map<Aws::String, Aws::String>&& value) { m_botConfiguration = std::move(value); }
125 inline GetBotChannelAssociationResult& AddBotConfiguration(const Aws::String& key, const Aws::String& value) { m_botConfiguration.emplace(key, value); return *this; }
126 inline GetBotChannelAssociationResult& AddBotConfiguration(Aws::String&& key, const Aws::String& value) { m_botConfiguration.emplace(std::move(key), value); return *this; }
127 inline GetBotChannelAssociationResult& AddBotConfiguration(const Aws::String& key, Aws::String&& value) { m_botConfiguration.emplace(key, std::move(value)); return *this; }
128 inline GetBotChannelAssociationResult& AddBotConfiguration(Aws::String&& key, Aws::String&& value) { m_botConfiguration.emplace(std::move(key), std::move(value)); return *this; }
129 inline GetBotChannelAssociationResult& AddBotConfiguration(const char* key, Aws::String&& value) { m_botConfiguration.emplace(key, std::move(value)); return *this; }
130 inline GetBotChannelAssociationResult& AddBotConfiguration(Aws::String&& key, const char* value) { m_botConfiguration.emplace(std::move(key), value); return *this; }
131 inline GetBotChannelAssociationResult& AddBotConfiguration(const char* key, const char* value) { m_botConfiguration.emplace(key, value); return *this; }
133
135
143 inline const ChannelStatus& GetStatus() const{ return m_status; }
144 inline void SetStatus(const ChannelStatus& value) { m_status = value; }
145 inline void SetStatus(ChannelStatus&& value) { m_status = std::move(value); }
146 inline GetBotChannelAssociationResult& WithStatus(const ChannelStatus& value) { SetStatus(value); return *this;}
147 inline GetBotChannelAssociationResult& WithStatus(ChannelStatus&& value) { SetStatus(std::move(value)); return *this;}
149
151
155 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
156 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
157 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
158 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
160 inline GetBotChannelAssociationResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
161 inline GetBotChannelAssociationResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
163
165
166 inline const Aws::String& GetRequestId() const{ return m_requestId; }
167 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
168 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
169 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
170 inline GetBotChannelAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
171 inline GetBotChannelAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
172 inline GetBotChannelAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
174 private:
175
176 Aws::String m_name;
177
178 Aws::String m_description;
179
180 Aws::String m_botAlias;
181
182 Aws::String m_botName;
183
184 Aws::Utils::DateTime m_createdDate;
185
186 ChannelType m_type;
187
188 Aws::Map<Aws::String, Aws::String> m_botConfiguration;
189
190 ChannelStatus m_status;
191
192 Aws::String m_failureReason;
193
194 Aws::String m_requestId;
195 };
196
197} // namespace Model
198} // namespace LexModelBuildingService
199} // namespace Aws
GetBotChannelAssociationResult & AddBotConfiguration(const Aws::String &key, const Aws::String &value)
GetBotChannelAssociationResult & AddBotConfiguration(const char *key, Aws::String &&value)
GetBotChannelAssociationResult & WithStatus(const ChannelStatus &value)
GetBotChannelAssociationResult & AddBotConfiguration(const Aws::String &key, Aws::String &&value)
GetBotChannelAssociationResult & WithCreatedDate(const Aws::Utils::DateTime &value)
GetBotChannelAssociationResult & WithBotName(const Aws::String &value)
GetBotChannelAssociationResult & AddBotConfiguration(Aws::String &&key, const Aws::String &value)
GetBotChannelAssociationResult & WithDescription(Aws::String &&value)
GetBotChannelAssociationResult & AddBotConfiguration(const char *key, const char *value)
GetBotChannelAssociationResult & WithDescription(const Aws::String &value)
GetBotChannelAssociationResult & WithCreatedDate(Aws::Utils::DateTime &&value)
void SetBotConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
GetBotChannelAssociationResult & WithFailureReason(Aws::String &&value)
GetBotChannelAssociationResult & WithName(const Aws::String &value)
GetBotChannelAssociationResult & WithBotConfiguration(Aws::Map< Aws::String, Aws::String > &&value)
GetBotChannelAssociationResult & WithFailureReason(const Aws::String &value)
GetBotChannelAssociationResult & AddBotConfiguration(Aws::String &&key, Aws::String &&value)
GetBotChannelAssociationResult & WithType(const ChannelType &value)
GetBotChannelAssociationResult & WithBotAlias(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API GetBotChannelAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBotChannelAssociationResult & WithRequestId(const Aws::String &value)
GetBotChannelAssociationResult & WithBotConfiguration(const Aws::Map< Aws::String, Aws::String > &value)
AWS_LEXMODELBUILDINGSERVICE_API GetBotChannelAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetBotConfiguration() const
GetBotChannelAssociationResult & WithStatus(ChannelStatus &&value)
GetBotChannelAssociationResult & AddBotConfiguration(Aws::String &&key, const char *value)
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
Aws::Utils::Json::JsonValue JsonValue