AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReplicationGroupStatus.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/keyspaces/model/KeyspaceStatus.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 Keyspaces
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KEYSPACES_API ReplicationGroupStatus() = default;
39 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetRegion() const { return m_region; }
47 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
48 template<typename RegionT = Aws::String>
49 void SetRegion(RegionT&& value) { m_regionHasBeenSet = true; m_region = std::forward<RegionT>(value); }
50 template<typename RegionT = Aws::String>
51 ReplicationGroupStatus& WithRegion(RegionT&& value) { SetRegion(std::forward<RegionT>(value)); return *this;}
53
55
58 inline KeyspaceStatus GetKeyspaceStatus() const { return m_keyspaceStatus; }
59 inline bool KeyspaceStatusHasBeenSet() const { return m_keyspaceStatusHasBeenSet; }
60 inline void SetKeyspaceStatus(KeyspaceStatus value) { m_keyspaceStatusHasBeenSet = true; m_keyspaceStatus = value; }
63
65
70 inline const Aws::String& GetTablesReplicationProgress() const { return m_tablesReplicationProgress; }
71 inline bool TablesReplicationProgressHasBeenSet() const { return m_tablesReplicationProgressHasBeenSet; }
72 template<typename TablesReplicationProgressT = Aws::String>
73 void SetTablesReplicationProgress(TablesReplicationProgressT&& value) { m_tablesReplicationProgressHasBeenSet = true; m_tablesReplicationProgress = std::forward<TablesReplicationProgressT>(value); }
74 template<typename TablesReplicationProgressT = Aws::String>
75 ReplicationGroupStatus& WithTablesReplicationProgress(TablesReplicationProgressT&& value) { SetTablesReplicationProgress(std::forward<TablesReplicationProgressT>(value)); return *this;}
77 private:
78
79 Aws::String m_region;
80 bool m_regionHasBeenSet = false;
81
83 bool m_keyspaceStatusHasBeenSet = false;
84
85 Aws::String m_tablesReplicationProgress;
86 bool m_tablesReplicationProgressHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace Keyspaces
91} // 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