AWS SDK for C++

AWS SDK for C++ Version 1.11.755

Loading...
Searching...
No Matches
BotLocaleSummary.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/BotLocaleStatus.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 BotLocaleSummary() = default;
34 AWS_LEXMODELSV2_API BotLocaleSummary(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LEXMODELSV2_API BotLocaleSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetLocaleId() const { return m_localeId; }
43 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
44 template <typename LocaleIdT = Aws::String>
45 void SetLocaleId(LocaleIdT&& value) {
46 m_localeIdHasBeenSet = true;
47 m_localeId = std::forward<LocaleIdT>(value);
48 }
49 template <typename LocaleIdT = Aws::String>
50 BotLocaleSummary& WithLocaleId(LocaleIdT&& value) {
51 SetLocaleId(std::forward<LocaleIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetLocaleName() const { return m_localeName; }
61 inline bool LocaleNameHasBeenSet() const { return m_localeNameHasBeenSet; }
62 template <typename LocaleNameT = Aws::String>
63 void SetLocaleName(LocaleNameT&& value) {
64 m_localeNameHasBeenSet = true;
65 m_localeName = std::forward<LocaleNameT>(value);
66 }
67 template <typename LocaleNameT = Aws::String>
68 BotLocaleSummary& WithLocaleName(LocaleNameT&& value) {
69 SetLocaleName(std::forward<LocaleNameT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetDescription() const { return m_description; }
79 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
80 template <typename DescriptionT = Aws::String>
81 void SetDescription(DescriptionT&& value) {
82 m_descriptionHasBeenSet = true;
83 m_description = std::forward<DescriptionT>(value);
84 }
85 template <typename DescriptionT = Aws::String>
86 BotLocaleSummary& WithDescription(DescriptionT&& value) {
87 SetDescription(std::forward<DescriptionT>(value));
88 return *this;
89 }
91
93
97 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
98 inline bool BotLocaleStatusHasBeenSet() const { return m_botLocaleStatusHasBeenSet; }
100 m_botLocaleStatusHasBeenSet = true;
101 m_botLocaleStatus = value;
102 }
104 SetBotLocaleStatus(value);
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
114 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
115 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
116 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
117 m_lastUpdatedDateTimeHasBeenSet = true;
118 m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value);
119 }
120 template <typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
121 BotLocaleSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) {
122 SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Utils::DateTime& GetLastBuildSubmittedDateTime() const { return m_lastBuildSubmittedDateTime; }
132 inline bool LastBuildSubmittedDateTimeHasBeenSet() const { return m_lastBuildSubmittedDateTimeHasBeenSet; }
133 template <typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
134 void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) {
135 m_lastBuildSubmittedDateTimeHasBeenSet = true;
136 m_lastBuildSubmittedDateTime = std::forward<LastBuildSubmittedDateTimeT>(value);
137 }
138 template <typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
139 BotLocaleSummary& WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) {
140 SetLastBuildSubmittedDateTime(std::forward<LastBuildSubmittedDateTimeT>(value));
141 return *this;
142 }
144 private:
145 Aws::String m_localeId;
146
147 Aws::String m_localeName;
148
149 Aws::String m_description;
150
151 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
152
153 Aws::Utils::DateTime m_lastUpdatedDateTime{};
154
155 Aws::Utils::DateTime m_lastBuildSubmittedDateTime{};
156 bool m_localeIdHasBeenSet = false;
157 bool m_localeNameHasBeenSet = false;
158 bool m_descriptionHasBeenSet = false;
159 bool m_botLocaleStatusHasBeenSet = false;
160 bool m_lastUpdatedDateTimeHasBeenSet = false;
161 bool m_lastBuildSubmittedDateTimeHasBeenSet = false;
162};
163
164} // namespace Model
165} // namespace LexModelsV2
166} // namespace Aws
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
BotLocaleSummary & WithLocaleName(LocaleNameT &&value)
void SetBotLocaleStatus(BotLocaleStatus value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotLocaleSummary & WithBotLocaleStatus(BotLocaleStatus value)
void SetDescription(DescriptionT &&value)
AWS_LEXMODELSV2_API BotLocaleSummary()=default
const Aws::Utils::DateTime & GetLastBuildSubmittedDateTime() const
BotLocaleSummary & WithDescription(DescriptionT &&value)
const Aws::String & GetLocaleId() const
const Aws::String & GetDescription() const
void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_LEXMODELSV2_API BotLocaleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotLocaleSummary(Aws::Utils::Json::JsonView jsonValue)
BotLocaleSummary & WithLocaleId(LocaleIdT &&value)
BotLocaleSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
const Aws::String & GetLocaleName() const
BotLocaleSummary & WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue