AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
33 AWS_KEYSPACES_API GetTableAutoScalingSettingsResult() = default;
36
37
39
42 inline const Aws::String& GetKeyspaceName() const { return m_keyspaceName; }
43 template<typename KeyspaceNameT = Aws::String>
44 void SetKeyspaceName(KeyspaceNameT&& value) { m_keyspaceNameHasBeenSet = true; m_keyspaceName = std::forward<KeyspaceNameT>(value); }
45 template<typename KeyspaceNameT = Aws::String>
46 GetTableAutoScalingSettingsResult& WithKeyspaceName(KeyspaceNameT&& value) { SetKeyspaceName(std::forward<KeyspaceNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetTableName() const { return m_tableName; }
54 template<typename TableNameT = Aws::String>
55 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
56 template<typename TableNameT = Aws::String>
57 GetTableAutoScalingSettingsResult& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
65 template<typename ResourceArnT = Aws::String>
66 void SetResourceArn(ResourceArnT&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::forward<ResourceArnT>(value); }
67 template<typename ResourceArnT = Aws::String>
68 GetTableAutoScalingSettingsResult& WithResourceArn(ResourceArnT&& value) { SetResourceArn(std::forward<ResourceArnT>(value)); return *this;}
70
72
75 inline const AutoScalingSpecification& GetAutoScalingSpecification() const { return m_autoScalingSpecification; }
76 template<typename AutoScalingSpecificationT = AutoScalingSpecification>
77 void SetAutoScalingSpecification(AutoScalingSpecificationT&& value) { m_autoScalingSpecificationHasBeenSet = true; m_autoScalingSpecification = std::forward<AutoScalingSpecificationT>(value); }
78 template<typename AutoScalingSpecificationT = AutoScalingSpecification>
79 GetTableAutoScalingSettingsResult& WithAutoScalingSpecification(AutoScalingSpecificationT&& value) { SetAutoScalingSpecification(std::forward<AutoScalingSpecificationT>(value)); return *this;}
81
83
87 inline const Aws::Vector<ReplicaAutoScalingSpecification>& GetReplicaSpecifications() const { return m_replicaSpecifications; }
88 template<typename ReplicaSpecificationsT = Aws::Vector<ReplicaAutoScalingSpecification>>
89 void SetReplicaSpecifications(ReplicaSpecificationsT&& value) { m_replicaSpecificationsHasBeenSet = true; m_replicaSpecifications = std::forward<ReplicaSpecificationsT>(value); }
90 template<typename ReplicaSpecificationsT = Aws::Vector<ReplicaAutoScalingSpecification>>
91 GetTableAutoScalingSettingsResult& WithReplicaSpecifications(ReplicaSpecificationsT&& value) { SetReplicaSpecifications(std::forward<ReplicaSpecificationsT>(value)); return *this;}
92 template<typename ReplicaSpecificationsT = ReplicaAutoScalingSpecification>
93 GetTableAutoScalingSettingsResult& AddReplicaSpecifications(ReplicaSpecificationsT&& value) { m_replicaSpecificationsHasBeenSet = true; m_replicaSpecifications.emplace_back(std::forward<ReplicaSpecificationsT>(value)); return *this; }
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template<typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
101 template<typename RequestIdT = Aws::String>
102 GetTableAutoScalingSettingsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
104 private:
105
106 Aws::String m_keyspaceName;
107 bool m_keyspaceNameHasBeenSet = false;
108
109 Aws::String m_tableName;
110 bool m_tableNameHasBeenSet = false;
111
112 Aws::String m_resourceArn;
113 bool m_resourceArnHasBeenSet = false;
114
115 AutoScalingSpecification m_autoScalingSpecification;
116 bool m_autoScalingSpecificationHasBeenSet = false;
117
118 Aws::Vector<ReplicaAutoScalingSpecification> m_replicaSpecifications;
119 bool m_replicaSpecificationsHasBeenSet = false;
120
121 Aws::String m_requestId;
122 bool m_requestIdHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace Keyspaces
127} // namespace Aws
GetTableAutoScalingSettingsResult & WithResourceArn(ResourceArnT &&value)
GetTableAutoScalingSettingsResult & WithTableName(TableNameT &&value)
GetTableAutoScalingSettingsResult & WithReplicaSpecifications(ReplicaSpecificationsT &&value)
GetTableAutoScalingSettingsResult & WithRequestId(RequestIdT &&value)
GetTableAutoScalingSettingsResult & WithKeyspaceName(KeyspaceNameT &&value)
GetTableAutoScalingSettingsResult & WithAutoScalingSpecification(AutoScalingSpecificationT &&value)
AWS_KEYSPACES_API GetTableAutoScalingSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTableAutoScalingSettingsResult & AddReplicaSpecifications(ReplicaSpecificationsT &&value)
AWS_KEYSPACES_API GetTableAutoScalingSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< ReplicaAutoScalingSpecification > & GetReplicaSpecifications() const
AWS_KEYSPACES_API GetTableAutoScalingSettingsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue