AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBotVersionResult.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/core/utils/memory/stl/AWSMap.h>
10#include <aws/lexv2-models/model/BotStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/lexv2-models/model/BotVersionLocaleDetails.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace LexModelsV2
28{
29namespace Model
30{
32 {
33 public:
34 AWS_LEXMODELSV2_API CreateBotVersionResult();
37
38
40
43 inline const Aws::String& GetBotId() const{ return m_botId; }
44 inline void SetBotId(const Aws::String& value) { m_botId = value; }
45 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
46 inline void SetBotId(const char* value) { m_botId.assign(value); }
47 inline CreateBotVersionResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
48 inline CreateBotVersionResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
49 inline CreateBotVersionResult& WithBotId(const char* value) { SetBotId(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline void SetDescription(const Aws::String& value) { m_description = value; }
58 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
59 inline void SetDescription(const char* value) { m_description.assign(value); }
60 inline CreateBotVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
61 inline CreateBotVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
62 inline CreateBotVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
64
66
69 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
70 inline void SetBotVersion(const Aws::String& value) { m_botVersion = value; }
71 inline void SetBotVersion(Aws::String&& value) { m_botVersion = std::move(value); }
72 inline void SetBotVersion(const char* value) { m_botVersion.assign(value); }
73 inline CreateBotVersionResult& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
74 inline CreateBotVersionResult& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
75 inline CreateBotVersionResult& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
77
79
82 inline const Aws::Map<Aws::String, BotVersionLocaleDetails>& GetBotVersionLocaleSpecification() const{ return m_botVersionLocaleSpecification; }
83 inline void SetBotVersionLocaleSpecification(const Aws::Map<Aws::String, BotVersionLocaleDetails>& value) { m_botVersionLocaleSpecification = value; }
84 inline void SetBotVersionLocaleSpecification(Aws::Map<Aws::String, BotVersionLocaleDetails>&& value) { m_botVersionLocaleSpecification = std::move(value); }
87 inline CreateBotVersionResult& AddBotVersionLocaleSpecification(const Aws::String& key, const BotVersionLocaleDetails& value) { m_botVersionLocaleSpecification.emplace(key, value); return *this; }
88 inline CreateBotVersionResult& AddBotVersionLocaleSpecification(Aws::String&& key, const BotVersionLocaleDetails& value) { m_botVersionLocaleSpecification.emplace(std::move(key), value); return *this; }
89 inline CreateBotVersionResult& AddBotVersionLocaleSpecification(const Aws::String& key, BotVersionLocaleDetails&& value) { m_botVersionLocaleSpecification.emplace(key, std::move(value)); return *this; }
90 inline CreateBotVersionResult& AddBotVersionLocaleSpecification(Aws::String&& key, BotVersionLocaleDetails&& value) { m_botVersionLocaleSpecification.emplace(std::move(key), std::move(value)); return *this; }
91 inline CreateBotVersionResult& AddBotVersionLocaleSpecification(const char* key, BotVersionLocaleDetails&& value) { m_botVersionLocaleSpecification.emplace(key, std::move(value)); return *this; }
92 inline CreateBotVersionResult& AddBotVersionLocaleSpecification(const char* key, const BotVersionLocaleDetails& value) { m_botVersionLocaleSpecification.emplace(key, value); return *this; }
94
96
102 inline const BotStatus& GetBotStatus() const{ return m_botStatus; }
103 inline void SetBotStatus(const BotStatus& value) { m_botStatus = value; }
104 inline void SetBotStatus(BotStatus&& value) { m_botStatus = std::move(value); }
105 inline CreateBotVersionResult& WithBotStatus(const BotStatus& value) { SetBotStatus(value); return *this;}
106 inline CreateBotVersionResult& WithBotStatus(BotStatus&& value) { SetBotStatus(std::move(value)); return *this;}
108
110
113 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
114 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
115 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
117 inline CreateBotVersionResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
119
121
122 inline const Aws::String& GetRequestId() const{ return m_requestId; }
123 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
124 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
125 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
126 inline CreateBotVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
127 inline CreateBotVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
128 inline CreateBotVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
130 private:
131
132 Aws::String m_botId;
133
134 Aws::String m_description;
135
136 Aws::String m_botVersion;
137
138 Aws::Map<Aws::String, BotVersionLocaleDetails> m_botVersionLocaleSpecification;
139
140 BotStatus m_botStatus;
141
142 Aws::Utils::DateTime m_creationDateTime;
143
144 Aws::String m_requestId;
145 };
146
147} // namespace Model
148} // namespace LexModelsV2
149} // namespace Aws
CreateBotVersionResult & WithBotId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
CreateBotVersionResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
CreateBotVersionResult & WithBotVersion(Aws::String &&value)
CreateBotVersionResult & WithRequestId(Aws::String &&value)
CreateBotVersionResult & WithBotVersionLocaleSpecification(Aws::Map< Aws::String, BotVersionLocaleDetails > &&value)
void SetBotVersionLocaleSpecification(const Aws::Map< Aws::String, BotVersionLocaleDetails > &value)
CreateBotVersionResult & WithBotVersion(const char *value)
CreateBotVersionResult & AddBotVersionLocaleSpecification(const Aws::String &key, BotVersionLocaleDetails &&value)
const Aws::Map< Aws::String, BotVersionLocaleDetails > & GetBotVersionLocaleSpecification() const
AWS_LEXMODELSV2_API CreateBotVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBotVersionResult & AddBotVersionLocaleSpecification(Aws::String &&key, BotVersionLocaleDetails &&value)
void SetBotVersionLocaleSpecification(Aws::Map< Aws::String, BotVersionLocaleDetails > &&value)
CreateBotVersionResult & WithBotVersionLocaleSpecification(const Aws::Map< Aws::String, BotVersionLocaleDetails > &value)
CreateBotVersionResult & WithDescription(const Aws::String &value)
CreateBotVersionResult & WithBotId(Aws::String &&value)
CreateBotVersionResult & WithBotVersion(const Aws::String &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
CreateBotVersionResult & WithRequestId(const char *value)
CreateBotVersionResult & AddBotVersionLocaleSpecification(const Aws::String &key, const BotVersionLocaleDetails &value)
AWS_LEXMODELSV2_API CreateBotVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateBotVersionResult & WithBotId(const char *value)
CreateBotVersionResult & AddBotVersionLocaleSpecification(Aws::String &&key, const BotVersionLocaleDetails &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
CreateBotVersionResult & WithBotStatus(const BotStatus &value)
CreateBotVersionResult & AddBotVersionLocaleSpecification(const char *key, const BotVersionLocaleDetails &value)
CreateBotVersionResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
CreateBotVersionResult & WithDescription(const char *value)
CreateBotVersionResult & WithRequestId(const Aws::String &value)
CreateBotVersionResult & WithDescription(Aws::String &&value)
CreateBotVersionResult & AddBotVersionLocaleSpecification(const char *key, BotVersionLocaleDetails &&value)
CreateBotVersionResult & WithBotStatus(BotStatus &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue