AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BotLocaleSummary.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/model/BotLocaleStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_LEXMODELSV2_API BotLocaleSummary() = default;
39 AWS_LEXMODELSV2_API BotLocaleSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API BotLocaleSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetLocaleId() const { return m_localeId; }
49 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
50 template<typename LocaleIdT = Aws::String>
51 void SetLocaleId(LocaleIdT&& value) { m_localeIdHasBeenSet = true; m_localeId = std::forward<LocaleIdT>(value); }
52 template<typename LocaleIdT = Aws::String>
53 BotLocaleSummary& WithLocaleId(LocaleIdT&& value) { SetLocaleId(std::forward<LocaleIdT>(value)); return *this;}
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) { m_localeNameHasBeenSet = true; m_localeName = std::forward<LocaleNameT>(value); }
64 template<typename LocaleNameT = Aws::String>
65 BotLocaleSummary& WithLocaleName(LocaleNameT&& value) { SetLocaleName(std::forward<LocaleNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetDescription() const { return m_description; }
73 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
74 template<typename DescriptionT = Aws::String>
75 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
76 template<typename DescriptionT = Aws::String>
77 BotLocaleSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
79
81
85 inline BotLocaleStatus GetBotLocaleStatus() const { return m_botLocaleStatus; }
86 inline bool BotLocaleStatusHasBeenSet() const { return m_botLocaleStatusHasBeenSet; }
87 inline void SetBotLocaleStatus(BotLocaleStatus value) { m_botLocaleStatusHasBeenSet = true; m_botLocaleStatus = value; }
90
92
95 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
96 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
97 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
98 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
99 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
100 BotLocaleSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetLastBuildSubmittedDateTime() const { return m_lastBuildSubmittedDateTime; }
108 inline bool LastBuildSubmittedDateTimeHasBeenSet() const { return m_lastBuildSubmittedDateTimeHasBeenSet; }
109 template<typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
110 void SetLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) { m_lastBuildSubmittedDateTimeHasBeenSet = true; m_lastBuildSubmittedDateTime = std::forward<LastBuildSubmittedDateTimeT>(value); }
111 template<typename LastBuildSubmittedDateTimeT = Aws::Utils::DateTime>
112 BotLocaleSummary& WithLastBuildSubmittedDateTime(LastBuildSubmittedDateTimeT&& value) { SetLastBuildSubmittedDateTime(std::forward<LastBuildSubmittedDateTimeT>(value)); return *this;}
114 private:
115
116 Aws::String m_localeId;
117 bool m_localeIdHasBeenSet = false;
118
119 Aws::String m_localeName;
120 bool m_localeNameHasBeenSet = false;
121
122 Aws::String m_description;
123 bool m_descriptionHasBeenSet = false;
124
125 BotLocaleStatus m_botLocaleStatus{BotLocaleStatus::NOT_SET};
126 bool m_botLocaleStatusHasBeenSet = false;
127
128 Aws::Utils::DateTime m_lastUpdatedDateTime{};
129 bool m_lastUpdatedDateTimeHasBeenSet = false;
130
131 Aws::Utils::DateTime m_lastBuildSubmittedDateTime{};
132 bool m_lastBuildSubmittedDateTimeHasBeenSet = false;
133 };
134
135} // namespace Model
136} // namespace LexModelsV2
137} // 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