AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename BotAliasIdT = Aws::String>
54 void SetBotAliasId(BotAliasIdT&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::forward<BotAliasIdT>(value); }
55 template<typename BotAliasIdT = Aws::String>
56 BotAliasSummary& WithBotAliasId(BotAliasIdT&& value) { SetBotAliasId(std::forward<BotAliasIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetBotAliasName() const { return m_botAliasName; }
64 inline bool BotAliasNameHasBeenSet() const { return m_botAliasNameHasBeenSet; }
65 template<typename BotAliasNameT = Aws::String>
66 void SetBotAliasName(BotAliasNameT&& value) { m_botAliasNameHasBeenSet = true; m_botAliasName = std::forward<BotAliasNameT>(value); }
67 template<typename BotAliasNameT = Aws::String>
68 BotAliasSummary& WithBotAliasName(BotAliasNameT&& value) { SetBotAliasName(std::forward<BotAliasNameT>(value)); return *this;}
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template<typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
79 template<typename DescriptionT = Aws::String>
80 BotAliasSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
82
84
87 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
88 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
89 template<typename BotVersionT = Aws::String>
90 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
91 template<typename BotVersionT = Aws::String>
92 BotAliasSummary& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
94
96
100 inline BotAliasStatus GetBotAliasStatus() const { return m_botAliasStatus; }
101 inline bool BotAliasStatusHasBeenSet() const { return m_botAliasStatusHasBeenSet; }
102 inline void SetBotAliasStatus(BotAliasStatus value) { m_botAliasStatusHasBeenSet = true; m_botAliasStatus = value; }
105
107
110 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
111 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
112 template<typename CreationDateTimeT = Aws::Utils::DateTime>
113 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
114 template<typename CreationDateTimeT = Aws::Utils::DateTime>
115 BotAliasSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
123 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
124 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
125 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
126 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
127 BotAliasSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
129 private:
130
131 Aws::String m_botAliasId;
132 bool m_botAliasIdHasBeenSet = false;
133
134 Aws::String m_botAliasName;
135 bool m_botAliasNameHasBeenSet = false;
136
137 Aws::String m_description;
138 bool m_descriptionHasBeenSet = false;
139
140 Aws::String m_botVersion;
141 bool m_botVersionHasBeenSet = false;
142
143 BotAliasStatus m_botAliasStatus{BotAliasStatus::NOT_SET};
144 bool m_botAliasStatusHasBeenSet = false;
145
146 Aws::Utils::DateTime m_creationDateTime{};
147 bool m_creationDateTimeHasBeenSet = false;
148
149 Aws::Utils::DateTime m_lastUpdatedDateTime{};
150 bool m_lastUpdatedDateTimeHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace LexModelsV2
155} // namespace Aws
BotAliasSummary & WithBotAliasStatus(BotAliasStatus value)
AWS_LEXMODELSV2_API BotAliasSummary(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetBotAliasName(BotAliasNameT &&value)
BotAliasSummary & WithDescription(DescriptionT &&value)
void SetBotVersion(BotVersionT &&value)
const Aws::String & GetBotAliasId() const
BotAliasSummary & WithBotVersion(BotVersionT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
const Aws::String & GetDescription() const
const Aws::String & GetBotVersion() const
BotAliasSummary & WithBotAliasName(BotAliasNameT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetBotAliasId(BotAliasIdT &&value)
BotAliasSummary & WithCreationDateTime(CreationDateTimeT &&value)
AWS_LEXMODELSV2_API BotAliasSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BotAliasSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
void SetDescription(DescriptionT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotAliasSummary & WithBotAliasId(BotAliasIdT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
void SetBotAliasStatus(BotAliasStatus value)
const Aws::String & GetBotAliasName() const
AWS_LEXMODELSV2_API BotAliasSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue