AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationConfiguration.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/connect/model/ReplicationStatusSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Connect
24{
25namespace Model
26{
27
41 {
42 public:
43 AWS_CONNECT_API ReplicationConfiguration();
46 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
55 inline const Aws::Vector<ReplicationStatusSummary>& GetReplicationStatusSummaryList() const{ return m_replicationStatusSummaryList; }
56 inline bool ReplicationStatusSummaryListHasBeenSet() const { return m_replicationStatusSummaryListHasBeenSet; }
57 inline void SetReplicationStatusSummaryList(const Aws::Vector<ReplicationStatusSummary>& value) { m_replicationStatusSummaryListHasBeenSet = true; m_replicationStatusSummaryList = value; }
58 inline void SetReplicationStatusSummaryList(Aws::Vector<ReplicationStatusSummary>&& value) { m_replicationStatusSummaryListHasBeenSet = true; m_replicationStatusSummaryList = std::move(value); }
61 inline ReplicationConfiguration& AddReplicationStatusSummaryList(const ReplicationStatusSummary& value) { m_replicationStatusSummaryListHasBeenSet = true; m_replicationStatusSummaryList.push_back(value); return *this; }
62 inline ReplicationConfiguration& AddReplicationStatusSummaryList(ReplicationStatusSummary&& value) { m_replicationStatusSummaryListHasBeenSet = true; m_replicationStatusSummaryList.push_back(std::move(value)); return *this; }
64
66
72 inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; }
73 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
74 inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; }
75 inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); }
76 inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); }
77 inline ReplicationConfiguration& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;}
78 inline ReplicationConfiguration& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;}
79 inline ReplicationConfiguration& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;}
81
83
91 inline const Aws::String& GetGlobalSignInEndpoint() const{ return m_globalSignInEndpoint; }
92 inline bool GlobalSignInEndpointHasBeenSet() const { return m_globalSignInEndpointHasBeenSet; }
93 inline void SetGlobalSignInEndpoint(const Aws::String& value) { m_globalSignInEndpointHasBeenSet = true; m_globalSignInEndpoint = value; }
94 inline void SetGlobalSignInEndpoint(Aws::String&& value) { m_globalSignInEndpointHasBeenSet = true; m_globalSignInEndpoint = std::move(value); }
95 inline void SetGlobalSignInEndpoint(const char* value) { m_globalSignInEndpointHasBeenSet = true; m_globalSignInEndpoint.assign(value); }
97 inline ReplicationConfiguration& WithGlobalSignInEndpoint(Aws::String&& value) { SetGlobalSignInEndpoint(std::move(value)); return *this;}
98 inline ReplicationConfiguration& WithGlobalSignInEndpoint(const char* value) { SetGlobalSignInEndpoint(value); return *this;}
100 private:
101
102 Aws::Vector<ReplicationStatusSummary> m_replicationStatusSummaryList;
103 bool m_replicationStatusSummaryListHasBeenSet = false;
104
105 Aws::String m_sourceRegion;
106 bool m_sourceRegionHasBeenSet = false;
107
108 Aws::String m_globalSignInEndpoint;
109 bool m_globalSignInEndpointHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Connect
114} // namespace Aws
ReplicationConfiguration & WithReplicationStatusSummaryList(const Aws::Vector< ReplicationStatusSummary > &value)
const Aws::Vector< ReplicationStatusSummary > & GetReplicationStatusSummaryList() const
void SetReplicationStatusSummaryList(Aws::Vector< ReplicationStatusSummary > &&value)
ReplicationConfiguration & AddReplicationStatusSummaryList(ReplicationStatusSummary &&value)
ReplicationConfiguration & WithReplicationStatusSummaryList(Aws::Vector< ReplicationStatusSummary > &&value)
ReplicationConfiguration & AddReplicationStatusSummaryList(const ReplicationStatusSummary &value)
AWS_CONNECT_API ReplicationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API ReplicationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicationConfiguration & WithGlobalSignInEndpoint(Aws::String &&value)
void SetReplicationStatusSummaryList(const Aws::Vector< ReplicationStatusSummary > &value)
ReplicationConfiguration & WithGlobalSignInEndpoint(const Aws::String &value)
ReplicationConfiguration & WithSourceRegion(Aws::String &&value)
ReplicationConfiguration & WithSourceRegion(const Aws::String &value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationConfiguration & WithGlobalSignInEndpoint(const char *value)
ReplicationConfiguration & WithSourceRegion(const char *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