AWS SDK for C++

AWS SDK for C++ Version 1.11.945

Loading...
Searching...
No Matches
DeleteClusterResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/dsql/DSQL_EXPORTS.h>
11#include <aws/dsql/model/ClusterStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DSQL {
25namespace Model {
32 public:
33 AWS_DSQL_API DeleteClusterResult() = default;
36
38
41 inline const Aws::String& GetIdentifier() const { return m_identifier; }
42 template <typename IdentifierT = Aws::String>
43 void SetIdentifier(IdentifierT&& value) {
44 m_identifierHasBeenSet = true;
45 m_identifier = std::forward<IdentifierT>(value);
46 }
47 template <typename IdentifierT = Aws::String>
48 DeleteClusterResult& WithIdentifier(IdentifierT&& value) {
49 SetIdentifier(std::forward<IdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 template <typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) {
61 m_arnHasBeenSet = true;
62 m_arn = std::forward<ArnT>(value);
63 }
64 template <typename ArnT = Aws::String>
66 SetArn(std::forward<ArnT>(value));
67 return *this;
68 }
70
72
75 inline ClusterStatus GetStatus() const { return m_status; }
76 inline void SetStatus(ClusterStatus value) {
77 m_statusHasBeenSet = true;
78 m_status = value;
79 }
81 SetStatus(value);
82 return *this;
83 }
85
87
90 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
91 template <typename CreationTimeT = Aws::Utils::DateTime>
92 void SetCreationTime(CreationTimeT&& value) {
93 m_creationTimeHasBeenSet = true;
94 m_creationTime = std::forward<CreationTimeT>(value);
95 }
96 template <typename CreationTimeT = Aws::Utils::DateTime>
97 DeleteClusterResult& WithCreationTime(CreationTimeT&& value) {
98 SetCreationTime(std::forward<CreationTimeT>(value));
99 return *this;
100 }
102
104
105 inline const Aws::String& GetRequestId() const { return m_requestId; }
106 template <typename RequestIdT = Aws::String>
107 void SetRequestId(RequestIdT&& value) {
108 m_requestIdHasBeenSet = true;
109 m_requestId = std::forward<RequestIdT>(value);
110 }
111 template <typename RequestIdT = Aws::String>
112 DeleteClusterResult& WithRequestId(RequestIdT&& value) {
113 SetRequestId(std::forward<RequestIdT>(value));
114 return *this;
115 }
117 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
118
119 private:
120 Aws::String m_identifier;
121
122 Aws::String m_arn;
123
125
126 Aws::Utils::DateTime m_creationTime{};
127
128 Aws::String m_requestId;
129 Aws::Http::HttpResponseCode m_HttpResponseCode;
130 bool m_identifierHasBeenSet = false;
131 bool m_arnHasBeenSet = false;
132 bool m_statusHasBeenSet = false;
133 bool m_creationTimeHasBeenSet = false;
134 bool m_requestIdHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace DSQL
139} // namespace Aws
DeleteClusterResult & WithRequestId(RequestIdT &&value)
AWS_DSQL_API DeleteClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DSQL_API DeleteClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetIdentifier() const
DeleteClusterResult & WithIdentifier(IdentifierT &&value)
const Aws::String & GetRequestId() const
AWS_DSQL_API DeleteClusterResult()=default
DeleteClusterResult & WithStatus(ClusterStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetCreationTime(CreationTimeT &&value)
DeleteClusterResult & WithArn(ArnT &&value)
DeleteClusterResult & WithCreationTime(CreationTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue