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/BotVersionReplicationStatus.h>
22namespace LexModelsV2 {
45 template <
typename BotVersionT = Aws::String>
47 m_botVersionHasBeenSet =
true;
48 m_botVersion = std::forward<BotVersionT>(value);
50 template <
typename BotVersionT = Aws::String>
64 m_botVersionReplicationStatusHasBeenSet =
true;
65 m_botVersionReplicationStatus = value;
80 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
82 m_creationDateTimeHasBeenSet =
true;
83 m_creationDateTime = std::forward<CreationDateTimeT>(value);
85 template <
typename CreationDateTimeT = Aws::Utils::DateTime>
98 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
100 m_failureReasonsHasBeenSet =
true;
101 m_failureReasons = std::forward<FailureReasonsT>(value);
103 template <
typename FailureReasonsT = Aws::Vector<Aws::String>>
108 template <
typename FailureReasonsT = Aws::String>
110 m_failureReasonsHasBeenSet =
true;
111 m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value));
123 bool m_botVersionHasBeenSet =
false;
124 bool m_botVersionReplicationStatusHasBeenSet =
false;
125 bool m_creationDateTimeHasBeenSet =
false;
126 bool m_failureReasonsHasBeenSet =
false;
BotVersionReplicaSummary & WithBotVersionReplicationStatus(BotVersionReplicationStatus value)
BotVersionReplicaSummary & WithCreationDateTime(CreationDateTimeT &&value)
bool CreationDateTimeHasBeenSet() const
const Aws::Vector< Aws::String > & GetFailureReasons() const
AWS_LEXMODELSV2_API BotVersionReplicaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BotVersionReplicationStatus GetBotVersionReplicationStatus() const
void SetCreationDateTime(CreationDateTimeT &&value)
AWS_LEXMODELSV2_API BotVersionReplicaSummary()=default
BotVersionReplicaSummary & WithFailureReasons(FailureReasonsT &&value)
void SetFailureReasons(FailureReasonsT &&value)
bool BotVersionHasBeenSet() const
void SetBotVersion(BotVersionT &&value)
AWS_LEXMODELSV2_API BotVersionReplicaSummary(Aws::Utils::Json::JsonView jsonValue)
BotVersionReplicaSummary & AddFailureReasons(FailureReasonsT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
const Aws::String & GetBotVersion() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
bool BotVersionReplicationStatusHasBeenSet() const
void SetBotVersionReplicationStatus(BotVersionReplicationStatus value)
bool FailureReasonsHasBeenSet() const
BotVersionReplicaSummary & WithBotVersion(BotVersionT &&value)
BotVersionReplicationStatus
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue