AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetClusterResult.h
1
6#pragma once
7#include <aws/dsql/DSQL_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/dsql/model/ClusterStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/dsql/model/MultiRegionProperties.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/dsql/model/EncryptionDetails.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace DSQL
29{
30namespace Model
31{
38 {
39 public:
40 AWS_DSQL_API GetClusterResult() = default;
43
44
46
49 inline const Aws::String& GetIdentifier() const { return m_identifier; }
50 template<typename IdentifierT = Aws::String>
51 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
52 template<typename IdentifierT = Aws::String>
53 GetClusterResult& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
55
57
60 inline const Aws::String& GetArn() const { return m_arn; }
61 template<typename ArnT = Aws::String>
62 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
63 template<typename ArnT = Aws::String>
64 GetClusterResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
66
68
71 inline ClusterStatus GetStatus() const { return m_status; }
72 inline void SetStatus(ClusterStatus value) { m_statusHasBeenSet = true; m_status = value; }
73 inline GetClusterResult& WithStatus(ClusterStatus value) { SetStatus(value); return *this;}
75
77
80 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
81 template<typename CreationTimeT = Aws::Utils::DateTime>
82 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
83 template<typename CreationTimeT = Aws::Utils::DateTime>
84 GetClusterResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
86
88
91 inline bool GetDeletionProtectionEnabled() const { return m_deletionProtectionEnabled; }
92 inline void SetDeletionProtectionEnabled(bool value) { m_deletionProtectionEnabledHasBeenSet = true; m_deletionProtectionEnabled = value; }
95
97
101 inline const MultiRegionProperties& GetMultiRegionProperties() const { return m_multiRegionProperties; }
102 template<typename MultiRegionPropertiesT = MultiRegionProperties>
103 void SetMultiRegionProperties(MultiRegionPropertiesT&& value) { m_multiRegionPropertiesHasBeenSet = true; m_multiRegionProperties = std::forward<MultiRegionPropertiesT>(value); }
104 template<typename MultiRegionPropertiesT = MultiRegionProperties>
105 GetClusterResult& WithMultiRegionProperties(MultiRegionPropertiesT&& value) { SetMultiRegionProperties(std::forward<MultiRegionPropertiesT>(value)); return *this;}
107
109
110 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
111 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
112 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
113 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
114 GetClusterResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
115 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
116 GetClusterResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
117 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
118 }
120
122
125 inline const EncryptionDetails& GetEncryptionDetails() const { return m_encryptionDetails; }
126 template<typename EncryptionDetailsT = EncryptionDetails>
127 void SetEncryptionDetails(EncryptionDetailsT&& value) { m_encryptionDetailsHasBeenSet = true; m_encryptionDetails = std::forward<EncryptionDetailsT>(value); }
128 template<typename EncryptionDetailsT = EncryptionDetails>
129 GetClusterResult& WithEncryptionDetails(EncryptionDetailsT&& value) { SetEncryptionDetails(std::forward<EncryptionDetailsT>(value)); return *this;}
131
133
134 inline const Aws::String& GetRequestId() const { return m_requestId; }
135 template<typename RequestIdT = Aws::String>
136 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
137 template<typename RequestIdT = Aws::String>
138 GetClusterResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
140 private:
141
142 Aws::String m_identifier;
143 bool m_identifierHasBeenSet = false;
144
145 Aws::String m_arn;
146 bool m_arnHasBeenSet = false;
147
149 bool m_statusHasBeenSet = false;
150
151 Aws::Utils::DateTime m_creationTime{};
152 bool m_creationTimeHasBeenSet = false;
153
154 bool m_deletionProtectionEnabled{false};
155 bool m_deletionProtectionEnabledHasBeenSet = false;
156
157 MultiRegionProperties m_multiRegionProperties;
158 bool m_multiRegionPropertiesHasBeenSet = false;
159
161 bool m_tagsHasBeenSet = false;
162
163 EncryptionDetails m_encryptionDetails;
164 bool m_encryptionDetailsHasBeenSet = false;
165
166 Aws::String m_requestId;
167 bool m_requestIdHasBeenSet = false;
168 };
169
170} // namespace Model
171} // namespace DSQL
172} // namespace Aws
void SetMultiRegionProperties(MultiRegionPropertiesT &&value)
GetClusterResult & WithEncryptionDetails(EncryptionDetailsT &&value)
GetClusterResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetRequestId() const
AWS_DSQL_API GetClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetIdentifier(IdentifierT &&value)
const Aws::String & GetArn() const
GetClusterResult & WithStatus(ClusterStatus value)
const Aws::String & GetIdentifier() const
void SetRequestId(RequestIdT &&value)
const MultiRegionProperties & GetMultiRegionProperties() const
void SetEncryptionDetails(EncryptionDetailsT &&value)
GetClusterResult & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
GetClusterResult & WithDeletionProtectionEnabled(bool value)
GetClusterResult & WithArn(ArnT &&value)
void SetCreationTime(CreationTimeT &&value)
const EncryptionDetails & GetEncryptionDetails() const
GetClusterResult & WithIdentifier(IdentifierT &&value)
GetClusterResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
void SetStatus(ClusterStatus value)
GetClusterResult & WithTags(TagsT &&value)
GetClusterResult & WithMultiRegionProperties(MultiRegionPropertiesT &&value)
AWS_DSQL_API GetClusterResult()=default
AWS_DSQL_API GetClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue