AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <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:
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 inline void SetIndexName(const Aws::String& value) { m_indexNameHasBeenSet = true; m_indexName = value; }
50 inline void SetIndexName(Aws::String&& value) { m_indexNameHasBeenSet = true; m_indexName = std::move(value); }
51 inline void SetIndexName(const char* value) { m_indexNameHasBeenSet = true; m_indexName.assign(value); }
53 inline ReplicaGlobalSecondaryIndexDescription& WithIndexName(Aws::String&& value) { SetIndexName(std::move(value)); return *this;}
54 inline ReplicaGlobalSecondaryIndexDescription& WithIndexName(const char* value) { SetIndexName(value); return *this;}
56
58
61 inline const ProvisionedThroughputOverride& GetProvisionedThroughputOverride() const{ return m_provisionedThroughputOverride; }
62 inline bool ProvisionedThroughputOverrideHasBeenSet() const { return m_provisionedThroughputOverrideHasBeenSet; }
63 inline void SetProvisionedThroughputOverride(const ProvisionedThroughputOverride& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = value; }
64 inline void SetProvisionedThroughputOverride(ProvisionedThroughputOverride&& value) { m_provisionedThroughputOverrideHasBeenSet = true; m_provisionedThroughputOverride = std::move(value); }
68
70
74 inline const OnDemandThroughputOverride& GetOnDemandThroughputOverride() const{ return m_onDemandThroughputOverride; }
75 inline bool OnDemandThroughputOverrideHasBeenSet() const { return m_onDemandThroughputOverrideHasBeenSet; }
76 inline void SetOnDemandThroughputOverride(const OnDemandThroughputOverride& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = value; }
77 inline void SetOnDemandThroughputOverride(OnDemandThroughputOverride&& value) { m_onDemandThroughputOverrideHasBeenSet = true; m_onDemandThroughputOverride = std::move(value); }
81 private:
82
83 Aws::String m_indexName;
84 bool m_indexNameHasBeenSet = false;
85
86 ProvisionedThroughputOverride m_provisionedThroughputOverride;
87 bool m_provisionedThroughputOverrideHasBeenSet = false;
88
89 OnDemandThroughputOverride m_onDemandThroughputOverride;
90 bool m_onDemandThroughputOverrideHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace DynamoDB
95} // namespace Aws
ReplicaGlobalSecondaryIndexDescription & WithProvisionedThroughputOverride(ProvisionedThroughputOverride &&value)
void SetProvisionedThroughputOverride(const ProvisionedThroughputOverride &value)
ReplicaGlobalSecondaryIndexDescription & WithOnDemandThroughputOverride(OnDemandThroughputOverride &&value)
ReplicaGlobalSecondaryIndexDescription & WithOnDemandThroughputOverride(const OnDemandThroughputOverride &value)
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndexDescription(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API ReplicaGlobalSecondaryIndexDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
ReplicaGlobalSecondaryIndexDescription & WithIndexName(const char *value)
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
ReplicaGlobalSecondaryIndexDescription & WithProvisionedThroughputOverride(const ProvisionedThroughputOverride &value)
ReplicaGlobalSecondaryIndexDescription & WithIndexName(Aws::String &&value)
ReplicaGlobalSecondaryIndexDescription & WithIndexName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue