AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename BotIdT = Aws::String>
55 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
56 template<typename BotIdT = Aws::String>
57 BotSummary& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
59
61
64 inline const Aws::String& GetBotName() const { return m_botName; }
65 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
66 template<typename BotNameT = Aws::String>
67 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
68 template<typename BotNameT = Aws::String>
69 BotSummary& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template<typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
80 template<typename DescriptionT = Aws::String>
81 BotSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
83
85
89 inline BotStatus GetBotStatus() const { return m_botStatus; }
90 inline bool BotStatusHasBeenSet() const { return m_botStatusHasBeenSet; }
91 inline void SetBotStatus(BotStatus value) { m_botStatusHasBeenSet = true; m_botStatus = value; }
92 inline BotSummary& WithBotStatus(BotStatus value) { SetBotStatus(value); return *this;}
94
96
99 inline const Aws::String& GetLatestBotVersion() const { return m_latestBotVersion; }
100 inline bool LatestBotVersionHasBeenSet() const { return m_latestBotVersionHasBeenSet; }
101 template<typename LatestBotVersionT = Aws::String>
102 void SetLatestBotVersion(LatestBotVersionT&& value) { m_latestBotVersionHasBeenSet = true; m_latestBotVersion = std::forward<LatestBotVersionT>(value); }
103 template<typename LatestBotVersionT = Aws::String>
104 BotSummary& WithLatestBotVersion(LatestBotVersionT&& value) { SetLatestBotVersion(std::forward<LatestBotVersionT>(value)); return *this;}
106
108
111 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
112 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
113 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
114 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
115 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
116 BotSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
118
120
123 inline BotType GetBotType() const { return m_botType; }
124 inline bool BotTypeHasBeenSet() const { return m_botTypeHasBeenSet; }
125 inline void SetBotType(BotType value) { m_botTypeHasBeenSet = true; m_botType = value; }
126 inline BotSummary& WithBotType(BotType value) { SetBotType(value); return *this;}
128 private:
129
130 Aws::String m_botId;
131 bool m_botIdHasBeenSet = false;
132
133 Aws::String m_botName;
134 bool m_botNameHasBeenSet = false;
135
136 Aws::String m_description;
137 bool m_descriptionHasBeenSet = false;
138
139 BotStatus m_botStatus{BotStatus::NOT_SET};
140 bool m_botStatusHasBeenSet = false;
141
142 Aws::String m_latestBotVersion;
143 bool m_latestBotVersionHasBeenSet = false;
144
145 Aws::Utils::DateTime m_lastUpdatedDateTime{};
146 bool m_lastUpdatedDateTimeHasBeenSet = false;
147
148 BotType m_botType{BotType::NOT_SET};
149 bool m_botTypeHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace LexModelsV2
154} // namespace Aws
AWS_LEXMODELSV2_API BotSummary()=default
const Aws::String & GetLatestBotVersion() const
Definition BotSummary.h:99
BotSummary & WithBotName(BotNameT &&value)
Definition BotSummary.h:69
const Aws::String & GetBotName() const
Definition BotSummary.h:64
AWS_LEXMODELSV2_API BotSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDescription(DescriptionT &&value)
Definition BotSummary.h:79
void SetLatestBotVersion(LatestBotVersionT &&value)
Definition BotSummary.h:102
BotSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Definition BotSummary.h:116
BotSummary & WithDescription(DescriptionT &&value)
Definition BotSummary.h:81
void SetBotName(BotNameT &&value)
Definition BotSummary.h:67
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API BotSummary(Aws::Utils::Json::JsonView jsonValue)
void SetBotStatus(BotStatus value)
Definition BotSummary.h:91
void SetBotId(BotIdT &&value)
Definition BotSummary.h:55
const Aws::String & GetBotId() const
Definition BotSummary.h:52
BotSummary & WithLatestBotVersion(LatestBotVersionT &&value)
Definition BotSummary.h:104
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
Definition BotSummary.h:114
BotSummary & WithBotStatus(BotStatus value)
Definition BotSummary.h:92
BotSummary & WithBotType(BotType value)
Definition BotSummary.h:126
const Aws::String & GetDescription() const
Definition BotSummary.h:76
BotSummary & WithBotId(BotIdT &&value)
Definition BotSummary.h:57
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
Definition BotSummary.h:111
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue