AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetKeyspaceResult.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{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Keyspaces
26{
27namespace Model
28{
30 {
31 public:
32 AWS_KEYSPACES_API GetKeyspaceResult();
35
36
38
41 inline const Aws::String& GetKeyspaceName() const{ return m_keyspaceName; }
42 inline void SetKeyspaceName(const Aws::String& value) { m_keyspaceName = value; }
43 inline void SetKeyspaceName(Aws::String&& value) { m_keyspaceName = std::move(value); }
44 inline void SetKeyspaceName(const char* value) { m_keyspaceName.assign(value); }
45 inline GetKeyspaceResult& WithKeyspaceName(const Aws::String& value) { SetKeyspaceName(value); return *this;}
46 inline GetKeyspaceResult& WithKeyspaceName(Aws::String&& value) { SetKeyspaceName(std::move(value)); return *this;}
47 inline GetKeyspaceResult& WithKeyspaceName(const char* value) { SetKeyspaceName(value); return *this;}
49
51
54 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
55 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
56 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
57 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
58 inline GetKeyspaceResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
59 inline GetKeyspaceResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
60 inline GetKeyspaceResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
62
64
68 inline const Rs& GetReplicationStrategy() const{ return m_replicationStrategy; }
69 inline void SetReplicationStrategy(const Rs& value) { m_replicationStrategy = value; }
70 inline void SetReplicationStrategy(Rs&& value) { m_replicationStrategy = std::move(value); }
71 inline GetKeyspaceResult& WithReplicationStrategy(const Rs& value) { SetReplicationStrategy(value); return *this;}
72 inline GetKeyspaceResult& WithReplicationStrategy(Rs&& value) { SetReplicationStrategy(std::move(value)); return *this;}
74
76
80 inline const Aws::Vector<Aws::String>& GetReplicationRegions() const{ return m_replicationRegions; }
81 inline void SetReplicationRegions(const Aws::Vector<Aws::String>& value) { m_replicationRegions = value; }
82 inline void SetReplicationRegions(Aws::Vector<Aws::String>&& value) { m_replicationRegions = std::move(value); }
85 inline GetKeyspaceResult& AddReplicationRegions(const Aws::String& value) { m_replicationRegions.push_back(value); return *this; }
86 inline GetKeyspaceResult& AddReplicationRegions(Aws::String&& value) { m_replicationRegions.push_back(std::move(value)); return *this; }
87 inline GetKeyspaceResult& AddReplicationRegions(const char* value) { m_replicationRegions.push_back(value); return *this; }
89
91
92 inline const Aws::String& GetRequestId() const{ return m_requestId; }
93 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
94 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
95 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
96 inline GetKeyspaceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
97 inline GetKeyspaceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
98 inline GetKeyspaceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
100 private:
101
102 Aws::String m_keyspaceName;
103
104 Aws::String m_resourceArn;
105
106 Rs m_replicationStrategy;
107
108 Aws::Vector<Aws::String> m_replicationRegions;
109
110 Aws::String m_requestId;
111 };
112
113} // namespace Model
114} // namespace Keyspaces
115} // namespace Aws
void SetReplicationRegions(const Aws::Vector< Aws::String > &value)
AWS_KEYSPACES_API GetKeyspaceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetKeyspaceResult & WithKeyspaceName(const Aws::String &value)
GetKeyspaceResult & AddReplicationRegions(Aws::String &&value)
GetKeyspaceResult & WithKeyspaceName(const char *value)
GetKeyspaceResult & WithRequestId(const Aws::String &value)
void SetKeyspaceName(const Aws::String &value)
GetKeyspaceResult & WithRequestId(const char *value)
AWS_KEYSPACES_API GetKeyspaceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const Aws::String &value)
const Aws::String & GetKeyspaceName() const
GetKeyspaceResult & WithResourceArn(const char *value)
const Aws::Vector< Aws::String > & GetReplicationRegions() const
void SetResourceArn(const Aws::String &value)
GetKeyspaceResult & WithRequestId(Aws::String &&value)
const Aws::String & GetResourceArn() const
GetKeyspaceResult & WithReplicationStrategy(Rs &&value)
GetKeyspaceResult & WithResourceArn(Aws::String &&value)
GetKeyspaceResult & AddReplicationRegions(const Aws::String &value)
GetKeyspaceResult & WithReplicationRegions(Aws::Vector< Aws::String > &&value)
GetKeyspaceResult & WithReplicationRegions(const Aws::Vector< Aws::String > &value)
GetKeyspaceResult & WithResourceArn(const Aws::String &value)
void SetReplicationRegions(Aws::Vector< Aws::String > &&value)
GetKeyspaceResult & WithKeyspaceName(Aws::String &&value)
GetKeyspaceResult & WithReplicationStrategy(const Rs &value)
GetKeyspaceResult & AddReplicationRegions(const char *value)
const Aws::String & GetRequestId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue