AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
BotVersionSummary.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/BotStatus.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 BotVersionSummary() = default;
34 AWS_LEXMODELSV2_API BotVersionSummary(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetBotName() const { return m_botName; }
43 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
44 template <typename BotNameT = Aws::String>
45 void SetBotName(BotNameT&& value) {
46 m_botNameHasBeenSet = true;
47 m_botName = std::forward<BotNameT>(value);
48 }
49 template <typename BotNameT = Aws::String>
50 BotVersionSummary& WithBotName(BotNameT&& value) {
51 SetBotName(std::forward<BotNameT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
62 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
63 template <typename BotVersionT = Aws::String>
64 void SetBotVersion(BotVersionT&& value) {
65 m_botVersionHasBeenSet = true;
66 m_botVersion = std::forward<BotVersionT>(value);
67 }
68 template <typename BotVersionT = Aws::String>
69 BotVersionSummary& WithBotVersion(BotVersionT&& value) {
70 SetBotVersion(std::forward<BotVersionT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetDescription() const { return m_description; }
80 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
81 template <typename DescriptionT = Aws::String>
82 void SetDescription(DescriptionT&& value) {
83 m_descriptionHasBeenSet = true;
84 m_description = std::forward<DescriptionT>(value);
85 }
86 template <typename DescriptionT = Aws::String>
87 BotVersionSummary& WithDescription(DescriptionT&& value) {
88 SetDescription(std::forward<DescriptionT>(value));
89 return *this;
90 }
92
94
98 inline BotStatus GetBotStatus() const { return m_botStatus; }
99 inline bool BotStatusHasBeenSet() const { return m_botStatusHasBeenSet; }
100 inline void SetBotStatus(BotStatus value) {
101 m_botStatusHasBeenSet = true;
102 m_botStatus = value;
103 }
105 SetBotStatus(value);
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
115 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
116 template <typename CreationDateTimeT = Aws::Utils::DateTime>
117 void SetCreationDateTime(CreationDateTimeT&& value) {
118 m_creationDateTimeHasBeenSet = true;
119 m_creationDateTime = std::forward<CreationDateTimeT>(value);
120 }
121 template <typename CreationDateTimeT = Aws::Utils::DateTime>
122 BotVersionSummary& WithCreationDateTime(CreationDateTimeT&& value) {
123 SetCreationDateTime(std::forward<CreationDateTimeT>(value));
124 return *this;
125 }
127 private:
128 Aws::String m_botName;
129
130 Aws::String m_botVersion;
131
132 Aws::String m_description;
133
134 BotStatus m_botStatus{BotStatus::NOT_SET};
135
136 Aws::Utils::DateTime m_creationDateTime{};
137 bool m_botNameHasBeenSet = false;
138 bool m_botVersionHasBeenSet = false;
139 bool m_descriptionHasBeenSet = false;
140 bool m_botStatusHasBeenSet = false;
141 bool m_creationDateTimeHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace LexModelsV2
146} // namespace Aws
BotVersionSummary & WithBotName(BotNameT &&value)
BotVersionSummary & WithBotVersion(BotVersionT &&value)
BotVersionSummary & WithCreationDateTime(CreationDateTimeT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_LEXMODELSV2_API BotVersionSummary(Aws::Utils::Json::JsonView jsonValue)
BotVersionSummary & WithBotStatus(BotStatus value)
AWS_LEXMODELSV2_API BotVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BotVersionSummary & WithDescription(DescriptionT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_LEXMODELSV2_API BotVersionSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue