AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ReplicaGlobalSecondaryIndex.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/ProvisionedThroughputOverride.h>
10#include <aws/dynamodb/model/OnDemandThroughputOverride.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 DynamoDB
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_DYNAMODB_API ReplicaGlobalSecondaryIndex() = default;
40 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetIndexName() const { return m_indexName; }
48 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
49 template<typename IndexNameT = Aws::String>
50 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
51 template<typename IndexNameT = Aws::String>
52 ReplicaGlobalSecondaryIndex& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
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) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = std::forward<ProvisionedThroughputOverrideT>(value); }
64 template<typename ProvisionedThroughputOverrideT = ProvisionedThroughputOverride>
65 ReplicaGlobalSecondaryIndex& WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT&& value) { SetProvisionedThroughputOverride(std::forward<ProvisionedThroughputOverrideT>(value)); return *this;}
67
69
73 inline const OnDemandThroughputOverride& GetOnDemandThroughputOverride() const { return m_onDemandThroughputOverride; }
74 inline bool OnDemandThroughputOverrideHasBeenSet() const { return m_onDemandThroughputOverrideHasBeenSet; }
75 template<typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
76 void SetOnDemandThroughputOverride(OnDemandThroughputOverrideT&& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = std::forward<OnDemandThroughputOverrideT>(value); }
77 template<typename OnDemandThroughputOverrideT = OnDemandThroughputOverride>
78 ReplicaGlobalSecondaryIndex& WithOnDemandThroughputOverride(OnDemandThroughputOverrideT&& value) { SetOnDemandThroughputOverride(std::forward<OnDemandThroughputOverrideT>(value)); return *this;}
80 private:
81
82 Aws::String m_indexName;
83 bool m_indexNameHasBeenSet = false;
84
85 ProvisionedThroughputOverride m_provisionedThroughputOverride;
86 bool m_provisionedThroughputOverrideHasBeenSet = false;
87
88 OnDemandThroughputOverride m_onDemandThroughputOverride;
89 bool m_onDemandThroughputOverrideHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DynamoDB
94} // 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