AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ReplicaGlobalSecondaryIndex.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/dynamodb/DynamoDB_EXPORTS.h>
9#include <aws/dynamodb/model/OnDemandThroughputOverride.h>
10#include <aws/dynamodb/model/ProvisionedThroughputOverride.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DynamoDB {
22namespace Model {
23
31 public:
32 AWS_DYNAMODB_API ReplicaGlobalSecondaryIndex() = default;
35 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetIndexName() const { return m_indexName; }
42 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
43 template <typename IndexNameT = Aws::String>
44 void SetIndexName(IndexNameT&& value) {
45 m_indexNameHasBeenSet = true;
46 m_indexName = std::forward<IndexNameT>(value);
47 }
48 template <typename IndexNameT = Aws::String>
50 SetIndexName(std::forward<IndexNameT>(value));
51 return *this;
52 }
54
56
60 inline const ProvisionedThroughputOverride& GetProvisionedThroughputOverride() const { return m_provisionedThroughputOverride; }
61 inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; }
62 template <typename ProvisionedThroughputOverrideT = ProvisionedThroughputOverride>
63 void SetProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) {
64 m_provisionedThroughputOverrideHasBeenSet = true;
65 m_provisionedThroughputOverride = std::forward<ProvisionedThroughputOverrideT>(value);
66 }
67 template <typename ProvisionedThroughputOverrideT = ProvisionedThroughputOverride>
68 ReplicaGlobalSecondaryIndex& WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) {
69 SetProvisionedThroughputOverride(std::forward<ProvisionedThroughputOverrideT>(value));
70 return *this;
71 }
73
75
79 inline const OnDemandThroughputOverride& GetOnDemandThroughputOverride() const { return m_onDemandThroughputOverride; }
80 inline bool OnDemandThroughputOverrideHasBeenSet() const { return m_onDemandThroughputOverrideHasBeenSet; }
81 template <typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
82 void SetOnDemandThroughputOverride(OnDemandThroughputOverrideT&& value) {
83 m_onDemandThroughputOverrideHasBeenSet = true;
84 m_onDemandThroughputOverride = std::forward<OnDemandThroughputOverrideT>(value);
85 }
86 template <typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
87 ReplicaGlobalSecondaryIndex& WithOnDemandThroughputOverride(OnDemandThroughputOverrideT&& value) {
88 SetOnDemandThroughputOverride(std::forward<OnDemandThroughputOverrideT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_indexName;
94
95 ProvisionedThroughputOverride m_provisionedThroughputOverride;
96
97 OnDemandThroughputOverride m_onDemandThroughputOverride;
98 bool m_indexNameHasBeenSet = false;
99 bool m_provisionedThroughputOverrideHasBeenSet = false;
100 bool m_onDemandThroughputOverrideHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace DynamoDB
105} // namespace Aws
const OnDemandThroughputOverride & GetOnDemandThroughputOverride() const
const ProvisionedThroughputOverride & GetProvisionedThroughputOverride() const
ReplicaGlobalSecondaryIndex & WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT &&value)
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndex()=default
ReplicaGlobalSecondaryIndex & WithIndexName(IndexNameT &&value)
void SetOnDemandThroughputOverride(OnDemandThroughputOverrideT &&value)
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndex(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndex & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProvisionedThroughputOverride(ProvisionedThroughputOverrideT &&value)
ReplicaGlobalSecondaryIndex & WithOnDemandThroughputOverride(OnDemandThroughputOverrideT &&value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue