AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
51 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
52 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
53 inline TableAutoScalingDescription& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
54 inline TableAutoScalingDescription& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
55 inline TableAutoScalingDescription& WithTableName(const char* value) { SetTableName(value); return *this;}
57
59
66 inline const TableStatus& GetTableStatus() const{ return m_tableStatus; }
67 inline bool TableStatusHasBeenSet() const { return m_tableStatusHasBeenSet; }
68 inline void SetTableStatus(const TableStatus& value) { m_tableStatusHasBeenSet = true; m_tableStatus = value; }
69 inline void SetTableStatus(TableStatus&& value) { m_tableStatusHasBeenSet = true; m_tableStatus = std::move(value); }
70 inline TableAutoScalingDescription& WithTableStatus(const TableStatus& value) { SetTableStatus(value); return *this;}
71 inline TableAutoScalingDescription& WithTableStatus(TableStatus&& value) { SetTableStatus(std::move(value)); return *this;}
73
75
78 inline const Aws::Vector<ReplicaAutoScalingDescription>& GetReplicas() const{ return m_replicas; }
79 inline bool ReplicasHasBeenSet() const { return m_replicasHasBeenSet; }
80 inline void SetReplicas(const Aws::Vector<ReplicaAutoScalingDescription>& value) { m_replicasHasBeenSet = true; m_replicas = value; }
81 inline void SetReplicas(Aws::Vector<ReplicaAutoScalingDescription>&& value) { m_replicasHasBeenSet = true; m_replicas = std::move(value); }
84 inline TableAutoScalingDescription& AddReplicas(const ReplicaAutoScalingDescription& value) { m_replicasHasBeenSet = true; m_replicas.push_back(value); return *this; }
85 inline TableAutoScalingDescription& AddReplicas(ReplicaAutoScalingDescription&& value) { m_replicasHasBeenSet = true; m_replicas.push_back(std::move(value)); return *this; }
87 private:
88
89 Aws::String m_tableName;
90 bool m_tableNameHasBeenSet = false;
91
92 TableStatus m_tableStatus;
93 bool m_tableStatusHasBeenSet = false;
94
96 bool m_replicasHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace DynamoDB
101} // namespace Aws
const Aws::Vector< ReplicaAutoScalingDescription > & GetReplicas() const
TableAutoScalingDescription & WithTableName(const char *value)
TableAutoScalingDescription & WithTableName(const Aws::String &value)
TableAutoScalingDescription & WithReplicas(const Aws::Vector< ReplicaAutoScalingDescription > &value)
TableAutoScalingDescription & AddReplicas(const ReplicaAutoScalingDescription &value)
TableAutoScalingDescription & WithTableStatus(TableStatus &&value)
AWS_DYNAMODB_API TableAutoScalingDescription(Aws::Utils::Json::JsonView jsonValue)
TableAutoScalingDescription & AddReplicas(ReplicaAutoScalingDescription &&value)
void SetReplicas(const Aws::Vector< ReplicaAutoScalingDescription > &value)
TableAutoScalingDescription & WithTableStatus(const TableStatus &value)
TableAutoScalingDescription & WithTableName(Aws::String &&value)
AWS_DYNAMODB_API TableAutoScalingDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
TableAutoScalingDescription & WithReplicas(Aws::Vector< ReplicaAutoScalingDescription > &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReplicas(Aws::Vector< ReplicaAutoScalingDescription > &&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