AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTableAutoScalingSettingsResult.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/AutoScalingSpecification.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/keyspaces/model/ReplicaAutoScalingSpecification.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Keyspaces
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetKeyspaceName() const{ return m_keyspaceName; }
43 inline void SetKeyspaceName(const Aws::String& value) { m_keyspaceName = value; }
44 inline void SetKeyspaceName(Aws::String&& value) { m_keyspaceName = std::move(value); }
45 inline void SetKeyspaceName(const char* value) { m_keyspaceName.assign(value); }
47 inline GetTableAutoScalingSettingsResult& WithKeyspaceName(Aws::String&& value) { SetKeyspaceName(std::move(value)); return *this;}
48 inline GetTableAutoScalingSettingsResult& WithKeyspaceName(const char* value) { SetKeyspaceName(value); return *this;}
50
52
55 inline const Aws::String& GetTableName() const{ return m_tableName; }
56 inline void SetTableName(const Aws::String& value) { m_tableName = value; }
57 inline void SetTableName(Aws::String&& value) { m_tableName = std::move(value); }
58 inline void SetTableName(const char* value) { m_tableName.assign(value); }
59 inline GetTableAutoScalingSettingsResult& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
60 inline GetTableAutoScalingSettingsResult& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
61 inline GetTableAutoScalingSettingsResult& WithTableName(const char* value) { SetTableName(value); return *this;}
63
65
68 inline const Aws::String& GetResourceArn() const{ return m_resourceArn; }
69 inline void SetResourceArn(const Aws::String& value) { m_resourceArn = value; }
70 inline void SetResourceArn(Aws::String&& value) { m_resourceArn = std::move(value); }
71 inline void SetResourceArn(const char* value) { m_resourceArn.assign(value); }
72 inline GetTableAutoScalingSettingsResult& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;}
73 inline GetTableAutoScalingSettingsResult& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;}
74 inline GetTableAutoScalingSettingsResult& WithResourceArn(const char* value) { SetResourceArn(value); return *this;}
76
78
81 inline const AutoScalingSpecification& GetAutoScalingSpecification() const{ return m_autoScalingSpecification; }
82 inline void SetAutoScalingSpecification(const AutoScalingSpecification& value) { m_autoScalingSpecification = value; }
83 inline void SetAutoScalingSpecification(AutoScalingSpecification&& value) { m_autoScalingSpecification = std::move(value); }
87
89
93 inline const Aws::Vector<ReplicaAutoScalingSpecification>& GetReplicaSpecifications() const{ return m_replicaSpecifications; }
94 inline void SetReplicaSpecifications(const Aws::Vector<ReplicaAutoScalingSpecification>& value) { m_replicaSpecifications = value; }
95 inline void SetReplicaSpecifications(Aws::Vector<ReplicaAutoScalingSpecification>&& value) { m_replicaSpecifications = std::move(value); }
98 inline GetTableAutoScalingSettingsResult& AddReplicaSpecifications(const ReplicaAutoScalingSpecification& value) { m_replicaSpecifications.push_back(value); return *this; }
99 inline GetTableAutoScalingSettingsResult& AddReplicaSpecifications(ReplicaAutoScalingSpecification&& value) { m_replicaSpecifications.push_back(std::move(value)); return *this; }
101
103
104 inline const Aws::String& GetRequestId() const{ return m_requestId; }
105 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
106 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
107 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
108 inline GetTableAutoScalingSettingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
109 inline GetTableAutoScalingSettingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
110 inline GetTableAutoScalingSettingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
112 private:
113
114 Aws::String m_keyspaceName;
115
116 Aws::String m_tableName;
117
118 Aws::String m_resourceArn;
119
120 AutoScalingSpecification m_autoScalingSpecification;
121
122 Aws::Vector<ReplicaAutoScalingSpecification> m_replicaSpecifications;
123
124 Aws::String m_requestId;
125 };
126
127} // namespace Model
128} // namespace Keyspaces
129} // namespace Aws
GetTableAutoScalingSettingsResult & WithResourceArn(const Aws::String &value)
GetTableAutoScalingSettingsResult & WithReplicaSpecifications(Aws::Vector< ReplicaAutoScalingSpecification > &&value)
GetTableAutoScalingSettingsResult & WithTableName(Aws::String &&value)
GetTableAutoScalingSettingsResult & WithKeyspaceName(const Aws::String &value)
GetTableAutoScalingSettingsResult & WithTableName(const Aws::String &value)
GetTableAutoScalingSettingsResult & WithTableName(const char *value)
GetTableAutoScalingSettingsResult & WithAutoScalingSpecification(AutoScalingSpecification &&value)
GetTableAutoScalingSettingsResult & AddReplicaSpecifications(ReplicaAutoScalingSpecification &&value)
void SetReplicaSpecifications(Aws::Vector< ReplicaAutoScalingSpecification > &&value)
void SetAutoScalingSpecification(const AutoScalingSpecification &value)
AWS_KEYSPACES_API GetTableAutoScalingSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTableAutoScalingSettingsResult & WithKeyspaceName(Aws::String &&value)
GetTableAutoScalingSettingsResult & WithRequestId(const char *value)
GetTableAutoScalingSettingsResult & WithRequestId(const Aws::String &value)
GetTableAutoScalingSettingsResult & AddReplicaSpecifications(const ReplicaAutoScalingSpecification &value)
void SetReplicaSpecifications(const Aws::Vector< ReplicaAutoScalingSpecification > &value)
GetTableAutoScalingSettingsResult & WithKeyspaceName(const char *value)
GetTableAutoScalingSettingsResult & WithResourceArn(const char *value)
GetTableAutoScalingSettingsResult & WithResourceArn(Aws::String &&value)
AWS_KEYSPACES_API GetTableAutoScalingSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ReplicaAutoScalingSpecification > & GetReplicaSpecifications() const
GetTableAutoScalingSettingsResult & WithAutoScalingSpecification(const AutoScalingSpecification &value)
GetTableAutoScalingSettingsResult & WithRequestId(Aws::String &&value)
GetTableAutoScalingSettingsResult & WithReplicaSpecifications(const Aws::Vector< ReplicaAutoScalingSpecification > &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