AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BotVersionReplicaSummary.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/lexv2-models/model/BotVersionReplicationStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LEXMODELSV2_API BotVersionReplicaSummary() = default;
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
50 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
51 template<typename BotVersionT = Aws::String>
52 void SetBotVersion(BotVersionT&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::forward<BotVersionT>(value); }
53 template<typename BotVersionT = Aws::String>
54 BotVersionReplicaSummary& WithBotVersion(BotVersionT&& value) { SetBotVersion(std::forward<BotVersionT>(value)); return *this;}
56
58
61 inline BotVersionReplicationStatus GetBotVersionReplicationStatus() const { return m_botVersionReplicationStatus; }
62 inline bool BotVersionReplicationStatusHasBeenSet() const { return m_botVersionReplicationStatusHasBeenSet; }
63 inline void SetBotVersionReplicationStatus(BotVersionReplicationStatus value) { m_botVersionReplicationStatusHasBeenSet = true; m_botVersionReplicationStatus = value; }
66
68
72 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
73 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
74 template<typename CreationDateTimeT = Aws::Utils::DateTime>
75 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
76 template<typename CreationDateTimeT = Aws::Utils::DateTime>
77 BotVersionReplicaSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
79
81
84 inline const Aws::Vector<Aws::String>& GetFailureReasons() const { return m_failureReasons; }
85 inline bool FailureReasonsHasBeenSet() const { return m_failureReasonsHasBeenSet; }
86 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
87 void SetFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::forward<FailureReasonsT>(value); }
88 template<typename FailureReasonsT = Aws::Vector<Aws::String>>
89 BotVersionReplicaSummary& WithFailureReasons(FailureReasonsT&& value) { SetFailureReasons(std::forward<FailureReasonsT>(value)); return *this;}
90 template<typename FailureReasonsT = Aws::String>
91 BotVersionReplicaSummary& AddFailureReasons(FailureReasonsT&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.emplace_back(std::forward<FailureReasonsT>(value)); return *this; }
93 private:
94
95 Aws::String m_botVersion;
96 bool m_botVersionHasBeenSet = false;
97
99 bool m_botVersionReplicationStatusHasBeenSet = false;
100
101 Aws::Utils::DateTime m_creationDateTime{};
102 bool m_creationDateTimeHasBeenSet = false;
103
104 Aws::Vector<Aws::String> m_failureReasons;
105 bool m_failureReasonsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace LexModelsV2
110} // namespace Aws
BotVersionReplicaSummary & WithBotVersionReplicationStatus(BotVersionReplicationStatus value)
BotVersionReplicaSummary & WithCreationDateTime(CreationDateTimeT &&value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
AWS_LEXMODELSV2_API BotVersionReplicaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BotVersionReplicationStatus GetBotVersionReplicationStatus() const
AWS_LEXMODELSV2_API BotVersionReplicaSummary()=default
BotVersionReplicaSummary & WithFailureReasons(FailureReasonsT &&value)
AWS_LEXMODELSV2_API BotVersionReplicaSummary(Aws::Utils::Json::JsonView jsonValue)
BotVersionReplicaSummary & AddFailureReasons(FailureReasonsT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBotVersionReplicationStatus(BotVersionReplicationStatus value)
BotVersionReplicaSummary & WithBotVersion(BotVersionT &&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