AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBotVersion(const Aws::String& value) { m_botVersionHasBeenSet = true; m_botVersion = value; }
52 inline void SetBotVersion(Aws::String&& value) { m_botVersionHasBeenSet = true; m_botVersion = std::move(value); }
53 inline void SetBotVersion(const char* value) { m_botVersionHasBeenSet = true; m_botVersion.assign(value); }
54 inline BotVersionReplicaSummary& WithBotVersion(const Aws::String& value) { SetBotVersion(value); return *this;}
55 inline BotVersionReplicaSummary& WithBotVersion(Aws::String&& value) { SetBotVersion(std::move(value)); return *this;}
56 inline BotVersionReplicaSummary& WithBotVersion(const char* value) { SetBotVersion(value); return *this;}
58
60
63 inline const BotVersionReplicationStatus& GetBotVersionReplicationStatus() const{ return m_botVersionReplicationStatus; }
64 inline bool BotVersionReplicationStatusHasBeenSet() const { return m_botVersionReplicationStatusHasBeenSet; }
65 inline void SetBotVersionReplicationStatus(const BotVersionReplicationStatus& value) { m_botVersionReplicationStatusHasBeenSet = true; m_botVersionReplicationStatus = value; }
66 inline void SetBotVersionReplicationStatus(BotVersionReplicationStatus&& value) { m_botVersionReplicationStatusHasBeenSet = true; m_botVersionReplicationStatus = std::move(value); }
70
72
76 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
77 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
78 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
79 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
83
85
88 inline const Aws::Vector<Aws::String>& GetFailureReasons() const{ return m_failureReasons; }
89 inline bool FailureReasonsHasBeenSet() const { return m_failureReasonsHasBeenSet; }
90 inline void SetFailureReasons(const Aws::Vector<Aws::String>& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = value; }
91 inline void SetFailureReasons(Aws::Vector<Aws::String>&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons = std::move(value); }
94 inline BotVersionReplicaSummary& AddFailureReasons(const Aws::String& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(value); return *this; }
95 inline BotVersionReplicaSummary& AddFailureReasons(Aws::String&& value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(std::move(value)); return *this; }
96 inline BotVersionReplicaSummary& AddFailureReasons(const char* value) { m_failureReasonsHasBeenSet = true; m_failureReasons.push_back(value); return *this; }
98 private:
99
100 Aws::String m_botVersion;
101 bool m_botVersionHasBeenSet = false;
102
103 BotVersionReplicationStatus m_botVersionReplicationStatus;
104 bool m_botVersionReplicationStatusHasBeenSet = false;
105
106 Aws::Utils::DateTime m_creationDateTime;
107 bool m_creationDateTimeHasBeenSet = false;
108
109 Aws::Vector<Aws::String> m_failureReasons;
110 bool m_failureReasonsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace LexModelsV2
115} // namespace Aws
BotVersionReplicaSummary & WithBotVersionReplicationStatus(const BotVersionReplicationStatus &value)
BotVersionReplicaSummary & WithFailureReasons(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetFailureReasons() const
void SetBotVersionReplicationStatus(const BotVersionReplicationStatus &value)
AWS_LEXMODELSV2_API BotVersionReplicaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BotVersionReplicaSummary & WithBotVersion(const Aws::String &value)
BotVersionReplicaSummary & AddFailureReasons(const Aws::String &value)
BotVersionReplicaSummary & AddFailureReasons(Aws::String &&value)
const BotVersionReplicationStatus & GetBotVersionReplicationStatus() const
BotVersionReplicaSummary & WithFailureReasons(Aws::Vector< Aws::String > &&value)
AWS_LEXMODELSV2_API BotVersionReplicaSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetCreationDateTime() const
BotVersionReplicaSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
BotVersionReplicaSummary & WithBotVersion(const char *value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFailureReasons(const Aws::Vector< Aws::String > &value)
void SetCreationDateTime(const Aws::Utils::DateTime &value)
BotVersionReplicaSummary & WithBotVersion(Aws::String &&value)
void SetFailureReasons(Aws::Vector< Aws::String > &&value)
BotVersionReplicaSummary & WithBotVersionReplicationStatus(BotVersionReplicationStatus &&value)
BotVersionReplicaSummary & AddFailureReasons(const char *value)
void SetBotVersionReplicationStatus(BotVersionReplicationStatus &&value)
BotVersionReplicaSummary & WithCreationDateTime(const 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