AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
37
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 GetBotChannelAssociationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const { return m_description; }
55 template<typename DescriptionT = Aws::String>
56 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
57 template<typename DescriptionT = Aws::String>
58 GetBotChannelAssociationResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
60
62
66 inline const Aws::String& GetBotAlias() const { return m_botAlias; }
67 template<typename BotAliasT = Aws::String>
68 void SetBotAlias(BotAliasT&& value) { m_botAliasHasBeenSet = true; m_botAlias = std::forward<BotAliasT>(value); }
69 template<typename BotAliasT = Aws::String>
70 GetBotChannelAssociationResult& WithBotAlias(BotAliasT&& value) { SetBotAlias(std::forward<BotAliasT>(value)); return *this;}
72
74
77 inline const Aws::String& GetBotName() const { return m_botName; }
78 template<typename BotNameT = Aws::String>
79 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
80 template<typename BotNameT = Aws::String>
81 GetBotChannelAssociationResult& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
83
85
89 inline const Aws::Utils::DateTime& GetCreatedDate() const { return m_createdDate; }
90 template<typename CreatedDateT = Aws::Utils::DateTime>
91 void SetCreatedDate(CreatedDateT&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::forward<CreatedDateT>(value); }
92 template<typename CreatedDateT = Aws::Utils::DateTime>
93 GetBotChannelAssociationResult& WithCreatedDate(CreatedDateT&& value) { SetCreatedDate(std::forward<CreatedDateT>(value)); return *this;}
95
97
100 inline ChannelType GetType() const { return m_type; }
101 inline void SetType(ChannelType value) { m_typeHasBeenSet = true; m_type = value; }
102 inline GetBotChannelAssociationResult& WithType(ChannelType value) { SetType(value); return *this;}
104
106
110 inline const Aws::Map<Aws::String, Aws::String>& GetBotConfiguration() const { return m_botConfiguration; }
111 template<typename BotConfigurationT = Aws::Map<Aws::String, Aws::String>>
112 void SetBotConfiguration(BotConfigurationT&& value) { m_botConfigurationHasBeenSet = true; m_botConfiguration = std::forward<BotConfigurationT>(value); }
113 template<typename BotConfigurationT = Aws::Map<Aws::String, Aws::String>>
114 GetBotChannelAssociationResult& WithBotConfiguration(BotConfigurationT&& value) { SetBotConfiguration(std::forward<BotConfigurationT>(value)); return *this;}
115 template<typename BotConfigurationKeyT = Aws::String, typename BotConfigurationValueT = Aws::String>
116 GetBotChannelAssociationResult& AddBotConfiguration(BotConfigurationKeyT&& key, BotConfigurationValueT&& value) {
117 m_botConfigurationHasBeenSet = true; m_botConfiguration.emplace(std::forward<BotConfigurationKeyT>(key), std::forward<BotConfigurationValueT>(value)); return *this;
118 }
120
122
130 inline ChannelStatus GetStatus() const { return m_status; }
131 inline void SetStatus(ChannelStatus value) { m_statusHasBeenSet = true; m_status = value; }
132 inline GetBotChannelAssociationResult& WithStatus(ChannelStatus value) { SetStatus(value); return *this;}
134
136
140 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
141 template<typename FailureReasonT = Aws::String>
142 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
143 template<typename FailureReasonT = Aws::String>
144 GetBotChannelAssociationResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
146
148
149 inline const Aws::String& GetRequestId() const { return m_requestId; }
150 template<typename RequestIdT = Aws::String>
151 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
152 template<typename RequestIdT = Aws::String>
153 GetBotChannelAssociationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
155 private:
156
157 Aws::String m_name;
158 bool m_nameHasBeenSet = false;
159
160 Aws::String m_description;
161 bool m_descriptionHasBeenSet = false;
162
163 Aws::String m_botAlias;
164 bool m_botAliasHasBeenSet = false;
165
166 Aws::String m_botName;
167 bool m_botNameHasBeenSet = false;
168
169 Aws::Utils::DateTime m_createdDate{};
170 bool m_createdDateHasBeenSet = false;
171
173 bool m_typeHasBeenSet = false;
174
175 Aws::Map<Aws::String, Aws::String> m_botConfiguration;
176 bool m_botConfigurationHasBeenSet = false;
177
179 bool m_statusHasBeenSet = false;
180
181 Aws::String m_failureReason;
182 bool m_failureReasonHasBeenSet = false;
183
184 Aws::String m_requestId;
185 bool m_requestIdHasBeenSet = false;
186 };
187
188} // namespace Model
189} // namespace LexModelBuildingService
190} // namespace Aws
GetBotChannelAssociationResult & AddBotConfiguration(BotConfigurationKeyT &&key, BotConfigurationValueT &&value)
GetBotChannelAssociationResult & WithCreatedDate(CreatedDateT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetBotChannelAssociationResult()=default
GetBotChannelAssociationResult & WithFailureReason(FailureReasonT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetBotChannelAssociationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetBotChannelAssociationResult & WithBotConfiguration(BotConfigurationT &&value)
GetBotChannelAssociationResult & WithDescription(DescriptionT &&value)
AWS_LEXMODELBUILDINGSERVICE_API GetBotChannelAssociationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetBotConfiguration() 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
Aws::Utils::Json::JsonValue JsonValue