AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateBotReplicaResult.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/DateTime.h>
10#include <aws/lexv2-models/model/BotReplicaStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_LEXMODELSV2_API CreateBotReplicaResult();
35
36
38
41 inline const Aws::String& GetBotId() const{ return m_botId; }
42 inline void SetBotId(const Aws::String& value) { m_botId = value; }
43 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
44 inline void SetBotId(const char* value) { m_botId.assign(value); }
45 inline CreateBotReplicaResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
46 inline CreateBotReplicaResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
47 inline CreateBotReplicaResult& WithBotId(const char* value) { SetBotId(value); return *this;}
49
51
54 inline const Aws::String& GetReplicaRegion() const{ return m_replicaRegion; }
55 inline void SetReplicaRegion(const Aws::String& value) { m_replicaRegion = value; }
56 inline void SetReplicaRegion(Aws::String&& value) { m_replicaRegion = std::move(value); }
57 inline void SetReplicaRegion(const char* value) { m_replicaRegion.assign(value); }
58 inline CreateBotReplicaResult& WithReplicaRegion(const Aws::String& value) { SetReplicaRegion(value); return *this;}
59 inline CreateBotReplicaResult& WithReplicaRegion(Aws::String&& value) { SetReplicaRegion(std::move(value)); return *this;}
60 inline CreateBotReplicaResult& WithReplicaRegion(const char* value) { SetReplicaRegion(value); return *this;}
62
64
68 inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; }
69 inline void SetSourceRegion(const Aws::String& value) { m_sourceRegion = value; }
70 inline void SetSourceRegion(Aws::String&& value) { m_sourceRegion = std::move(value); }
71 inline void SetSourceRegion(const char* value) { m_sourceRegion.assign(value); }
72 inline CreateBotReplicaResult& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;}
73 inline CreateBotReplicaResult& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;}
74 inline CreateBotReplicaResult& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
82 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTime = value; }
83 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTime = std::move(value); }
85 inline CreateBotReplicaResult& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
87
89
92 inline const BotReplicaStatus& GetBotReplicaStatus() const{ return m_botReplicaStatus; }
93 inline void SetBotReplicaStatus(const BotReplicaStatus& value) { m_botReplicaStatus = value; }
94 inline void SetBotReplicaStatus(BotReplicaStatus&& value) { m_botReplicaStatus = std::move(value); }
96 inline CreateBotReplicaResult& WithBotReplicaStatus(BotReplicaStatus&& value) { SetBotReplicaStatus(std::move(value)); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline CreateBotReplicaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline CreateBotReplicaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline CreateBotReplicaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_botId;
112
113 Aws::String m_replicaRegion;
114
115 Aws::String m_sourceRegion;
116
117 Aws::Utils::DateTime m_creationDateTime;
118
119 BotReplicaStatus m_botReplicaStatus;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace LexModelsV2
126} // namespace Aws
CreateBotReplicaResult & WithBotReplicaStatus(const BotReplicaStatus &value)
CreateBotReplicaResult & WithBotId(Aws::String &&value)
CreateBotReplicaResult & WithSourceRegion(Aws::String &&value)
CreateBotReplicaResult & WithBotReplicaStatus(BotReplicaStatus &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
CreateBotReplicaResult & WithBotId(const Aws::String &value)
CreateBotReplicaResult & WithReplicaRegion(const char *value)
CreateBotReplicaResult & WithSourceRegion(const char *value)
void SetBotReplicaStatus(const BotReplicaStatus &value)
CreateBotReplicaResult & WithRequestId(Aws::String &&value)
CreateBotReplicaResult & WithReplicaRegion(const Aws::String &value)
CreateBotReplicaResult & WithRequestId(const char *value)
CreateBotReplicaResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
CreateBotReplicaResult & WithReplicaRegion(Aws::String &&value)
AWS_LEXMODELSV2_API CreateBotReplicaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetCreationDateTime() const
CreateBotReplicaResult & WithRequestId(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
CreateBotReplicaResult & WithBotId(const char *value)
CreateBotReplicaResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
CreateBotReplicaResult & WithSourceRegion(const Aws::String &value)
AWS_LEXMODELSV2_API CreateBotReplicaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue