AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLocaleId(const Aws::String& value) { m_localeIdHasBeenSet = true; m_localeId = value; }
51 inline void SetLocaleId(Aws::String&& value) { m_localeIdHasBeenSet = true; m_localeId = std::move(value); }
52 inline void SetLocaleId(const char* value) { m_localeIdHasBeenSet = true; m_localeId.assign(value); }
53 inline BotLocaleSummary& WithLocaleId(const Aws::String& value) { SetLocaleId(value); return *this;}
54 inline BotLocaleSummary& WithLocaleId(Aws::String&& value) { SetLocaleId(std::move(value)); return *this;}
55 inline BotLocaleSummary& WithLocaleId(const char* value) { SetLocaleId(value); return *this;}
57
59
62 inline const Aws::String& GetLocaleName() const{ return m_localeName; }
63 inline bool LocaleNameHasBeenSet() const { return m_localeNameHasBeenSet; }
64 inline void SetLocaleName(const Aws::String& value) { m_localeNameHasBeenSet = true; m_localeName = value; }
65 inline void SetLocaleName(Aws::String&& value) { m_localeNameHasBeenSet = true; m_localeName = std::move(value); }
66 inline void SetLocaleName(const char* value) { m_localeNameHasBeenSet = true; m_localeName.assign(value); }
67 inline BotLocaleSummary& WithLocaleName(const Aws::String& value) { SetLocaleName(value); return *this;}
68 inline BotLocaleSummary& WithLocaleName(Aws::String&& value) { SetLocaleName(std::move(value)); return *this;}
69 inline BotLocaleSummary& WithLocaleName(const char* value) { SetLocaleName(value); return *this;}
71
73
76 inline const Aws::String& GetDescription() const{ return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
79 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
80 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
81 inline BotLocaleSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
82 inline BotLocaleSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
83 inline BotLocaleSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
85
87
91 inline const BotLocaleStatus& GetBotLocaleStatus() const{ return m_botLocaleStatus; }
92 inline bool BotLocaleStatusHasBeenSet() const { return m_botLocaleStatusHasBeenSet; }
93 inline void SetBotLocaleStatus(const BotLocaleStatus& value) { m_botLocaleStatusHasBeenSet = true; m_botLocaleStatus = value; }
94 inline void SetBotLocaleStatus(BotLocaleStatus&& value) { m_botLocaleStatusHasBeenSet = true; m_botLocaleStatus = std::move(value); }
95 inline BotLocaleSummary& WithBotLocaleStatus(const BotLocaleStatus& value) { SetBotLocaleStatus(value); return *this;}
96 inline BotLocaleSummary& WithBotLocaleStatus(BotLocaleStatus&& value) { SetBotLocaleStatus(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
104 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
105 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
106 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
108 inline BotLocaleSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetLastBuildSubmittedDateTime() const{ return m_lastBuildSubmittedDateTime; }
116 inline bool LastBuildSubmittedDateTimeHasBeenSet() const { return m_lastBuildSubmittedDateTimeHasBeenSet; }
117 inline void SetLastBuildSubmittedDateTime(const Aws::Utils::DateTime& value) { m_lastBuildSubmittedDateTimeHasBeenSet = true; m_lastBuildSubmittedDateTime = value; }
118 inline void SetLastBuildSubmittedDateTime(Aws::Utils::DateTime&& value) { m_lastBuildSubmittedDateTimeHasBeenSet = true; m_lastBuildSubmittedDateTime = std::move(value); }
122 private:
123
124 Aws::String m_localeId;
125 bool m_localeIdHasBeenSet = false;
126
127 Aws::String m_localeName;
128 bool m_localeNameHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 BotLocaleStatus m_botLocaleStatus;
134 bool m_botLocaleStatusHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastUpdatedDateTime;
137 bool m_lastUpdatedDateTimeHasBeenSet = false;
138
139 Aws::Utils::DateTime m_lastBuildSubmittedDateTime;
140 bool m_lastBuildSubmittedDateTimeHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace LexModelsV2
145} // namespace Aws
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(const Aws::String &value)
BotLocaleSummary & WithDescription(const Aws::String &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
BotLocaleSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetLocaleId(const Aws::String &value)
void SetLastBuildSubmittedDateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetLastBuildSubmittedDateTime() const
BotLocaleSummary & WithLocaleName(const char *value)
BotLocaleSummary & WithLocaleId(const char *value)
BotLocaleSummary & WithLocaleName(const Aws::String &value)
const Aws::String & GetLocaleId() const
const Aws::String & GetDescription() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
BotLocaleSummary & WithLocaleName(Aws::String &&value)
BotLocaleSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
void SetLastBuildSubmittedDateTime(const Aws::Utils::DateTime &value)
void SetBotLocaleStatus(BotLocaleStatus &&value)
BotLocaleSummary & WithDescription(Aws::String &&value)
BotLocaleSummary & WithLocaleId(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetLocaleName(const Aws::String &value)
BotLocaleSummary & WithLocaleId(const Aws::String &value)
AWS_LEXMODELSV2_API BotLocaleSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotLocaleSummary(Aws::Utils::Json::JsonView jsonValue)
void SetBotLocaleStatus(const BotLocaleStatus &value)
BotLocaleSummary & WithLastBuildSubmittedDateTime(const Aws::Utils::DateTime &value)
BotLocaleSummary & WithDescription(const char *value)
const BotLocaleStatus & GetBotLocaleStatus() const
BotLocaleSummary & WithBotLocaleStatus(BotLocaleStatus &&value)
BotLocaleSummary & WithLastBuildSubmittedDateTime(Aws::Utils::DateTime &&value)
BotLocaleSummary & WithBotLocaleStatus(const BotLocaleStatus &value)
const Aws::String & GetLocaleName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue