AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OperationSummary.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{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Route53Domains
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_ROUTE53DOMAINS_API OperationSummary();
40 AWS_ROUTE53DOMAINS_API OperationSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ROUTE53DOMAINS_API OperationSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetOperationId() const{ return m_operationId; }
50 inline bool OperationIdHasBeenSet() const { return m_operationIdHasBeenSet; }
51 inline void SetOperationId(const Aws::String& value) { m_operationIdHasBeenSet = true; m_operationId = value; }
52 inline void SetOperationId(Aws::String&& value) { m_operationIdHasBeenSet = true; m_operationId = std::move(value); }
53 inline void SetOperationId(const char* value) { m_operationIdHasBeenSet = true; m_operationId.assign(value); }
54 inline OperationSummary& WithOperationId(const Aws::String& value) { SetOperationId(value); return *this;}
55 inline OperationSummary& WithOperationId(Aws::String&& value) { SetOperationId(std::move(value)); return *this;}
56 inline OperationSummary& WithOperationId(const char* value) { SetOperationId(value); return *this;}
58
60
63 inline const OperationStatus& GetStatus() const{ return m_status; }
64 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
65 inline void SetStatus(const OperationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
66 inline void SetStatus(OperationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
67 inline OperationSummary& WithStatus(const OperationStatus& value) { SetStatus(value); return *this;}
68 inline OperationSummary& WithStatus(OperationStatus&& value) { SetStatus(std::move(value)); return *this;}
70
72
75 inline const OperationType& GetType() const{ return m_type; }
76 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
77 inline void SetType(const OperationType& value) { m_typeHasBeenSet = true; m_type = value; }
78 inline void SetType(OperationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
79 inline OperationSummary& WithType(const OperationType& value) { SetType(value); return *this;}
80 inline OperationSummary& WithType(OperationType&& value) { SetType(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetSubmittedDate() const{ return m_submittedDate; }
88 inline bool SubmittedDateHasBeenSet() const { return m_submittedDateHasBeenSet; }
89 inline void SetSubmittedDate(const Aws::Utils::DateTime& value) { m_submittedDateHasBeenSet = true; m_submittedDate = value; }
90 inline void SetSubmittedDate(Aws::Utils::DateTime&& value) { m_submittedDateHasBeenSet = true; m_submittedDate = std::move(value); }
91 inline OperationSummary& WithSubmittedDate(const Aws::Utils::DateTime& value) { SetSubmittedDate(value); return *this;}
92 inline OperationSummary& WithSubmittedDate(Aws::Utils::DateTime&& value) { SetSubmittedDate(std::move(value)); return *this;}
94
96
99 inline const Aws::String& GetDomainName() const{ return m_domainName; }
100 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
101 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
102 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
103 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
104 inline OperationSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
105 inline OperationSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
106 inline OperationSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
108
110
113 inline const Aws::String& GetMessage() const{ return m_message; }
114 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
115 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
116 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
117 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
118 inline OperationSummary& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
119 inline OperationSummary& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
120 inline OperationSummary& WithMessage(const char* value) { SetMessage(value); return *this;}
122
124
139 inline const StatusFlag& GetStatusFlag() const{ return m_statusFlag; }
140 inline bool StatusFlagHasBeenSet() const { return m_statusFlagHasBeenSet; }
141 inline void SetStatusFlag(const StatusFlag& value) { m_statusFlagHasBeenSet = true; m_statusFlag = value; }
142 inline void SetStatusFlag(StatusFlag&& value) { m_statusFlagHasBeenSet = true; m_statusFlag = std::move(value); }
143 inline OperationSummary& WithStatusFlag(const StatusFlag& value) { SetStatusFlag(value); return *this;}
144 inline OperationSummary& WithStatusFlag(StatusFlag&& value) { SetStatusFlag(std::move(value)); return *this;}
146
148
152 inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; }
153 inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; }
154 inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; }
155 inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); }
157 inline OperationSummary& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;}
159 private:
160
161 Aws::String m_operationId;
162 bool m_operationIdHasBeenSet = false;
163
164 OperationStatus m_status;
165 bool m_statusHasBeenSet = false;
166
167 OperationType m_type;
168 bool m_typeHasBeenSet = false;
169
170 Aws::Utils::DateTime m_submittedDate;
171 bool m_submittedDateHasBeenSet = false;
172
173 Aws::String m_domainName;
174 bool m_domainNameHasBeenSet = false;
175
176 Aws::String m_message;
177 bool m_messageHasBeenSet = false;
178
179 StatusFlag m_statusFlag;
180 bool m_statusFlagHasBeenSet = false;
181
182 Aws::Utils::DateTime m_lastUpdatedDate;
183 bool m_lastUpdatedDateHasBeenSet = false;
184 };
185
186} // namespace Model
187} // namespace Route53Domains
188} // namespace Aws
OperationSummary & WithMessage(Aws::String &&value)
void SetLastUpdatedDate(const Aws::Utils::DateTime &value)
void SetStatusFlag(const StatusFlag &value)
OperationSummary & WithMessage(const Aws::String &value)
OperationSummary & WithStatusFlag(const StatusFlag &value)
OperationSummary & WithDomainName(const char *value)
void SetSubmittedDate(const Aws::Utils::DateTime &value)
void SetMessage(const Aws::String &value)
void SetLastUpdatedDate(Aws::Utils::DateTime &&value)
void SetDomainName(const Aws::String &value)
OperationSummary & WithOperationId(const Aws::String &value)
AWS_ROUTE53DOMAINS_API OperationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetSubmittedDate() const
OperationSummary & WithType(const OperationType &value)
OperationSummary & WithStatus(OperationStatus &&value)
OperationSummary & WithLastUpdatedDate(Aws::Utils::DateTime &&value)
AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubmittedDate(Aws::Utils::DateTime &&value)
void SetType(const OperationType &value)
OperationSummary & WithStatusFlag(StatusFlag &&value)
OperationSummary & WithType(OperationType &&value)
void SetOperationId(const Aws::String &value)
OperationSummary & WithMessage(const char *value)
OperationSummary & WithOperationId(Aws::String &&value)
OperationSummary & WithSubmittedDate(Aws::Utils::DateTime &&value)
OperationSummary & WithSubmittedDate(const Aws::Utils::DateTime &value)
OperationSummary & WithDomainName(const Aws::String &value)
AWS_ROUTE53DOMAINS_API OperationSummary(Aws::Utils::Json::JsonView jsonValue)
OperationSummary & WithLastUpdatedDate(const Aws::Utils::DateTime &value)
const OperationStatus & GetStatus() const
OperationSummary & WithStatus(const OperationStatus &value)
OperationSummary & WithDomainName(Aws::String &&value)
OperationSummary & WithOperationId(const char *value)
const Aws::Utils::DateTime & GetLastUpdatedDate() const
void SetStatus(const OperationStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue