AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ReplicaGlobalSecondaryIndexDescription.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 <aws/dynamodb/model/GlobalSecondaryIndexWarmThroughputDescription.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 ReplicaGlobalSecondaryIndexDescription() = default;
41 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetIndexName() const { return m_indexName; }
49 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
50 template<typename IndexNameT = Aws::String>
51 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
52 template<typename IndexNameT = Aws::String>
53 ReplicaGlobalSecondaryIndexDescription& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
55
57
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 ReplicaGlobalSecondaryIndexDescription& 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 ReplicaGlobalSecondaryIndexDescription& WithOnDemandThroughputOverride(OnDemandThroughputOverrideT&& value) { SetOnDemandThroughputOverride(std::forward<OnDemandThroughputOverrideT>(value)); return *this;}
80
82
86 inline const GlobalSecondaryIndexWarmThroughputDescription& GetWarmThroughput() const { return m_warmThroughput; }
87 inline bool WarmThroughputHasBeenSet() const { return m_warmThroughputHasBeenSet; }
88 template<typename WarmThroughputT = GlobalSecondaryIndexWarmThroughputDescription>
89 void SetWarmThroughput(WarmThroughputT&& value) { m_warmThroughputHasBeenSet = true; m_warmThroughput = std::forward<WarmThroughputT>(value); }
90 template<typename WarmThroughputT = GlobalSecondaryIndexWarmThroughputDescription>
91 ReplicaGlobalSecondaryIndexDescription& WithWarmThroughput(WarmThroughputT&& value) { SetWarmThroughput(std::forward<WarmThroughputT>(value)); return *this;}
93 private:
94
95 Aws::String m_indexName;
96 bool m_indexNameHasBeenSet = false;
97
98 ProvisionedThroughputOverride m_provisionedThroughputOverride;
99 bool m_provisionedThroughputOverrideHasBeenSet = false;
100
101 OnDemandThroughputOverride m_onDemandThroughputOverride;
102 bool m_onDemandThroughputOverrideHasBeenSet = false;
103
105 bool m_warmThroughputHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace DynamoDB
110} // namespace Aws
ReplicaGlobalSecondaryIndexDescription & WithWarmThroughput(WarmThroughputT &&value)
ReplicaGlobalSecondaryIndexDescription & WithProvisionedThroughputOverride(ProvisionedThroughputOverrideT &&value)
const GlobalSecondaryIndexWarmThroughputDescription & GetWarmThroughput() const
ReplicaGlobalSecondaryIndexDescription & WithOnDemandThroughputOverride(OnDemandThroughputOverrideT &&value)
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndexDescription(Aws::Utils::Json::JsonView jsonValue)
ReplicaGlobalSecondaryIndexDescription & WithIndexName(IndexNameT &&value)
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndexDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
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