7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
11#include <aws/lexv2-models/model/BotReplicaStatus.h>
22namespace LexModelsV2 {
44 template <
typename ReplicaRegionT = Aws::String>
46 m_replicaRegionHasBeenSet =
true;
47 m_replicaRegion = std::forward<ReplicaRegionT>(value);
49 template <
typename ReplicaRegionT = Aws::String>
62 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
64 m_creationDateTimeHasBeenSet =
true;
65 m_creationDateTime = std::forward<CreationDateTimeT>(value);
67 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
81 m_botReplicaStatusHasBeenSet =
true;
82 m_botReplicaStatus = value;
96 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
98 m_failureReasonsHasBeenSet =
true;
99 m_failureReasons = std::forward<FailureReasonsT>(value);
101 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
106 template <
typename FailureReasonsT = Aws::String>
108 m_failureReasonsHasBeenSet =
true;
109 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
121 bool m_replicaRegionHasBeenSet =
false;
122 bool m_creationDateTimeHasBeenSet =
false;
123 bool m_botReplicaStatusHasBeenSet =
false;
124 bool m_failureReasonsHasBeenSet =
false;
void SetBotReplicaStatus(BotReplicaStatus value)
bool BotReplicaStatusHasBeenSet() const
AWS_LEXMODELSV2_API BotReplicaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetReplicaRegion() const
bool ReplicaRegionHasBeenSet() const
void SetReplicaRegion(ReplicaRegionT &&value)
void SetCreationDateTime(CreationDateTimeT &&value)
BotReplicaSummary & WithBotReplicaStatus(BotReplicaStatus value)
BotReplicaSummary & AddFailureReasons(FailureReasonsT &&value)
void SetFailureReasons(FailureReasonsT &&value)
bool FailureReasonsHasBeenSet() const
AWS_LEXMODELSV2_API BotReplicaSummary(Aws::Utils::Json::JsonView jsonValue)
bool CreationDateTimeHasBeenSet() const
const Aws::Vector< Aws::String > & GetFailureReasons() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotReplicaStatus GetBotReplicaStatus() const
BotReplicaSummary & WithReplicaRegion(ReplicaRegionT &&value)
BotReplicaSummary & WithCreationDateTime(CreationDateTimeT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
BotReplicaSummary & WithFailureReasons(FailureReasonsT &&value)
AWS_LEXMODELSV2_API BotReplicaSummary()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue