AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteClusterResult.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 <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DSQL
26{
27namespace Model
28{
35 {
36 public:
37 AWS_DSQL_API DeleteClusterResult() = default;
40
41
43
46 inline const Aws::String& GetIdentifier() const { return m_identifier; }
47 template<typename IdentifierT = Aws::String>
48 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
49 template<typename IdentifierT = Aws::String>
50 DeleteClusterResult& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 template<typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
60 template<typename ArnT = Aws::String>
61 DeleteClusterResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
63
65
68 inline ClusterStatus GetStatus() const { return m_status; }
69 inline void SetStatus(ClusterStatus value) { m_statusHasBeenSet = true; m_status = value; }
70 inline DeleteClusterResult& WithStatus(ClusterStatus value) { SetStatus(value); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
78 template<typename CreationTimeT = Aws::Utils::DateTime>
79 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
80 template<typename CreationTimeT = Aws::Utils::DateTime>
81 DeleteClusterResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template<typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
89 template<typename RequestIdT = Aws::String>
90 DeleteClusterResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
92 private:
93
94 Aws::String m_identifier;
95 bool m_identifierHasBeenSet = false;
96
97 Aws::String m_arn;
98 bool m_arnHasBeenSet = false;
99
101 bool m_statusHasBeenSet = false;
102
103 Aws::Utils::DateTime m_creationTime{};
104 bool m_creationTimeHasBeenSet = false;
105
106 Aws::String m_requestId;
107 bool m_requestIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace DSQL
112} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue