AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BotAliasReplicaSummary.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/BotAliasReplicationStatus.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 BotAliasReplicaSummary();
39 AWS_LEXMODELSV2_API BotAliasReplicaSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetBotAliasId() const{ return m_botAliasId; }
49 inline bool BotAliasIdHasBeenSet() const { return m_botAliasIdHasBeenSet; }
50 inline void SetBotAliasId(const Aws::String& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = value; }
51 inline void SetBotAliasId(Aws::String&& value) { m_botAliasIdHasBeenSet = true; m_botAliasId = std::move(value); }
52 inline void SetBotAliasId(const char* value) { m_botAliasIdHasBeenSet = true; m_botAliasId.assign(value); }
53 inline BotAliasReplicaSummary& WithBotAliasId(const Aws::String& value) { SetBotAliasId(value); return *this;}
54 inline BotAliasReplicaSummary& WithBotAliasId(Aws::String&& value) { SetBotAliasId(std::move(value)); return *this;}
55 inline BotAliasReplicaSummary& WithBotAliasId(const char* value) { SetBotAliasId(value); return *this;}
57
59
62 inline const BotAliasReplicationStatus& GetBotAliasReplicationStatus() const{ return m_botAliasReplicationStatus; }
63 inline bool BotAliasReplicationStatusHasBeenSet() const { return m_botAliasReplicationStatusHasBeenSet; }
64 inline void SetBotAliasReplicationStatus(const BotAliasReplicationStatus& value) { m_botAliasReplicationStatusHasBeenSet = true; m_botAliasReplicationStatus = value; }
65 inline void SetBotAliasReplicationStatus(BotAliasReplicationStatus&& value) { m_botAliasReplicationStatusHasBeenSet = true; m_botAliasReplicationStatus = std::move(value); }
69
71
74 inline const Aws::String& GetBotVersion() const{ return m_botVersion; }
75 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
76 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
77 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
78 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
79 inline BotAliasReplicaSummary& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
80 inline BotAliasReplicaSummary& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
81 inline BotAliasReplicaSummary& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
89 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
90 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
91 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
93 inline BotAliasReplicaSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
101 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
102 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
103 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
107
109
112 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
113 inline bool FailureReasonsHasBeenSet() const { return m_failureReasonsHasBeenSet; }
114 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = value; }
115 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::move(value); }
117 inline BotAliasReplicaSummary& WithFailureReasons(Aws::Vector<Aws::String>&& value) { SetFailureReasons(std::move(value)); return *this;}
118 inline BotAliasReplicaSummary& AddFailureReasons(const Aws::String& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(value); return *this; }
119 inline BotAliasReplicaSummary& AddFailureReasons(Aws::String&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(std::move(value)); return *this; }
120 inline BotAliasReplicaSummary& AddFailureReasons(const char* value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(value); return *this; }
122 private:
123
124 Aws::String m_botAliasId;
125 bool m_botAliasIdHasBeenSet = false;
126
127 BotAliasReplicationStatus m_botAliasReplicationStatus;
128 bool m_botAliasReplicationStatusHasBeenSet = false;
129
130 Aws::String m_botVersion;
131 bool m_botVersionHasBeenSet = false;
132
133 Aws::Utils::DateTime m_creationDateTime;
134 bool m_creationDateTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_lastUpdatedDateTime;
137 bool m_lastUpdatedDateTimeHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_failureReasons;
140 bool m_failureReasonsHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace LexModelsV2
145} // namespace Aws
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
BotAliasReplicaSummary & WithBotAliasReplicationStatus(BotAliasReplicationStatus &&value)
BotAliasReplicaSummary & AddFailureReasons(const Aws::String &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
BotAliasReplicaSummary & WithBotAliasId(const Aws::String &value)
AWS_LEXMODELSV2_API BotAliasReplicaSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotAliasReplicaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBotAliasReplicationStatus(const BotAliasReplicationStatus &value)
BotAliasReplicaSummary & WithBotAliasReplicationStatus(const BotAliasReplicationStatus &value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
BotAliasReplicaSummary & WithBotVersion(const char *value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
BotAliasReplicaSummary & WithBotAliasId(const char *value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetBotAliasReplicationStatus(BotAliasReplicationStatus &&value)
BotAliasReplicaSummary & WithFailureReasons(const Aws::Vector< Aws::String > &value)
BotAliasReplicaSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
BotAliasReplicaSummary & WithBotVersion(Aws::String &&value)
const BotAliasReplicationStatus & GetBotAliasReplicationStatus() const
const Aws::Utils::DateTime & GetCreationDateTime() const
BotAliasReplicaSummary & WithBotAliasId(Aws::String &&value)
BotAliasReplicaSummary & AddFailureReasons(Aws::String &&value)
BotAliasReplicaSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
BotAliasReplicaSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
BotAliasReplicaSummary & WithFailureReasons(Aws::Vector< Aws::String > &&value)
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
BotAliasReplicaSummary & WithBotVersion(const Aws::String &value)
BotAliasReplicaSummary & AddFailureReasons(const char *value)
BotAliasReplicaSummary & WithCreationDateTime(Aws::Utils::DateTime &&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