AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
36
37
39
42 inline const Aws::String& GetBotId() const { return m_botId; }
43 template<typename BotIdT = Aws::String>
44 void SetBotId(BotIdT&& value) { m_botIdHasBeenSet = true; m_botId = std::forward<BotIdT>(value); }
45 template<typename BotIdT = Aws::String>
46 DescribeBotReplicaResult& WithBotId(BotIdT&& value) { SetBotId(std::forward<BotIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetReplicaRegion() const { return m_replicaRegion; }
54 template<typename ReplicaRegionT = Aws::String>
55 void SetReplicaRegion(ReplicaRegionT&& value) { m_replicaRegionHasBeenSet = true; m_replicaRegion = std::forward<ReplicaRegionT>(value); }
56 template<typename ReplicaRegionT = Aws::String>
57 DescribeBotReplicaResult& WithReplicaRegion(ReplicaRegionT&& value) { SetReplicaRegion(std::forward<ReplicaRegionT>(value)); return *this;}
59
61
64 inline const Aws::String& GetSourceRegion() const { return m_sourceRegion; }
65 template<typename SourceRegionT = Aws::String>
66 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::forward<SourceRegionT>(value); }
67 template<typename SourceRegionT = Aws::String>
68 DescribeBotReplicaResult& WithSourceRegion(SourceRegionT&& value) { SetSourceRegion(std::forward<SourceRegionT>(value)); return *this;}
70
72
75 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
76 template<typename CreationDateTimeT = Aws::Utils::DateTime>
77 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
78 template<typename CreationDateTimeT = Aws::Utils::DateTime>
79 DescribeBotReplicaResult& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
81
83
86 inline BotReplicaStatus GetBotReplicaStatus() const { return m_botReplicaStatus; }
87 inline void SetBotReplicaStatus(BotReplicaStatus value) { m_botReplicaStatusHasBeenSet = true; m_botReplicaStatus = value; }
90
92
95 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
96 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
97 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
98 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
99 DescribeBotReplicaResult& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
100 template<typename FailureReasonsT = Aws::String>
101 DescribeBotReplicaResult& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
103
105
106 inline const Aws::String& GetRequestId() const { return m_requestId; }
107 template<typename RequestIdT = Aws::String>
108 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
109 template<typename RequestIdT = Aws::String>
110 DescribeBotReplicaResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
112 private:
113
114 Aws::String m_botId;
115 bool m_botIdHasBeenSet = false;
116
117 Aws::String m_replicaRegion;
118 bool m_replicaRegionHasBeenSet = false;
119
120 Aws::String m_sourceRegion;
121 bool m_sourceRegionHasBeenSet = false;
122
123 Aws::Utils::DateTime m_creationDateTime{};
124 bool m_creationDateTimeHasBeenSet = false;
125
127 bool m_botReplicaStatusHasBeenSet = false;
128
129 Aws::Vector<Aws::String> m_failureReasons;
130 bool m_failureReasonsHasBeenSet = false;
131
132 Aws::String m_requestId;
133 bool m_requestIdHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace LexModelsV2
138} // namespace Aws
DescribeBotReplicaResult & WithSourceRegion(SourceRegionT &&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 & AddFailureReasons(FailureReasonsT &&value)
DescribeBotReplicaResult & WithBotId(BotIdT &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
DescribeBotReplicaResult & WithBotReplicaStatus(BotReplicaStatus value)
DescribeBotReplicaResult & WithReplicaRegion(ReplicaRegionT &&value)
DescribeBotReplicaResult & WithFailureReasons(FailureReasonsT &&value)
DescribeBotReplicaResult & WithRequestId(RequestIdT &&value)
DescribeBotReplicaResult & WithCreationDateTime(CreationDateTimeT &&value)
AWS_LEXMODELSV2_API DescribeBotReplicaResult()=default
const Aws::Utils::DateTime & GetCreationDateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue