AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
51 inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
52 inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
53 inline BotVersionSummary& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
54 inline BotVersionSummary& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
55 inline BotVersionSummary& WithBotName(const char* value) { SetBotName(value); return *this;}
57
59
63 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
64 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
65 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
66 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
67 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
68 inline BotVersionSummary& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
69 inline BotVersionSummary& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
70 inline BotVersionSummary& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline BotVersionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline BotVersionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline BotVersionSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
92 inline const BotStatus& GetBotStatus() const{ return m_botStatus; }
93 inline bool BotStatusHasBeenSet() const { return m_botStatusHasBeenSet; }
94 inline void SetBotStatus(const BotStatus& value) { m_botStatusHasBeenSet = true; m_botStatus = value; }
95 inline void SetBotStatus(BotStatus&& value) { m_botStatusHasBeenSet = true; m_botStatus = std::move(value); }
96 inline BotVersionSummary& WithBotStatus(const BotStatus& value) { SetBotStatus(value); return *this;}
97 inline BotVersionSummary& WithBotStatus(BotStatus&& value) { SetBotStatus(std::move(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
105 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
106 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
107 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
109 inline BotVersionSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
111 private:
112
113 Aws::String m_botName;
114 bool m_botNameHasBeenSet = false;
115
116 Aws::String m_botVersion;
117 bool m_botVersionHasBeenSet = false;
118
119 Aws::String m_description;
120 bool m_descriptionHasBeenSet = false;
121
122 BotStatus m_botStatus;
123 bool m_botStatusHasBeenSet = false;
124
125 Aws::Utils::DateTime m_creationDateTime;
126 bool m_creationDateTimeHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace LexModelsV2
131} // namespace Aws
BotVersionSummary & WithBotStatus(BotStatus &&value)
BotVersionSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
void SetBotVersion(const Aws::String &value)
BotVersionSummary & WithDescription(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
BotVersionSummary & WithBotVersion(const Aws::String &value)
void SetBotStatus(const BotStatus &value)
BotVersionSummary & WithBotStatus(const BotStatus &value)
void SetBotName(const Aws::String &value)
BotVersionSummary & WithBotVersion(const char *value)
BotVersionSummary & WithBotName(const char *value)
BotVersionSummary & WithDescription(const Aws::String &value)
AWS_LEXMODELSV2_API BotVersionSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
BotVersionSummary & WithDescription(const char *value)
BotVersionSummary & WithBotName(Aws::String &&value)
BotVersionSummary & WithBotName(const Aws::String &value)
BotVersionSummary & WithBotVersion(Aws::String &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationDateTime() const
BotVersionSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue