AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BotSummary.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/BotStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/lexv2-models/model/BotType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_LEXMODELSV2_API BotSummary();
40 AWS_LEXMODELSV2_API BotSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API BotSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::String& GetBotId() const{ return m_botId; }
53 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
54 inline void SetBotId(const Aws::String& value) { m_botIdHasBeenSet = true; m_botId = value; }
55 inline void SetBotId(Aws::String&& value) { m_botIdHasBeenSet = true; m_botId = std::move(value); }
56 inline void SetBotId(const char* value) { m_botIdHasBeenSet = true; m_botId.assign(value); }
57 inline BotSummary& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
58 inline BotSummary& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
59 inline BotSummary& WithBotId(const char* value) { SetBotId(value); return *this;}
61
63
66 inline const Aws::String& GetBotName() const{ return m_botName; }
67 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
68 inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
69 inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
70 inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
71 inline BotSummary& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
72 inline BotSummary& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
73 inline BotSummary& WithBotName(const char* value) { SetBotName(value); return *this;}
75
77
80 inline const Aws::String& GetDescription() const{ return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
83 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
84 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
85 inline BotSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
86 inline BotSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
87 inline BotSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
89
91
95 inline const BotStatus& GetBotStatus() const{ return m_botStatus; }
96 inline bool BotStatusHasBeenSet() const { return m_botStatusHasBeenSet; }
97 inline void SetBotStatus(const BotStatus& value) { m_botStatusHasBeenSet = true; m_botStatus = value; }
98 inline void SetBotStatus(BotStatus&& value) { m_botStatusHasBeenSet = true; m_botStatus = std::move(value); }
99 inline BotSummary& WithBotStatus(const BotStatus& value) { SetBotStatus(value); return *this;}
100 inline BotSummary& WithBotStatus(BotStatus&& value) { SetBotStatus(std::move(value)); return *this;}
102
104
107 inline const Aws::String& GetLatestBotVersion() const{ return m_latestBotVersion; }
108 inline bool LatestBotVersionHasBeenSet() const { return m_latestBotVersionHasBeenSet; }
109 inline void SetLatestBotVersion(const Aws::String& value) { m_latestBotVersionHasBeenSet = true; m_latestBotVersion = value; }
110 inline void SetLatestBotVersion(Aws::String&& value) { m_latestBotVersionHasBeenSet = true; m_latestBotVersion = std::move(value); }
111 inline void SetLatestBotVersion(const char* value) { m_latestBotVersionHasBeenSet = true; m_latestBotVersion.assign(value); }
112 inline BotSummary& WithLatestBotVersion(const Aws::String& value) { SetLatestBotVersion(value); return *this;}
113 inline BotSummary& WithLatestBotVersion(Aws::String&& value) { SetLatestBotVersion(std::move(value)); return *this;}
114 inline BotSummary& WithLatestBotVersion(const char* value) { SetLatestBotVersion(value); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
122 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
123 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
124 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
126 inline BotSummary& WithLastUpdatedDateTime(Aws::Utils::DateTime&& value) { SetLastUpdatedDateTime(std::move(value)); return *this;}
128
130
133 inline const BotType& GetBotType() const{ return m_botType; }
134 inline bool BotTypeHasBeenSet() const { return m_botTypeHasBeenSet; }
135 inline void SetBotType(const BotType& value) { m_botTypeHasBeenSet = true; m_botType = value; }
136 inline void SetBotType(BotType&& value) { m_botTypeHasBeenSet = true; m_botType = std::move(value); }
137 inline BotSummary& WithBotType(const BotType& value) { SetBotType(value); return *this;}
138 inline BotSummary& WithBotType(BotType&& value) { SetBotType(std::move(value)); return *this;}
140 private:
141
142 Aws::String m_botId;
143 bool m_botIdHasBeenSet = false;
144
145 Aws::String m_botName;
146 bool m_botNameHasBeenSet = false;
147
148 Aws::String m_description;
149 bool m_descriptionHasBeenSet = false;
150
151 BotStatus m_botStatus;
152 bool m_botStatusHasBeenSet = false;
153
154 Aws::String m_latestBotVersion;
155 bool m_latestBotVersionHasBeenSet = false;
156
157 Aws::Utils::DateTime m_lastUpdatedDateTime;
158 bool m_lastUpdatedDateTimeHasBeenSet = false;
159
160 BotType m_botType;
161 bool m_botTypeHasBeenSet = false;
162 };
163
164} // namespace Model
165} // namespace LexModelsV2
166} // namespace Aws
void SetDescription(Aws::String &&value)
Definition BotSummary.h:83
BotSummary & WithBotType(BotType &&value)
Definition BotSummary.h:138
BotSummary & WithDescription(Aws::String &&value)
Definition BotSummary.h:86
const Aws::String & GetLatestBotVersion() const
Definition BotSummary.h:107
BotSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition BotSummary.h:125
BotSummary & WithBotName(const Aws::String &value)
Definition BotSummary.h:71
const Aws::String & GetBotName() const
Definition BotSummary.h:66
BotSummary & WithBotId(const char *value)
Definition BotSummary.h:59
void SetBotId(const char *value)
Definition BotSummary.h:56
void SetBotId(const Aws::String &value)
Definition BotSummary.h:54
AWS_LEXMODELSV2_API BotSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BotSummary & WithDescription(const Aws::String &value)
Definition BotSummary.h:85
void SetBotName(Aws::String &&value)
Definition BotSummary.h:69
void SetBotName(const char *value)
Definition BotSummary.h:70
void SetBotType(const BotType &value)
Definition BotSummary.h:135
void SetBotStatus(BotStatus &&value)
Definition BotSummary.h:98
BotSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition BotSummary.h:126
BotSummary & WithBotName(Aws::String &&value)
Definition BotSummary.h:72
void SetLatestBotVersion(const Aws::String &value)
Definition BotSummary.h:109
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
Definition BotSummary.h:123
void SetDescription(const Aws::String &value)
Definition BotSummary.h:82
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotSummary & WithBotStatus(const BotStatus &value)
Definition BotSummary.h:99
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
Definition BotSummary.h:124
AWS_LEXMODELSV2_API BotSummary(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(const char *value)
Definition BotSummary.h:84
const BotType & GetBotType() const
Definition BotSummary.h:133
const BotStatus & GetBotStatus() const
Definition BotSummary.h:95
const Aws::String & GetBotId() const
Definition BotSummary.h:52
void SetBotName(const Aws::String &value)
Definition BotSummary.h:68
void SetBotId(Aws::String &&value)
Definition BotSummary.h:55
BotSummary & WithBotName(const char *value)
Definition BotSummary.h:73
BotSummary & WithBotId(Aws::String &&value)
Definition BotSummary.h:58
BotSummary & WithLatestBotVersion(Aws::String &&value)
Definition BotSummary.h:113
BotSummary & WithDescription(const char *value)
Definition BotSummary.h:87
BotSummary & WithLatestBotVersion(const char *value)
Definition BotSummary.h:114
void SetBotType(BotType &&value)
Definition BotSummary.h:136
void SetBotStatus(const BotStatus &value)
Definition BotSummary.h:97
BotSummary & WithBotId(const Aws::String &value)
Definition BotSummary.h:57
void SetLatestBotVersion(const char *value)
Definition BotSummary.h:111
BotSummary & WithBotType(const BotType &value)
Definition BotSummary.h:137
BotSummary & WithLatestBotVersion(const Aws::String &value)
Definition BotSummary.h:112
const Aws::String & GetDescription() const
Definition BotSummary.h:80
void SetLatestBotVersion(Aws::String &&value)
Definition BotSummary.h:110
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition BotSummary.h:121
BotSummary & WithBotStatus(BotStatus &&value)
Definition BotSummary.h:100
AWS_LEXMODELSV2_API BotSummary()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue