AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BotAliasSummary.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/BotAliasStatus.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 BotAliasSummary();
39 AWS_LEXMODELSV2_API BotAliasSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LEXMODELSV2_API BotAliasSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; }
52 inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
53 inline void SetBotAliasId(const Aws::String& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = value; }
54 inline void SetBotAliasId(Aws::String&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::move(value); }
55 inline void SetBotAliasId(const char* value) { m_botAliasIdHasBeenSet = true; m_botAliasId.assign(value); }
56 inline BotAliasSummary& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;}
57 inline BotAliasSummary& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;}
58 inline BotAliasSummary& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;}
60
62
65 inline const Aws::String& GetBotAliasName() const{ return m_botAliasName; }
66 inline bool BotAliasNameHasBeenSet() const { return m_botAliasNameHasBeenSet; }
67 inline void SetBotAliasName(const Aws::String& value) { m_botAliasNameHasBeenSet = true; m_botAliasName = value; }
68 inline void SetBotAliasName(Aws::String&& value) { m_botAliasNameHasBeenSet = true; m_botAliasName = std::move(value); }
69 inline void SetBotAliasName(const char* value) { m_botAliasNameHasBeenSet = true; m_botAliasName.assign(value); }
70 inline BotAliasSummary& WithBotAliasName(const Aws::String& value) { SetBotAliasName(value); return *this;}
71 inline BotAliasSummary& WithBotAliasName(Aws::String&& value) { SetBotAliasName(std::move(value)); return *this;}
72 inline BotAliasSummary& WithBotAliasName(const char* value) { SetBotAliasName(value); return *this;}
74
76
79 inline const Aws::String& GetDescription() const{ return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
82 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
83 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
84 inline BotAliasSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
85 inline BotAliasSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
86 inline BotAliasSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
88
90
93 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
94 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
95 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
96 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
97 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
98 inline BotAliasSummary& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
99 inline BotAliasSummary& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
100 inline BotAliasSummary& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
102
104
108 inline const BotAliasStatus& GetBotAliasStatus() const{ return m_botAliasStatus; }
109 inline bool BotAliasStatusHasBeenSet() const { return m_botAliasStatusHasBeenSet; }
110 inline void SetBotAliasStatus(const BotAliasStatus& value) { m_botAliasStatusHasBeenSet = true; m_botAliasStatus = value; }
111 inline void SetBotAliasStatus(BotAliasStatus&& value) { m_botAliasStatusHasBeenSet = true; m_botAliasStatus = std::move(value); }
112 inline BotAliasSummary& WithBotAliasStatus(const BotAliasStatus& value) { SetBotAliasStatus(value); return *this;}
113 inline BotAliasSummary& WithBotAliasStatus(BotAliasStatus&& value) { SetBotAliasStatus(std::move(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
121 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
122 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
123 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
125 inline BotAliasSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
127
129
132 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
133 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
134 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
135 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
137 inline BotAliasSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
139 private:
140
141 Aws::String m_botAliasId;
142 bool m_botAliasIdHasBeenSet = false;
143
144 Aws::String m_botAliasName;
145 bool m_botAliasNameHasBeenSet = false;
146
147 Aws::String m_description;
148 bool m_descriptionHasBeenSet = false;
149
150 Aws::String m_botVersion;
151 bool m_botVersionHasBeenSet = false;
152
153 BotAliasStatus m_botAliasStatus;
154 bool m_botAliasStatusHasBeenSet = false;
155
156 Aws::Utils::DateTime m_creationDateTime;
157 bool m_creationDateTimeHasBeenSet = false;
158
159 Aws::Utils::DateTime m_lastUpdatedDateTime;
160 bool m_lastUpdatedDateTimeHasBeenSet = false;
161 };
162
163} // namespace Model
164} // namespace LexModelsV2
165} // namespace Aws
BotAliasSummary & WithBotAliasId(const Aws::String &value)
BotAliasSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
BotAliasSummary & WithBotVersion(const char *value)
void SetBotAliasStatus(const BotAliasStatus &value)
AWS_LEXMODELSV2_API BotAliasSummary(Aws::Utils::Json::JsonView jsonValue)
BotAliasSummary & WithBotAliasStatus(BotAliasStatus &&value)
BotAliasSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetBotAliasStatus(BotAliasStatus &&value)
BotAliasSummary & WithBotAliasId(Aws::String &&value)
BotAliasSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetBotAliasId() const
void SetCreationDateTime(Aws::Utils::DateTime &&value)
BotAliasSummary & WithBotAliasStatus(const BotAliasStatus &value)
const Aws::String & GetDescription() const
void SetDescription(const Aws::String &value)
void SetBotAliasName(Aws::String &&value)
BotAliasSummary & WithDescription(Aws::String &&value)
const Aws::String & GetBotVersion() const
BotAliasSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetBotAliasName(const Aws::String &value)
BotAliasSummary & WithDescription(const Aws::String &value)
BotAliasSummary & WithDescription(const char *value)
void SetBotVersion(const Aws::String &value)
BotAliasSummary & WithBotAliasName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
BotAliasSummary & WithBotAliasName(const char *value)
void SetDescription(Aws::String &&value)
AWS_LEXMODELSV2_API BotAliasSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BotAliasSummary & WithBotAliasId(const char *value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
BotAliasSummary & WithBotVersion(Aws::String &&value)
BotAliasSummary & WithBotVersion(const Aws::String &value)
void SetBotVersion(Aws::String &&value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
const Aws::String & GetBotAliasName() const
void SetBotAliasId(Aws::String &&value)
void SetBotAliasId(const Aws::String &value)
const BotAliasStatus & GetBotAliasStatus() const
BotAliasSummary & WithBotAliasName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue