AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
BotSummary.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/BotStatus.h>
11#include <aws/lexv2-models/model/BotType.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2 {
23namespace Model {
24
33 public:
34 AWS_LEXMODELSV2_API BotSummary() = default;
35 AWS_LEXMODELSV2_API BotSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELSV2_API BotSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
46 inline const Aws::String& GetBotId() const { return m_botId; }
47 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
48 template <typename BotIdT = Aws::String>
49 void SetBotId(BotIdT&& value) {
50 m_botIdHasBeenSet = true;
51 m_botId = std::forward<BotIdT>(value);
52 }
53 template <typename BotIdT = Aws::String>
54 BotSummary& WithBotId(BotIdT&& value) {
55 SetBotId(std::forward<BotIdT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::String& GetBotName() const { return m_botName; }
65 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
66 template <typename BotNameT = Aws::String>
67 void SetBotName(BotNameT&& value) {
68 m_botNameHasBeenSet = true;
69 m_botName = std::forward<BotNameT>(value);
70 }
71 template <typename BotNameT = Aws::String>
72 BotSummary& WithBotName(BotNameT&& value) {
73 SetBotName(std::forward<BotNameT>(value));
74 return *this;
75 }
77
79
82 inline const Aws::String& GetDescription() const { return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 template <typename DescriptionT = Aws::String>
85 void SetDescription(DescriptionT&& value) {
86 m_descriptionHasBeenSet = true;
87 m_description = std::forward<DescriptionT>(value);
88 }
89 template <typename DescriptionT = Aws::String>
90 BotSummary& WithDescription(DescriptionT&& value) {
91 SetDescription(std::forward<DescriptionT>(value));
92 return *this;
93 }
95
97
101 inline BotStatus GetBotStatus() const { return m_botStatus; }
102 inline bool BotStatusHasBeenSet() const { return m_botStatusHasBeenSet; }
103 inline void SetBotStatus(BotStatus value) {
104 m_botStatusHasBeenSet = true;
105 m_botStatus = value;
106 }
108 SetBotStatus(value);
109 return *this;
110 }
112
114
117 inline const Aws::String& GetLatestBotVersion() const { return m_latestBotVersion; }
118 inline bool LatestBotVersionHasBeenSet() const { return m_latestBotVersionHasBeenSet; }
119 template <typename LatestBotVersionT = Aws::String>
120 void SetLatestBotVersion(LatestBotVersionT&& value) {
121 m_latestBotVersionHasBeenSet = true;
122 m_latestBotVersion = std::forward<LatestBotVersionT>(value);
123 }
124 template <typename LatestBotVersionT = Aws::String>
125 BotSummary& WithLatestBotVersion(LatestBotVersionT&& value) {
126 SetLatestBotVersion(std::forward<LatestBotVersionT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
136 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
137 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
138 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
139 m_lastUpdatedDateTimeHasBeenSet = true;
140 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
141 }
142 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
143 BotSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
144 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
145 return *this;
146 }
148
150
153 inline BotType GetBotType() const { return m_botType; }
154 inline bool BotTypeHasBeenSet() const { return m_botTypeHasBeenSet; }
155 inline void SetBotType(BotType value) {
156 m_botTypeHasBeenSet = true;
157 m_botType = value;
158 }
160 SetBotType(value);
161 return *this;
162 }
164 private:
165 Aws::String m_botId;
166
167 Aws::String m_botName;
168
169 Aws::String m_description;
170
171 BotStatus m_botStatus{BotStatus::NOT_SET};
172
173 Aws::String m_latestBotVersion;
174
175 Aws::Utils::DateTime m_lastUpdatedDateTime{};
176
177 BotType m_botType{BotType::NOT_SET};
178 bool m_botIdHasBeenSet = false;
179 bool m_botNameHasBeenSet = false;
180 bool m_descriptionHasBeenSet = false;
181 bool m_botStatusHasBeenSet = false;
182 bool m_latestBotVersionHasBeenSet = false;
183 bool m_lastUpdatedDateTimeHasBeenSet = false;
184 bool m_botTypeHasBeenSet = false;
185};
186
187} // namespace Model
188} // namespace LexModelsV2
189} // namespace Aws
AWS_LEXMODELSV2_API BotSummary()=default
const Aws::String & GetLatestBotVersion() const
Definition BotSummary.h:117
BotSummary & WithBotName(BotNameT &&value)
Definition BotSummary.h:72
const Aws::String & GetBotName() const
Definition BotSummary.h:64
AWS_LEXMODELSV2_API BotSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
Definition BotSummary.h:85
void SetLatestBotVersion(LatestBotVersionT &&value)
Definition BotSummary.h:120
BotSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Definition BotSummary.h:143
BotSummary & WithDescription(DescriptionT &&value)
Definition BotSummary.h:90
void SetBotName(BotNameT &&value)
Definition BotSummary.h:67
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API BotSummary(Aws::Utils::Json::JsonView jsonValue)
void SetBotStatus(BotStatus value)
Definition BotSummary.h:103
void SetBotId(BotIdT &&value)
Definition BotSummary.h:49
const Aws::String & GetBotId() const
Definition BotSummary.h:46
BotSummary & WithLatestBotVersion(LatestBotVersionT &&value)
Definition BotSummary.h:125
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Definition BotSummary.h:138
BotSummary & WithBotStatus(BotStatus value)
Definition BotSummary.h:107
BotSummary & WithBotType(BotType value)
Definition BotSummary.h:159
const Aws::String & GetDescription() const
Definition BotSummary.h:82
BotSummary & WithBotId(BotIdT &&value)
Definition BotSummary.h:54
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition BotSummary.h:135
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue