AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeBotReplicaResult.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 <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LexModelsV2
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LEXMODELSV2_API DescribeBotReplicaResult();
36
37
39
42 inline const Aws::String& GetBotId() const{ return m_botId; }
43 inline void SetBotId(const Aws::String& value) { m_botId = value; }
44 inline void SetBotId(Aws::String&& value) { m_botId = std::move(value); }
45 inline void SetBotId(const char* value) { m_botId.assign(value); }
46 inline DescribeBotReplicaResult& WithBotId(const Aws::String& value) { SetBotId(value); return *this;}
47 inline DescribeBotReplicaResult& WithBotId(Aws::String&& value) { SetBotId(std::move(value)); return *this;}
48 inline DescribeBotReplicaResult& WithBotId(const char* value) { SetBotId(value); return *this;}
50
52
55 inline const Aws::String& GetReplicaRegion() const{ return m_replicaRegion; }
56 inline void SetReplicaRegion(const Aws::String& value) { m_replicaRegion = value; }
57 inline void SetReplicaRegion(Aws::String&& value) { m_replicaRegion = std::move(value); }
58 inline void SetReplicaRegion(const char* value) { m_replicaRegion.assign(value); }
59 inline DescribeBotReplicaResult& WithReplicaRegion(const Aws::String& value) { SetReplicaRegion(value); return *this;}
60 inline DescribeBotReplicaResult& WithReplicaRegion(Aws::String&& value) { SetReplicaRegion(std::move(value)); return *this;}
61 inline DescribeBotReplicaResult& WithReplicaRegion(const char* value) { SetReplicaRegion(value); return *this;}
63
65
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 DescribeBotReplicaResult& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;}
73 inline DescribeBotReplicaResult& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;}
74 inline DescribeBotReplicaResult& 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); }
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 DescribeBotReplicaResult& WithBotReplicaStatus(BotReplicaStatus&& value) { SetBotReplicaStatus(std::move(value)); return *this;}
98
100
103 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
104 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasons = value; }
105 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasons = std::move(value); }
108 inline DescribeBotReplicaResult& AddFailureReasons(const Aws::String& value) { m_failureReasons.push_back(value); return *this; }
109 inline DescribeBotReplicaResult& AddFailureReasons(Aws::String&& value) { m_failureReasons.push_back(std::move(value)); return *this; }
110 inline DescribeBotReplicaResult& AddFailureReasons(const char* value) { m_failureReasons.push_back(value); return *this; }
112
114
115 inline const Aws::String& GetRequestId() const{ return m_requestId; }
116 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
117 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
118 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
119 inline DescribeBotReplicaResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
120 inline DescribeBotReplicaResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
121 inline DescribeBotReplicaResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
123 private:
124
125 Aws::String m_botId;
126
127 Aws::String m_replicaRegion;
128
129 Aws::String m_sourceRegion;
130
131 Aws::Utils::DateTime m_creationDateTime;
132
133 BotReplicaStatus m_botReplicaStatus;
134
135 Aws::Vector<Aws::String> m_failureReasons;
136
137 Aws::String m_requestId;
138 };
139
140} // namespace Model
141} // namespace LexModelsV2
142} // namespace Aws
DescribeBotReplicaResult & WithReplicaRegion(Aws::String &&value)
DescribeBotReplicaResult & WithBotId(Aws::String &&value)
DescribeBotReplicaResult & WithReplicaRegion(const Aws::String &value)
DescribeBotReplicaResult & AddFailureReasons(const Aws::String &value)
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeBotReplicaResult & AddFailureReasons(Aws::String &&value)
DescribeBotReplicaResult & WithSourceRegion(const Aws::String &value)
DescribeBotReplicaResult & WithReplicaRegion(const char *value)
AWS_LEXMODELSV2_API DescribeBotReplicaResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LEXMODELSV2_API DescribeBotReplicaResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeBotReplicaResult & WithFailureReasons(const Aws::Vector< Aws::String > &value)
DescribeBotReplicaResult & WithRequestId(Aws::String &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeBotReplicaResult & WithSourceRegion(const char *value)
DescribeBotReplicaResult & WithSourceRegion(Aws::String &&value)
DescribeBotReplicaResult & WithCreationDateTime(Aws::Utils::DateTime &&value)
DescribeBotReplicaResult & WithBotId(const Aws::String &value)
DescribeBotReplicaResult & WithFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeBotReplicaResult & WithRequestId(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
DescribeBotReplicaResult & WithBotReplicaStatus(BotReplicaStatus &&value)
DescribeBotReplicaResult & AddFailureReasons(const char *value)
DescribeBotReplicaResult & WithBotId(const char *value)
DescribeBotReplicaResult & WithBotReplicaStatus(const BotReplicaStatus &value)
void SetBotReplicaStatus(const BotReplicaStatus &value)
DescribeBotReplicaResult & WithCreationDateTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
DescribeBotReplicaResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue