AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateClusterResult.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{
36 {
37 public:
38 AWS_DSQL_API UpdateClusterResult() = default;
41
42
44
47 inline const Aws::String& GetIdentifier() const { return m_identifier; }
48 template<typename IdentifierT = Aws::String>
49 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
50 template<typename IdentifierT = Aws::String>
51 UpdateClusterResult& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
53
55
58 inline const Aws::String& GetArn() const { return m_arn; }
59 template<typename ArnT = Aws::String>
60 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
61 template<typename ArnT = Aws::String>
62 UpdateClusterResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
64
66
69 inline ClusterStatus GetStatus() const { return m_status; }
70 inline void SetStatus(ClusterStatus value) { m_statusHasBeenSet = true; m_status = value; }
71 inline UpdateClusterResult& WithStatus(ClusterStatus value) { SetStatus(value); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
79 template<typename CreationTimeT = Aws::Utils::DateTime>
80 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
81 template<typename CreationTimeT = Aws::Utils::DateTime>
82 UpdateClusterResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template<typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
90 template<typename RequestIdT = Aws::String>
91 UpdateClusterResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
93 private:
94
95 Aws::String m_identifier;
96 bool m_identifierHasBeenSet = false;
97
98 Aws::String m_arn;
99 bool m_arnHasBeenSet = false;
100
102 bool m_statusHasBeenSet = false;
103
104 Aws::Utils::DateTime m_creationTime{};
105 bool m_creationTimeHasBeenSet = false;
106
107 Aws::String m_requestId;
108 bool m_requestIdHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace DSQL
113} // namespace Aws
const Aws::Utils::DateTime & GetCreationTime() const
UpdateClusterResult & WithCreationTime(CreationTimeT &&value)
AWS_DSQL_API UpdateClusterResult()=default
const Aws::String & GetRequestId() const
UpdateClusterResult & WithRequestId(RequestIdT &&value)
void SetCreationTime(CreationTimeT &&value)
UpdateClusterResult & WithArn(ArnT &&value)
UpdateClusterResult & WithIdentifier(IdentifierT &&value)
AWS_DSQL_API UpdateClusterResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateClusterResult & WithStatus(ClusterStatus value)
const Aws::String & GetIdentifier() const
AWS_DSQL_API UpdateClusterResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue