AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationStatusSummary.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/connect/model/InstanceReplicationStatus.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Connect
23{
24namespace Model
25{
26
39 {
40 public:
41 AWS_CONNECT_API ReplicationStatusSummary();
44 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
52 inline const Aws::String& GetRegion() const{ return m_region; }
53 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
54 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
55 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
56 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
57 inline ReplicationStatusSummary& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
58 inline ReplicationStatusSummary& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
59 inline ReplicationStatusSummary& WithRegion(const char* value) { SetRegion(value); return *this;}
61
63
66 inline const InstanceReplicationStatus& GetReplicationStatus() const{ return m_replicationStatus; }
67 inline bool ReplicationStatusHasBeenSet() const { return m_replicationStatusHasBeenSet; }
68 inline void SetReplicationStatus(const InstanceReplicationStatus& value) { m_replicationStatusHasBeenSet = true; m_replicationStatus = value; }
69 inline void SetReplicationStatus(InstanceReplicationStatus&& value) { m_replicationStatusHasBeenSet = true; m_replicationStatus = std::move(value); }
73
75
80 inline const Aws::String& GetReplicationStatusReason() const{ return m_replicationStatusReason; }
81 inline bool ReplicationStatusReasonHasBeenSet() const { return m_replicationStatusReasonHasBeenSet; }
82 inline void SetReplicationStatusReason(const Aws::String& value) { m_replicationStatusReasonHasBeenSet = true; m_replicationStatusReason = value; }
83 inline void SetReplicationStatusReason(Aws::String&& value) { m_replicationStatusReasonHasBeenSet = true; m_replicationStatusReason = std::move(value); }
84 inline void SetReplicationStatusReason(const char* value) { m_replicationStatusReasonHasBeenSet = true; m_replicationStatusReason.assign(value); }
87 inline ReplicationStatusSummary& WithReplicationStatusReason(const char* value) { SetReplicationStatusReason(value); return *this;}
89 private:
90
91 Aws::String m_region;
92 bool m_regionHasBeenSet = false;
93
94 InstanceReplicationStatus m_replicationStatus;
95 bool m_replicationStatusHasBeenSet = false;
96
97 Aws::String m_replicationStatusReason;
98 bool m_replicationStatusReasonHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Connect
103} // namespace Aws
ReplicationStatusSummary & WithRegion(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReplicationStatus(InstanceReplicationStatus &&value)
AWS_CONNECT_API ReplicationStatusSummary(Aws::Utils::Json::JsonView jsonValue)
void SetReplicationStatus(const InstanceReplicationStatus &value)
void SetReplicationStatusReason(const Aws::String &value)
ReplicationStatusSummary & WithRegion(const Aws::String &value)
ReplicationStatusSummary & WithReplicationStatusReason(Aws::String &&value)
ReplicationStatusSummary & WithReplicationStatus(InstanceReplicationStatus &&value)
ReplicationStatusSummary & WithReplicationStatusReason(const char *value)
ReplicationStatusSummary & WithRegion(Aws::String &&value)
ReplicationStatusSummary & WithReplicationStatusReason(const Aws::String &value)
const InstanceReplicationStatus & GetReplicationStatus() const
AWS_CONNECT_API ReplicationStatusSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationStatusSummary & WithReplicationStatus(const InstanceReplicationStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue