AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BotVersionSummary.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 <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 BotVersionSummary() = default;
39 AWS_LEXMODELSV2_API BotVersionSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetBotName() const { return m_botName; }
49 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
50 template<typename BotNameT = Aws::String>
51 void SetBotName(BotNameT&& value) { m_botNameHasBeenSet = true; m_botName = std::forward<BotNameT>(value); }
52 template<typename BotNameT = Aws::String>
53 BotVersionSummary& WithBotName(BotNameT&& value) { SetBotName(std::forward<BotNameT>(value)); return *this;}
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) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
65 template<typename BotVersionT = Aws::String>
66 BotVersionSummary& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDescription() const { return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 template<typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
77 template<typename DescriptionT = Aws::String>
78 BotVersionSummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
80
82
86 inline BotStatus GetBotStatus() const { return m_botStatus; }
87 inline bool BotStatusHasBeenSet() const { return m_botStatusHasBeenSet; }
88 inline void SetBotStatus(BotStatus value) { m_botStatusHasBeenSet = true; m_botStatus = value; }
89 inline BotVersionSummary& WithBotStatus(BotStatus value) { SetBotStatus(value); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
97 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
98 template<typename CreationDateTimeT = Aws::Utils::DateTime>
99 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
100 template<typename CreationDateTimeT = Aws::Utils::DateTime>
101 BotVersionSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
103 private:
104
105 Aws::String m_botName;
106 bool m_botNameHasBeenSet = false;
107
108 Aws::String m_botVersion;
109 bool m_botVersionHasBeenSet = false;
110
111 Aws::String m_description;
112 bool m_descriptionHasBeenSet = false;
113
114 BotStatus m_botStatus{BotStatus::NOT_SET};
115 bool m_botStatusHasBeenSet = false;
116
117 Aws::Utils::DateTime m_creationDateTime{};
118 bool m_creationDateTimeHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace LexModelsV2
123} // 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