AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
BotAliasSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/BotAliasStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2 {
22namespace Model {
23
32 public:
33 AWS_LEXMODELSV2_API BotAliasSummary() = default;
34 AWS_LEXMODELSV2_API BotAliasSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LEXMODELSV2_API BotAliasSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline const Aws::String& GetBotAliasId() const { return m_botAliasId; }
46 inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
47 template <typename BotAliasIdT = Aws::String>
48 void SetBotAliasId(BotAliasIdT&& value) {
49 m_botAliasIdHasBeenSet = true;
50 m_botAliasId = std::forward<BotAliasIdT>(value);
51 }
52 template <typename BotAliasIdT = Aws::String>
53 BotAliasSummary& WithBotAliasId(BotAliasIdT&& value) {
54 SetBotAliasId(std::forward<BotAliasIdT>(value));
55 return *this;
56 }
58
60
63 inline const Aws::String& GetBotAliasName() const { return m_botAliasName; }
64 inline bool BotAliasNameHasBeenSet() const { return m_botAliasNameHasBeenSet; }
65 template <typename BotAliasNameT = Aws::String>
66 void SetBotAliasName(BotAliasNameT&& value) {
67 m_botAliasNameHasBeenSet = true;
68 m_botAliasName = std::forward<BotAliasNameT>(value);
69 }
70 template <typename BotAliasNameT = Aws::String>
71 BotAliasSummary& WithBotAliasName(BotAliasNameT&& value) {
72 SetBotAliasName(std::forward<BotAliasNameT>(value));
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template <typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) {
85 m_descriptionHasBeenSet = true;
86 m_description = std::forward<DescriptionT>(value);
87 }
88 template <typename DescriptionT = Aws::String>
89 BotAliasSummary& WithDescription(DescriptionT&& value) {
90 SetDescription(std::forward<DescriptionT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
100 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
101 template <typename BotVersionT = Aws::String>
102 void SetBotVersion(BotVersionT&& value) {
103 m_botVersionHasBeenSet = true;
104 m_botVersion = std::forward<BotVersionT>(value);
105 }
106 template <typename BotVersionT = Aws::String>
107 BotAliasSummary& WithBotVersion(BotVersionT&& value) {
108 SetBotVersion(std::forward<BotVersionT>(value));
109 return *this;
110 }
112
114
118 inline BotAliasStatus GetBotAliasStatus() const { return m_botAliasStatus; }
119 inline bool BotAliasStatusHasBeenSet() const { return m_botAliasStatusHasBeenSet; }
121 m_botAliasStatusHasBeenSet = true;
122 m_botAliasStatus = value;
123 }
125 SetBotAliasStatus(value);
126 return *this;
127 }
129
131
134 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
135 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
136 template <typename CreationDateTimeT = Aws::Utils::DateTime>
137 void SetCreationDateTime(CreationDateTimeT&& value) {
138 m_creationDateTimeHasBeenSet = true;
139 m_creationDateTime = std::forward<CreationDateTimeT>(value);
140 }
141 template <typename CreationDateTimeT = Aws::Utils::DateTime>
142 BotAliasSummary& WithCreationDateTime(CreationDateTimeT&& value) {
143 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
153 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
154 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
155 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
156 m_lastUpdatedDateTimeHasBeenSet = true;
157 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
158 }
159 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
160 BotAliasSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
161 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
162 return *this;
163 }
165 private:
166 Aws::String m_botAliasId;
167
168 Aws::String m_botAliasName;
169
170 Aws::String m_description;
171
172 Aws::String m_botVersion;
173
174 BotAliasStatus m_botAliasStatus{BotAliasStatus::NOT_SET};
175
176 Aws::Utils::DateTime m_creationDateTime{};
177
178 Aws::Utils::DateTime m_lastUpdatedDateTime{};
179 bool m_botAliasIdHasBeenSet = false;
180 bool m_botAliasNameHasBeenSet = false;
181 bool m_descriptionHasBeenSet = false;
182 bool m_botVersionHasBeenSet = false;
183 bool m_botAliasStatusHasBeenSet = false;
184 bool m_creationDateTimeHasBeenSet = false;
185 bool m_lastUpdatedDateTimeHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace LexModelsV2
190} // namespace Aws
BotAliasSummary & WithBotAliasStatus(BotAliasStatus value)
AWS_LEXMODELSV2_API BotAliasSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetBotAliasName(BotAliasNameT &&value)
BotAliasSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetBotAliasId() const
BotAliasSummary & WithBotVersion(BotVersionT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetBotVersion() const
BotAliasSummary & WithBotAliasName(BotAliasNameT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetBotAliasId(BotAliasIdT &&value)
BotAliasSummary & WithCreationDateTime(CreationDateTimeT &&value)
AWS_LEXMODELSV2_API BotAliasSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BotAliasSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetDescription(DescriptionT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotAliasSummary & WithBotAliasId(BotAliasIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetBotAliasStatus(BotAliasStatus value)
const Aws::String & GetBotAliasName() const
AWS_LEXMODELSV2_API BotAliasSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue