AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDomainMaintenanceStatusResult.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/MaintenanceStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/MaintenanceType.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace OpenSearchService
27{
28namespace Model
29{
37 {
38 public:
39 AWS_OPENSEARCHSERVICE_API GetDomainMaintenanceStatusResult();
42
43
45
48 inline const MaintenanceStatus& GetStatus() const{ return m_status; }
49 inline void SetStatus(const MaintenanceStatus& value) { m_status = value; }
50 inline void SetStatus(MaintenanceStatus&& value) { m_status = std::move(value); }
51 inline GetDomainMaintenanceStatusResult& WithStatus(const MaintenanceStatus& value) { SetStatus(value); return *this;}
52 inline GetDomainMaintenanceStatusResult& WithStatus(MaintenanceStatus&& value) { SetStatus(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
60 inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; }
61 inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); }
62 inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); }
64 inline GetDomainMaintenanceStatusResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
65 inline GetDomainMaintenanceStatusResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
67
69
72 inline const Aws::String& GetNodeId() const{ return m_nodeId; }
73 inline void SetNodeId(const Aws::String& value) { m_nodeId = value; }
74 inline void SetNodeId(Aws::String&& value) { m_nodeId = std::move(value); }
75 inline void SetNodeId(const char* value) { m_nodeId.assign(value); }
76 inline GetDomainMaintenanceStatusResult& WithNodeId(const Aws::String& value) { SetNodeId(value); return *this;}
77 inline GetDomainMaintenanceStatusResult& WithNodeId(Aws::String&& value) { SetNodeId(std::move(value)); return *this;}
78 inline GetDomainMaintenanceStatusResult& WithNodeId(const char* value) { SetNodeId(value); return *this;}
80
82
85 inline const MaintenanceType& GetAction() const{ return m_action; }
86 inline void SetAction(const MaintenanceType& value) { m_action = value; }
87 inline void SetAction(MaintenanceType&& value) { m_action = std::move(value); }
88 inline GetDomainMaintenanceStatusResult& WithAction(const MaintenanceType& value) { SetAction(value); return *this;}
89 inline GetDomainMaintenanceStatusResult& WithAction(MaintenanceType&& value) { SetAction(std::move(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
97 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
98 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
100 inline GetDomainMaintenanceStatusResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
108 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
109 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
111 inline GetDomainMaintenanceStatusResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
113
115
116 inline const Aws::String& GetRequestId() const{ return m_requestId; }
117 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
118 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
119 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
120 inline GetDomainMaintenanceStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
121 inline GetDomainMaintenanceStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
122 inline GetDomainMaintenanceStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
124 private:
125
126 MaintenanceStatus m_status;
127
128 Aws::String m_statusMessage;
129
130 Aws::String m_nodeId;
131
132 MaintenanceType m_action;
133
134 Aws::Utils::DateTime m_createdAt;
135
136 Aws::Utils::DateTime m_updatedAt;
137
138 Aws::String m_requestId;
139 };
140
141} // namespace Model
142} // namespace OpenSearchService
143} // namespace Aws
GetDomainMaintenanceStatusResult & WithStatus(MaintenanceStatus &&value)
AWS_OPENSEARCHSERVICE_API GetDomainMaintenanceStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainMaintenanceStatusResult & WithAction(MaintenanceType &&value)
GetDomainMaintenanceStatusResult & WithStatusMessage(const Aws::String &value)
GetDomainMaintenanceStatusResult & WithRequestId(const Aws::String &value)
GetDomainMaintenanceStatusResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetDomainMaintenanceStatusResult & WithNodeId(Aws::String &&value)
GetDomainMaintenanceStatusResult & WithStatusMessage(const char *value)
GetDomainMaintenanceStatusResult & WithAction(const MaintenanceType &value)
AWS_OPENSEARCHSERVICE_API GetDomainMaintenanceStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDomainMaintenanceStatusResult & WithStatusMessage(Aws::String &&value)
GetDomainMaintenanceStatusResult & WithNodeId(const char *value)
GetDomainMaintenanceStatusResult & WithStatus(const MaintenanceStatus &value)
GetDomainMaintenanceStatusResult & WithRequestId(Aws::String &&value)
GetDomainMaintenanceStatusResult & WithNodeId(const Aws::String &value)
GetDomainMaintenanceStatusResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetDomainMaintenanceStatusResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetDomainMaintenanceStatusResult & WithRequestId(const char *value)
GetDomainMaintenanceStatusResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue