AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableAutoScalingDescription.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dynamodb/model/TableStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/dynamodb/model/ReplicaAutoScalingDescription.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DynamoDB
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DYNAMODB_API TableAutoScalingDescription() = default;
41 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetTableName() const { return m_tableName; }
49 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
50 template<typename TableNameT = Aws::String>
51 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
52 template<typename TableNameT = Aws::String>
53 TableAutoScalingDescription& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
55
57
64 inline TableStatus GetTableStatus() const { return m_tableStatus; }
65 inline bool TableStatusHasBeenSet() const { return m_tableStatusHasBeenSet; }
66 inline void SetTableStatus(TableStatus value) { m_tableStatusHasBeenSet = true; m_tableStatus = value; }
69
71
74 inline const Aws::Vector<ReplicaAutoScalingDescription>& GetReplicas() const { return m_replicas; }
75 inline bool ReplicasHasBeenSet() const { return m_replicasHasBeenSet; }
76 template<typename ReplicasT = Aws::Vector<ReplicaAutoScalingDescription>>
77 void SetReplicas(ReplicasT&& value) { m_replicasHasBeenSet = true; m_replicas = std::forward<ReplicasT>(value); }
78 template<typename ReplicasT = Aws::Vector<ReplicaAutoScalingDescription>>
79 TableAutoScalingDescription& WithReplicas(ReplicasT&& value) { SetReplicas(std::forward<ReplicasT>(value)); return *this;}
80 template<typename ReplicasT = ReplicaAutoScalingDescription>
81 TableAutoScalingDescription& AddReplicas(ReplicasT&& value) { m_replicasHasBeenSet = true; m_replicas.emplace_back(std::forward<ReplicasT>(value)); return *this; }
83 private:
84
85 Aws::String m_tableName;
86 bool m_tableNameHasBeenSet = false;
87
88 TableStatus m_tableStatus{TableStatus::NOT_SET};
89 bool m_tableStatusHasBeenSet = false;
90
92 bool m_replicasHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace DynamoDB
97} // namespace Aws
const Aws::Vector< ReplicaAutoScalingDescription > & GetReplicas() const
AWS_DYNAMODB_API TableAutoScalingDescription()=default
TableAutoScalingDescription & WithTableStatus(TableStatus value)
AWS_DYNAMODB_API TableAutoScalingDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API TableAutoScalingDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
TableAutoScalingDescription & WithReplicas(ReplicasT &&value)
TableAutoScalingDescription & AddReplicas(ReplicasT &&value)
TableAutoScalingDescription & WithTableName(TableNameT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() 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