AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BotAliasMetadata.h
1
6#pragma once
7#include <aws/lex-models/LexModelBuildingService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lex-models/model/ConversationLogsResponse.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 LexModelBuildingService
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata();
37 AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline BotAliasMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline BotAliasMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline BotAliasMetadata& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline BotAliasMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline BotAliasMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline BotAliasMetadata& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
74 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
75 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
76 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
77 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
78 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
79 inline BotAliasMetadata& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
80 inline BotAliasMetadata& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
81 inline BotAliasMetadata& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
83
85
88 inline const Aws::String& GetBotName() const{ return m_botName; }
89 inline bool BotNameHasBeenSet() const { return m_botNameHasBeenSet; }
90 inline void SetBotName(const Aws::String& value) { m_botNameHasBeenSet = true; m_botName = value; }
91 inline void SetBotName(Aws::String&& value) { m_botNameHasBeenSet = true; m_botName = std::move(value); }
92 inline void SetBotName(const char* value) { m_botNameHasBeenSet = true; m_botName.assign(value); }
93 inline BotAliasMetadata& WithBotName(const Aws::String& value) { SetBotName(value); return *this;}
94 inline BotAliasMetadata& WithBotName(Aws::String&& value) { SetBotName(std::move(value)); return *this;}
95 inline BotAliasMetadata& WithBotName(const char* value) { SetBotName(value); return *this;}
97
99
103 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
104 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
105 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
106 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
108 inline BotAliasMetadata& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreatedDate() const{ return m_createdDate; }
116 inline bool CreatedDateHasBeenSet() const { return m_createdDateHasBeenSet; }
117 inline void SetCreatedDate(const Aws::Utils::DateTime& value) { m_createdDateHasBeenSet = true; m_createdDate = value; }
118 inline void SetCreatedDate(Aws::Utils::DateTime&& value) { m_createdDateHasBeenSet = true; m_createdDate = std::move(value); }
119 inline BotAliasMetadata& WithCreatedDate(const Aws::Utils::DateTime& value) { SetCreatedDate(value); return *this;}
120 inline BotAliasMetadata& WithCreatedDate(Aws::Utils::DateTime&& value) { SetCreatedDate(std::move(value)); return *this;}
122
124
127 inline const Aws::String& GetChecksum() const{ return m_checksum; }
128 inline bool ChecksumHasBeenSet() const { return m_checksumHasBeenSet; }
129 inline void SetChecksum(const Aws::String& value) { m_checksumHasBeenSet = true; m_checksum = value; }
130 inline void SetChecksum(Aws::String&& value) { m_checksumHasBeenSet = true; m_checksum = std::move(value); }
131 inline void SetChecksum(const char* value) { m_checksumHasBeenSet = true; m_checksum.assign(value); }
132 inline BotAliasMetadata& WithChecksum(const Aws::String& value) { SetChecksum(value); return *this;}
133 inline BotAliasMetadata& WithChecksum(Aws::String&& value) { SetChecksum(std::move(value)); return *this;}
134 inline BotAliasMetadata& WithChecksum(const char* value) { SetChecksum(value); return *this;}
136
138
142 inline const ConversationLogsResponse& GetConversationLogs() const{ return m_conversationLogs; }
143 inline bool ConversationLogsHasBeenSet() const { return m_conversationLogsHasBeenSet; }
144 inline void SetConversationLogs(const ConversationLogsResponse& value) { m_conversationLogsHasBeenSet = true; m_conversationLogs = value; }
145 inline void SetConversationLogs(ConversationLogsResponse&& value) { m_conversationLogsHasBeenSet = true; m_conversationLogs = std::move(value); }
147 inline BotAliasMetadata& WithConversationLogs(ConversationLogsResponse&& value) { SetConversationLogs(std::move(value)); return *this;}
149 private:
150
151 Aws::String m_name;
152 bool m_nameHasBeenSet = false;
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156
157 Aws::String m_botVersion;
158 bool m_botVersionHasBeenSet = false;
159
160 Aws::String m_botName;
161 bool m_botNameHasBeenSet = false;
162
163 Aws::Utils::DateTime m_lastUpdatedDate;
164 bool m_lastUpdatedDateHasBeenSet = false;
165
166 Aws::Utils::DateTime m_createdDate;
167 bool m_createdDateHasBeenSet = false;
168
169 Aws::String m_checksum;
170 bool m_checksumHasBeenSet = false;
171
172 ConversationLogsResponse m_conversationLogs;
173 bool m_conversationLogsHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace LexModelBuildingService
178} // namespace Aws
BotAliasMetadata & WithDescription(Aws::String &&value)
BotAliasMetadata & WithName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedDate() const
BotAliasMetadata & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
BotAliasMetadata & WithBotVersion(const char *value)
BotAliasMetadata & WithBotVersion(Aws::String &&value)
BotAliasMetadata & WithChecksum(const char *value)
void SetConversationLogs(ConversationLogsResponse &&value)
BotAliasMetadata & WithBotName(const char *value)
BotAliasMetadata & WithBotName(const Aws::String &value)
BotAliasMetadata & WithCreatedDate(Aws::Utils::DateTime &&value)
BotAliasMetadata & WithChecksum(const Aws::String &value)
BotAliasMetadata & WithName(Aws::String &&value)
void SetConversationLogs(const ConversationLogsResponse &value)
BotAliasMetadata & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
BotAliasMetadata & WithName(const char *value)
AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata(Aws::Utils::Json::JsonView jsonValue)
BotAliasMetadata & WithConversationLogs(ConversationLogsResponse &&value)
AWS_LEXMODELBUILDINGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
BotAliasMetadata & WithBotVersion(const Aws::String &value)
const ConversationLogsResponse & GetConversationLogs() const
void SetCreatedDate(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
BotAliasMetadata & WithCreatedDate(const Aws::Utils::DateTime &value)
BotAliasMetadata & WithConversationLogs(const ConversationLogsResponse &value)
BotAliasMetadata & WithChecksum(Aws::String &&value)
BotAliasMetadata & WithBotName(Aws::String &&value)
BotAliasMetadata & WithDescription(const char *value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
BotAliasMetadata & WithDescription(const Aws::String &value)
AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata()
AWS_LEXMODELBUILDINGSERVICE_API BotAliasMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue