AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicaSpecificationSummary.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/TableStatus.h>
10#include <aws/keyspaces/model/CapacitySpecificationSummary.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Keyspaces
24{
25namespace Model
26{
27
41 {
42 public:
43 AWS_KEYSPACES_API ReplicaSpecificationSummary();
46 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetRegion() const{ return m_region; }
54 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
55 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
56 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
57 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
58 inline ReplicaSpecificationSummary& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
59 inline ReplicaSpecificationSummary& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
60 inline ReplicaSpecificationSummary& WithRegion(const char* value) { SetRegion(value); return *this;}
62
64
68 inline const TableStatus& GetStatus() const{ return m_status; }
69 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
70 inline void SetStatus(const TableStatus& value) { m_statusHasBeenSet = true; m_status = value; }
71 inline void SetStatus(TableStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
72 inline ReplicaSpecificationSummary& WithStatus(const TableStatus& value) { SetStatus(value); return *this;}
73 inline ReplicaSpecificationSummary& WithStatus(TableStatus&& value) { SetStatus(std::move(value)); return *this;}
75
77
78 inline const CapacitySpecificationSummary& GetCapacitySpecification() const{ return m_capacitySpecification; }
79 inline bool CapacitySpecificationHasBeenSet() const { return m_capacitySpecificationHasBeenSet; }
80 inline void SetCapacitySpecification(const CapacitySpecificationSummary& value) { m_capacitySpecificationHasBeenSet = true; m_capacitySpecification = value; }
81 inline void SetCapacitySpecification(CapacitySpecificationSummary&& value) { m_capacitySpecificationHasBeenSet = true; m_capacitySpecification = std::move(value); }
85 private:
86
87 Aws::String m_region;
88 bool m_regionHasBeenSet = false;
89
90 TableStatus m_status;
91 bool m_statusHasBeenSet = false;
92
93 CapacitySpecificationSummary m_capacitySpecification;
94 bool m_capacitySpecificationHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace Keyspaces
99} // namespace Aws
ReplicaSpecificationSummary & WithCapacitySpecification(CapacitySpecificationSummary &&value)
AWS_KEYSPACES_API ReplicaSpecificationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicaSpecificationSummary & WithRegion(Aws::String &&value)
ReplicaSpecificationSummary & WithCapacitySpecification(const CapacitySpecificationSummary &value)
ReplicaSpecificationSummary & WithStatus(TableStatus &&value)
AWS_KEYSPACES_API ReplicaSpecificationSummary(Aws::Utils::Json::JsonView jsonValue)
ReplicaSpecificationSummary & WithRegion(const Aws::String &value)
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCapacitySpecification(const CapacitySpecificationSummary &value)
ReplicaSpecificationSummary & WithStatus(const TableStatus &value)
void SetCapacitySpecification(CapacitySpecificationSummary &&value)
const CapacitySpecificationSummary & GetCapacitySpecification() const
ReplicaSpecificationSummary & WithRegion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue