AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
UpdateGlobalTableSettingsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dynamodb/DynamoDB_EXPORTS.h>
10#include <aws/dynamodb/model/ReplicaSettingsDescription.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace DynamoDB {
24namespace Model {
26 public:
27 AWS_DYNAMODB_API UpdateGlobalTableSettingsResult() = default;
30
32
35 inline const Aws::String& GetGlobalTableName() const { return m_globalTableName; }
36 template <typename GlobalTableNameT = Aws::String>
37 void SetGlobalTableName(GlobalTableNameT&& value) {
38 m_globalTableNameHasBeenSet = true;
39 m_globalTableName = std::forward<GlobalTableNameT>(value);
40 }
41 template <typename GlobalTableNameT = Aws::String>
43 SetGlobalTableName(std::forward<GlobalTableNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::Vector<ReplicaSettingsDescription>& GetReplicaSettings() const { return m_replicaSettings; }
53 template <typename ReplicaSettingsT = Aws::Vector<ReplicaSettingsDescription>>
54 void SetReplicaSettings(ReplicaSettingsT&& value) {
55 m_replicaSettingsHasBeenSet = true;
56 m_replicaSettings = std::forward<ReplicaSettingsT>(value);
57 }
58 template <typename ReplicaSettingsT = Aws::Vector<ReplicaSettingsDescription>>
60 SetReplicaSettings(std::forward<ReplicaSettingsT>(value));
61 return *this;
62 }
63 template <typename ReplicaSettingsT = ReplicaSettingsDescription>
65 m_replicaSettingsHasBeenSet = true;
66 m_replicaSettings.emplace_back(std::forward<ReplicaSettingsT>(value));
67 return *this;
68 }
70
72
73 inline const Aws::String& GetRequestId() const { return m_requestId; }
74 template <typename RequestIdT = Aws::String>
75 void SetRequestId(RequestIdT&& value) {
76 m_requestIdHasBeenSet = true;
77 m_requestId = std::forward<RequestIdT>(value);
78 }
79 template <typename RequestIdT = Aws::String>
81 SetRequestId(std::forward<RequestIdT>(value));
82 return *this;
83 }
85 private:
86 Aws::String m_globalTableName;
87
89
90 Aws::String m_requestId;
91 bool m_globalTableNameHasBeenSet = false;
92 bool m_replicaSettingsHasBeenSet = false;
93 bool m_requestIdHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace DynamoDB
98} // namespace Aws
AWS_DYNAMODB_API UpdateGlobalTableSettingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateGlobalTableSettingsResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< ReplicaSettingsDescription > & GetReplicaSettings() const
UpdateGlobalTableSettingsResult & WithGlobalTableName(GlobalTableNameT &&value)
UpdateGlobalTableSettingsResult & WithReplicaSettings(ReplicaSettingsT &&value)
UpdateGlobalTableSettingsResult & AddReplicaSettings(ReplicaSettingsT &&value)
AWS_DYNAMODB_API UpdateGlobalTableSettingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DYNAMODB_API UpdateGlobalTableSettingsResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue