AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SourceTableFeatureDetails.h
1
6#pragma once
7#include <aws/dynamodb/DynamoDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/model/StreamSpecification.h>
10#include <aws/dynamodb/model/TimeToLiveDescription.h>
11#include <aws/dynamodb/model/SSEDescription.h>
12#include <aws/dynamodb/model/LocalSecondaryIndexInfo.h>
13#include <aws/dynamodb/model/GlobalSecondaryIndexInfo.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DynamoDB
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_DYNAMODB_API SourceTableFeatureDetails();
43 AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
52 inline const Aws::Vector<LocalSecondaryIndexInfo>& GetLocalSecondaryIndexes() const{ return m_localSecondaryIndexes; }
53 inline bool LocalSecondaryIndexesHasBeenSet() const { return m_localSecondaryIndexesHasBeenSet; }
54 inline void SetLocalSecondaryIndexes(const Aws::Vector<LocalSecondaryIndexInfo>& value) { m_localSecondaryIndexesHasBeenSet = true; m_localSecondaryIndexes = value; }
55 inline void SetLocalSecondaryIndexes(Aws::Vector<LocalSecondaryIndexInfo>&& value) { m_localSecondaryIndexesHasBeenSet = true; m_localSecondaryIndexes = std::move(value); }
58 inline SourceTableFeatureDetails& AddLocalSecondaryIndexes(const LocalSecondaryIndexInfo& value) { m_localSecondaryIndexesHasBeenSet = true; m_localSecondaryIndexes.push_back(value); return *this; }
59 inline SourceTableFeatureDetails& AddLocalSecondaryIndexes(LocalSecondaryIndexInfo&& value) { m_localSecondaryIndexesHasBeenSet = true; m_localSecondaryIndexes.push_back(std::move(value)); return *this; }
61
63
68 inline const Aws::Vector<GlobalSecondaryIndexInfo>& GetGlobalSecondaryIndexes() const{ return m_globalSecondaryIndexes; }
69 inline bool GlobalSecondaryIndexesHasBeenSet() const { return m_globalSecondaryIndexesHasBeenSet; }
70 inline void SetGlobalSecondaryIndexes(const Aws::Vector<GlobalSecondaryIndexInfo>& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = value; }
71 inline void SetGlobalSecondaryIndexes(Aws::Vector<GlobalSecondaryIndexInfo>&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes = std::move(value); }
74 inline SourceTableFeatureDetails& AddGlobalSecondaryIndexes(const GlobalSecondaryIndexInfo& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(value); return *this; }
75 inline SourceTableFeatureDetails& AddGlobalSecondaryIndexes(GlobalSecondaryIndexInfo&& value) { m_globalSecondaryIndexesHasBeenSet = true; m_globalSecondaryIndexes.push_back(std::move(value)); return *this; }
77
79
82 inline const StreamSpecification& GetStreamDescription() const{ return m_streamDescription; }
83 inline bool StreamDescriptionHasBeenSet() const { return m_streamDescriptionHasBeenSet; }
84 inline void SetStreamDescription(const StreamSpecification& value) { m_streamDescriptionHasBeenSet = true; m_streamDescription = value; }
85 inline void SetStreamDescription(StreamSpecification&& value) { m_streamDescriptionHasBeenSet = true; m_streamDescription = std::move(value); }
89
91
94 inline const TimeToLiveDescription& GetTimeToLiveDescription() const{ return m_timeToLiveDescription; }
95 inline bool TimeToLiveDescriptionHasBeenSet() const { return m_timeToLiveDescriptionHasBeenSet; }
96 inline void SetTimeToLiveDescription(const TimeToLiveDescription& value) { m_timeToLiveDescriptionHasBeenSet = true; m_timeToLiveDescription = value; }
97 inline void SetTimeToLiveDescription(TimeToLiveDescription&& value) { m_timeToLiveDescriptionHasBeenSet = true; m_timeToLiveDescription = std::move(value); }
101
103
107 inline const SSEDescription& GetSSEDescription() const{ return m_sSEDescription; }
108 inline bool SSEDescriptionHasBeenSet() const { return m_sSEDescriptionHasBeenSet; }
109 inline void SetSSEDescription(const SSEDescription& value) { m_sSEDescriptionHasBeenSet = true; m_sSEDescription = value; }
110 inline void SetSSEDescription(SSEDescription&& value) { m_sSEDescriptionHasBeenSet = true; m_sSEDescription = std::move(value); }
112 inline SourceTableFeatureDetails& WithSSEDescription(SSEDescription&& value) { SetSSEDescription(std::move(value)); return *this;}
114 private:
115
116 Aws::Vector<LocalSecondaryIndexInfo> m_localSecondaryIndexes;
117 bool m_localSecondaryIndexesHasBeenSet = false;
118
119 Aws::Vector<GlobalSecondaryIndexInfo> m_globalSecondaryIndexes;
120 bool m_globalSecondaryIndexesHasBeenSet = false;
121
122 StreamSpecification m_streamDescription;
123 bool m_streamDescriptionHasBeenSet = false;
124
125 TimeToLiveDescription m_timeToLiveDescription;
126 bool m_timeToLiveDescriptionHasBeenSet = false;
127
128 SSEDescription m_sSEDescription;
129 bool m_sSEDescriptionHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace DynamoDB
134} // namespace Aws
SourceTableFeatureDetails & WithLocalSecondaryIndexes(const Aws::Vector< LocalSecondaryIndexInfo > &value)
void SetLocalSecondaryIndexes(const Aws::Vector< LocalSecondaryIndexInfo > &value)
SourceTableFeatureDetails & WithGlobalSecondaryIndexes(Aws::Vector< GlobalSecondaryIndexInfo > &&value)
const Aws::Vector< LocalSecondaryIndexInfo > & GetLocalSecondaryIndexes() const
SourceTableFeatureDetails & AddGlobalSecondaryIndexes(GlobalSecondaryIndexInfo &&value)
const Aws::Vector< GlobalSecondaryIndexInfo > & GetGlobalSecondaryIndexes() const
void SetLocalSecondaryIndexes(Aws::Vector< LocalSecondaryIndexInfo > &&value)
SourceTableFeatureDetails & AddLocalSecondaryIndexes(LocalSecondaryIndexInfo &&value)
SourceTableFeatureDetails & WithSSEDescription(const SSEDescription &value)
SourceTableFeatureDetails & WithStreamDescription(StreamSpecification &&value)
const StreamSpecification & GetStreamDescription() const
void SetGlobalSecondaryIndexes(Aws::Vector< GlobalSecondaryIndexInfo > &&value)
void SetTimeToLiveDescription(const TimeToLiveDescription &value)
SourceTableFeatureDetails & WithGlobalSecondaryIndexes(const Aws::Vector< GlobalSecondaryIndexInfo > &value)
const TimeToLiveDescription & GetTimeToLiveDescription() const
AWS_DYNAMODB_API Aws::Utils::Json::JsonValue Jsonize() const
SourceTableFeatureDetails & WithTimeToLiveDescription(TimeToLiveDescription &&value)
SourceTableFeatureDetails & WithLocalSecondaryIndexes(Aws::Vector< LocalSecondaryIndexInfo > &&value)
SourceTableFeatureDetails & AddGlobalSecondaryIndexes(const GlobalSecondaryIndexInfo &value)
SourceTableFeatureDetails & WithStreamDescription(const StreamSpecification &value)
AWS_DYNAMODB_API SourceTableFeatureDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DYNAMODB_API SourceTableFeatureDetails(Aws::Utils::Json::JsonView jsonValue)
SourceTableFeatureDetails & WithSSEDescription(SSEDescription &&value)
void SetStreamDescription(const StreamSpecification &value)
SourceTableFeatureDetails & AddLocalSecondaryIndexes(const LocalSecondaryIndexInfo &value)
void SetTimeToLiveDescription(TimeToLiveDescription &&value)
void SetGlobalSecondaryIndexes(const Aws::Vector< GlobalSecondaryIndexInfo > &value)
SourceTableFeatureDetails & WithTimeToLiveDescription(const TimeToLiveDescription &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue