AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ReplicationGroupStatus.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/keyspaces/Keyspaces_EXPORTS.h>
9#include <aws/keyspaces/model/KeyspaceStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Keyspaces {
21namespace Model {
22
30 public:
31 AWS_KEYSPACES_API ReplicationGroupStatus() = default;
34 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetRegion() const { return m_region; }
41 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
42 template <typename RegionT = Aws::String>
43 void SetRegion(RegionT&& value) {
44 m_regionHasBeenSet = true;
45 m_region = std::forward<RegionT>(value);
46 }
47 template <typename RegionT = Aws::String>
49 SetRegion(std::forward<RegionT>(value));
50 return *this;
51 }
53
55
58 inline KeyspaceStatus GetKeyspaceStatus() const { return m_keyspaceStatus; }
59 inline bool KeyspaceStatusHasBeenSet() const { return m_keyspaceStatusHasBeenSet; }
60 inline void SetKeyspaceStatus(KeyspaceStatus value) {
61 m_keyspaceStatusHasBeenSet = true;
62 m_keyspaceStatus = value;
63 }
65 SetKeyspaceStatus(value);
66 return *this;
67 }
69
71
76 inline const Aws::String& GetTablesReplicationProgress() const { return m_tablesReplicationProgress; }
77 inline bool TablesReplicationProgressHasBeenSet() const { return m_tablesReplicationProgressHasBeenSet; }
78 template <typename TablesReplicationProgressT = Aws::String>
79 void SetTablesReplicationProgress(TablesReplicationProgressT&& value) {
80 m_tablesReplicationProgressHasBeenSet = true;
81 m_tablesReplicationProgress = std::forward<TablesReplicationProgressT>(value);
82 }
83 template <typename TablesReplicationProgressT = Aws::String>
84 ReplicationGroupStatus& WithTablesReplicationProgress(TablesReplicationProgressT&& value) {
85 SetTablesReplicationProgress(std::forward<TablesReplicationProgressT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_region;
91
93
94 Aws::String m_tablesReplicationProgress;
95 bool m_regionHasBeenSet = false;
96 bool m_keyspaceStatusHasBeenSet = false;
97 bool m_tablesReplicationProgressHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Keyspaces
102} // namespace Aws
ReplicationGroupStatus & WithKeyspaceStatus(KeyspaceStatus value)
void SetTablesReplicationProgress(TablesReplicationProgressT &&value)
AWS_KEYSPACES_API ReplicationGroupStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicationGroupStatus & WithTablesReplicationProgress(TablesReplicationProgressT &&value)
ReplicationGroupStatus & WithRegion(RegionT &&value)
AWS_KEYSPACES_API ReplicationGroupStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KEYSPACES_API ReplicationGroupStatus()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue