AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KeyspaceSummary.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/Rs.h>
10#include <aws/core/utils/memory/stl/AWSVector.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 Keyspaces
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_KEYSPACES_API KeyspaceSummary();
37 AWS_KEYSPACES_API KeyspaceSummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetKeyspaceName() const{ return m_keyspaceName; }
47 inline bool KeyspaceNameHasBeenSet() const { return m_keyspaceNameHasBeenSet; }
48 inline void SetKeyspaceName(const Aws::String& value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName = value; }
49 inline void SetKeyspaceName(Aws::String&& value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName = std::move(value); }
50 inline void SetKeyspaceName(const char* value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName.assign(value); }
51 inline KeyspaceSummary& WithKeyspaceName(const Aws::String& value) { SetKeyspaceName(value); return *this;}
52 inline KeyspaceSummary& WithKeyspaceName(Aws::String&& value) { SetKeyspaceName(std::move(value)); return *this;}
53 inline KeyspaceSummary& WithKeyspaceName(const char* value) { SetKeyspaceName(value); return *this;}
55
57
61 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
62 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
63 inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; }
64 inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); }
65 inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); }
66 inline KeyspaceSummary& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
67 inline KeyspaceSummary& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
68 inline KeyspaceSummary& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
70
72
77 inline const Rs& GetReplicationStrategy() const{ return m_replicationStrategy; }
78 inline bool ReplicationStrategyHasBeenSet() const { return m_replicationStrategyHasBeenSet; }
79 inline void SetReplicationStrategy(const Rs& value) { m_replicationStrategyHasBeenSet = true; m_replicationStrategy = value; }
80 inline void SetReplicationStrategy(Rs&& value) { m_replicationStrategyHasBeenSet = true; m_replicationStrategy = std::move(value); }
81 inline KeyspaceSummary& WithReplicationStrategy(const Rs& value) { SetReplicationStrategy(value); return *this;}
82 inline KeyspaceSummary& WithReplicationStrategy(Rs&& value) { SetReplicationStrategy(std::move(value)); return *this;}
84
86
90 inline const Aws::Vector<Aws::String>& GetReplicationRegions() const{ return m_replicationRegions; }
91 inline bool ReplicationRegionsHasBeenSet() const { return m_replicationRegionsHasBeenSet; }
92 inline void SetReplicationRegions(const Aws::Vector<Aws::String>& value) { m_replicationRegionsHasBeenSet = true; m_replicationRegions = value; }
93 inline void SetReplicationRegions(Aws::Vector<Aws::String>&& value) { m_replicationRegionsHasBeenSet = true; m_replicationRegions = std::move(value); }
95 inline KeyspaceSummary& WithReplicationRegions(Aws::Vector<Aws::String>&& value) { SetReplicationRegions(std::move(value)); return *this;}
96 inline KeyspaceSummary& AddReplicationRegions(const Aws::String& value) { m_replicationRegionsHasBeenSet = true; m_replicationRegions.push_back(value); return *this; }
97 inline KeyspaceSummary& AddReplicationRegions(Aws::String&& value) { m_replicationRegionsHasBeenSet = true; m_replicationRegions.push_back(std::move(value)); return *this; }
98 inline KeyspaceSummary& AddReplicationRegions(const char* value) { m_replicationRegionsHasBeenSet = true; m_replicationRegions.push_back(value); return *this; }
100 private:
101
102 Aws::String m_keyspaceName;
103 bool m_keyspaceNameHasBeenSet = false;
104
105 Aws::String m_resourceArn;
106 bool m_resourceArnHasBeenSet = false;
107
108 Rs m_replicationStrategy;
109 bool m_replicationStrategyHasBeenSet = false;
110
111 Aws::Vector<Aws::String> m_replicationRegions;
112 bool m_replicationRegionsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace Keyspaces
117} // namespace Aws
void SetKeyspaceName(const Aws::String &value)
void SetKeyspaceName(const char *value)
const Aws::String & GetResourceArn() const
KeyspaceSummary & WithKeyspaceName(Aws::String &&value)
void SetKeyspaceName(Aws::String &&value)
void SetResourceArn(Aws::String &&value)
void SetReplicationRegions(Aws::Vector< Aws::String > &&value)
void SetReplicationRegions(const Aws::Vector< Aws::String > &value)
KeyspaceSummary & WithKeyspaceName(const Aws::String &value)
KeyspaceSummary & WithResourceArn(const Aws::String &value)
void SetReplicationStrategy(const Rs &value)
KeyspaceSummary & WithReplicationRegions(Aws::Vector< Aws::String > &&value)
AWS_KEYSPACES_API KeyspaceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
KeyspaceSummary & AddReplicationRegions(const char *value)
KeyspaceSummary & WithKeyspaceName(const char *value)
const Aws::Vector< Aws::String > & GetReplicationRegions() const
KeyspaceSummary & WithReplicationStrategy(const Rs &value)
const Aws::String & GetKeyspaceName() const
KeyspaceSummary & WithReplicationRegions(const Aws::Vector< Aws::String > &value)
KeyspaceSummary & WithResourceArn(Aws::String &&value)
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
KeyspaceSummary & AddReplicationRegions(Aws::String &&value)
KeyspaceSummary & WithResourceArn(const char *value)
AWS_KEYSPACES_API KeyspaceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetResourceArn(const Aws::String &value)
KeyspaceSummary & WithReplicationStrategy(Rs &&value)
KeyspaceSummary & AddReplicationRegions(const Aws::String &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