AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetOperationDetailResult.h
1
6#pragma once
7#include <aws/route53domains/Route53Domains_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/route53domains/model/OperationStatus.h>
10#include <aws/route53domains/model/OperationType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/route53domains/model/StatusFlag.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace Route53Domains
28{
29namespace Model
30{
38 {
39 public:
40 AWS_ROUTE53DOMAINS_API GetOperationDetailResult();
43
44
46
49 inline const Aws::String& GetOperationId() const{ return m_operationId; }
50 inline void SetOperationId(const Aws::String& value) { m_operationId = value; }
51 inline void SetOperationId(Aws::String&& value) { m_operationId = std::move(value); }
52 inline void SetOperationId(const char* value) { m_operationId.assign(value); }
53 inline GetOperationDetailResult& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
54 inline GetOperationDetailResult& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
55 inline GetOperationDetailResult& WithOperationId(const char* value) { SetOperationId(value); return *this;}
57
59
62 inline const OperationStatus& GetStatus() const{ return m_status; }
63 inline void SetStatus(const OperationStatus& value) { m_status = value; }
64 inline void SetStatus(OperationStatus&& value) { m_status = std::move(value); }
65 inline GetOperationDetailResult& WithStatus(const OperationStatus& value) { SetStatus(value); return *this;}
66 inline GetOperationDetailResult& WithStatus(OperationStatus&& value) { SetStatus(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetMessage() const{ return m_message; }
74 inline void SetMessage(const Aws::String& value) { m_message = value; }
75 inline void SetMessage(Aws::String&& value) { m_message = std::move(value); }
76 inline void SetMessage(const char* value) { m_message.assign(value); }
77 inline GetOperationDetailResult& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
78 inline GetOperationDetailResult& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
79 inline GetOperationDetailResult& WithMessage(const char* value) { SetMessage(value); return *this;}
81
83
86 inline const Aws::String& GetDomainName() const{ return m_domainName; }
87 inline void SetDomainName(const Aws::String& value) { m_domainName = value; }
88 inline void SetDomainName(Aws::String&& value) { m_domainName = std::move(value); }
89 inline void SetDomainName(const char* value) { m_domainName.assign(value); }
90 inline GetOperationDetailResult& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
91 inline GetOperationDetailResult& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
92 inline GetOperationDetailResult& WithDomainName(const char* value) { SetDomainName(value); return *this;}
94
96
99 inline const OperationType& GetType() const{ return m_type; }
100 inline void SetType(const OperationType& value) { m_type = value; }
101 inline void SetType(OperationType&& value) { m_type = std::move(value); }
102 inline GetOperationDetailResult& WithType(const OperationType& value) { SetType(value); return *this;}
103 inline GetOperationDetailResult& WithType(OperationType&& value) { SetType(std::move(value)); return *this;}
105
107
110 inline const Aws::Utils::DateTime& GetSubmittedDate() const{ return m_submittedDate; }
111 inline void SetSubmittedDate(const Aws::Utils::DateTime& value) { m_submittedDate = value; }
112 inline void SetSubmittedDate(Aws::Utils::DateTime&& value) { m_submittedDate = std::move(value); }
114 inline GetOperationDetailResult& WithSubmittedDate(Aws::Utils::DateTime&& value) { SetSubmittedDate(std::move(value)); return *this;}
116
118
121 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
122 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDate = value; }
123 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDate = std::move(value); }
125 inline GetOperationDetailResult& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
127
129
143 inline const StatusFlag& GetStatusFlag() const{ return m_statusFlag; }
144 inline void SetStatusFlag(const StatusFlag& value) { m_statusFlag = value; }
145 inline void SetStatusFlag(StatusFlag&& value) { m_statusFlag = std::move(value); }
146 inline GetOperationDetailResult& WithStatusFlag(const StatusFlag& value) { SetStatusFlag(value); return *this;}
147 inline GetOperationDetailResult& WithStatusFlag(StatusFlag&& value) { SetStatusFlag(std::move(value)); return *this;}
149
151
152 inline const Aws::String& GetRequestId() const{ return m_requestId; }
153 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
154 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
155 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
156 inline GetOperationDetailResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
157 inline GetOperationDetailResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
158 inline GetOperationDetailResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
160 private:
161
162 Aws::String m_operationId;
163
164 OperationStatus m_status;
165
166 Aws::String m_message;
167
168 Aws::String m_domainName;
169
170 OperationType m_type;
171
172 Aws::Utils::DateTime m_submittedDate;
173
174 Aws::Utils::DateTime m_lastUpdatedDate;
175
176 StatusFlag m_statusFlag;
177
178 Aws::String m_requestId;
179 };
180
181} // namespace Model
182} // namespace Route53Domains
183} // namespace Aws
GetOperationDetailResult & WithType(const OperationType &value)
GetOperationDetailResult & WithType(OperationType &&value)
void SetSubmittedDate(const Aws::Utils::DateTime &value)
GetOperationDetailResult & WithOperationId(const Aws::String &value)
GetOperationDetailResult & WithSubmittedDate(const Aws::Utils::DateTime &value)
GetOperationDetailResult & WithOperationId(const char *value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
GetOperationDetailResult & WithDomainName(const Aws::String &value)
GetOperationDetailResult & WithRequestId(const char *value)
AWS_ROUTE53DOMAINS_API GetOperationDetailResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetOperationDetailResult & WithStatusFlag(const StatusFlag &value)
GetOperationDetailResult & WithDomainName(Aws::String &&value)
GetOperationDetailResult & WithStatusFlag(StatusFlag &&value)
GetOperationDetailResult & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
GetOperationDetailResult & WithMessage(const Aws::String &value)
GetOperationDetailResult & WithSubmittedDate(Aws::Utils::DateTime &&value)
GetOperationDetailResult & WithOperationId(Aws::String &&value)
GetOperationDetailResult & WithRequestId(Aws::String &&value)
GetOperationDetailResult & WithMessage(const char *value)
GetOperationDetailResult & WithDomainName(const char *value)
GetOperationDetailResult & WithMessage(Aws::String &&value)
GetOperationDetailResult & WithStatus(OperationStatus &&value)
GetOperationDetailResult & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
GetOperationDetailResult & WithStatus(const OperationStatus &value)
GetOperationDetailResult & WithRequestId(const Aws::String &value)
AWS_ROUTE53DOMAINS_API GetOperationDetailResult & 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