AWS SDK for C++  1.9.104
AWS SDK for C++
RenewalSummary.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace Lightsail
26 {
27 namespace Model
28 {
29 
37  {
38  public:
43 
44 
49  inline const Aws::Vector<DomainValidationRecord>& GetDomainValidationRecords() const{ return m_domainValidationRecords; }
50 
55  inline bool DomainValidationRecordsHasBeenSet() const { return m_domainValidationRecordsHasBeenSet; }
56 
61  inline void SetDomainValidationRecords(const Aws::Vector<DomainValidationRecord>& value) { m_domainValidationRecordsHasBeenSet = true; m_domainValidationRecords = value; }
62 
67  inline void SetDomainValidationRecords(Aws::Vector<DomainValidationRecord>&& value) { m_domainValidationRecordsHasBeenSet = true; m_domainValidationRecords = std::move(value); }
68 
73  inline RenewalSummary& WithDomainValidationRecords(const Aws::Vector<DomainValidationRecord>& value) { SetDomainValidationRecords(value); return *this;}
74 
79  inline RenewalSummary& WithDomainValidationRecords(Aws::Vector<DomainValidationRecord>&& value) { SetDomainValidationRecords(std::move(value)); return *this;}
80 
85  inline RenewalSummary& AddDomainValidationRecords(const DomainValidationRecord& value) { m_domainValidationRecordsHasBeenSet = true; m_domainValidationRecords.push_back(value); return *this; }
86 
91  inline RenewalSummary& AddDomainValidationRecords(DomainValidationRecord&& value) { m_domainValidationRecordsHasBeenSet = true; m_domainValidationRecords.push_back(std::move(value)); return *this; }
92 
93 
111  inline const RenewalStatus& GetRenewalStatus() const{ return m_renewalStatus; }
112 
130  inline bool RenewalStatusHasBeenSet() const { return m_renewalStatusHasBeenSet; }
131 
149  inline void SetRenewalStatus(const RenewalStatus& value) { m_renewalStatusHasBeenSet = true; m_renewalStatus = value; }
150 
168  inline void SetRenewalStatus(RenewalStatus&& value) { m_renewalStatusHasBeenSet = true; m_renewalStatus = std::move(value); }
169 
187  inline RenewalSummary& WithRenewalStatus(const RenewalStatus& value) { SetRenewalStatus(value); return *this;}
188 
206  inline RenewalSummary& WithRenewalStatus(RenewalStatus&& value) { SetRenewalStatus(std::move(value)); return *this;}
207 
208 
212  inline const Aws::String& GetRenewalStatusReason() const{ return m_renewalStatusReason; }
213 
217  inline bool RenewalStatusReasonHasBeenSet() const { return m_renewalStatusReasonHasBeenSet; }
218 
222  inline void SetRenewalStatusReason(const Aws::String& value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason = value; }
223 
227  inline void SetRenewalStatusReason(Aws::String&& value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason = std::move(value); }
228 
232  inline void SetRenewalStatusReason(const char* value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason.assign(value); }
233 
237  inline RenewalSummary& WithRenewalStatusReason(const Aws::String& value) { SetRenewalStatusReason(value); return *this;}
238 
242  inline RenewalSummary& WithRenewalStatusReason(Aws::String&& value) { SetRenewalStatusReason(std::move(value)); return *this;}
243 
247  inline RenewalSummary& WithRenewalStatusReason(const char* value) { SetRenewalStatusReason(value); return *this;}
248 
249 
253  inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
254 
258  inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
259 
263  inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
264 
268  inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
269 
273  inline RenewalSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
274 
278  inline RenewalSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
279 
280  private:
281 
282  Aws::Vector<DomainValidationRecord> m_domainValidationRecords;
283  bool m_domainValidationRecordsHasBeenSet;
284 
285  RenewalStatus m_renewalStatus;
286  bool m_renewalStatusHasBeenSet;
287 
288  Aws::String m_renewalStatusReason;
289  bool m_renewalStatusReasonHasBeenSet;
290 
291  Aws::Utils::DateTime m_updatedAt;
292  bool m_updatedAtHasBeenSet;
293  };
294 
295 } // namespace Model
296 } // namespace Lightsail
297 } // namespace Aws
Aws::Lightsail::Model::RenewalSummary::SetRenewalStatusReason
void SetRenewalStatusReason(Aws::String &&value)
Definition: RenewalSummary.h:227
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Lightsail::Model::RenewalSummary::SetRenewalStatusReason
void SetRenewalStatusReason(const char *value)
Definition: RenewalSummary.h:232
Aws::Lightsail::Model::RenewalSummary::WithUpdatedAt
RenewalSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
Definition: RenewalSummary.h:278
Aws::Lightsail::Model::RenewalSummary::operator=
RenewalSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::RenewalSummary::RenewalStatusHasBeenSet
bool RenewalStatusHasBeenSet() const
Definition: RenewalSummary.h:130
DateTime.h
Aws::Lightsail::Model::RenewalSummary::WithRenewalStatusReason
RenewalSummary & WithRenewalStatusReason(const Aws::String &value)
Definition: RenewalSummary.h:237
Aws::Lightsail::Model::RenewalStatus
RenewalStatus
Definition: RenewalStatus.h:17
Aws::Lightsail::Model::RenewalSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::RenewalSummary::GetUpdatedAt
const Aws::Utils::DateTime & GetUpdatedAt() const
Definition: RenewalSummary.h:253
AWSVector.h
Aws::Lightsail::Model::RenewalSummary::SetRenewalStatusReason
void SetRenewalStatusReason(const Aws::String &value)
Definition: RenewalSummary.h:222
Aws::Lightsail::Model::RenewalSummary::SetRenewalStatus
void SetRenewalStatus(RenewalStatus &&value)
Definition: RenewalSummary.h:168
Aws::Lightsail::Model::RenewalSummary::GetRenewalStatusReason
const Aws::String & GetRenewalStatusReason() const
Definition: RenewalSummary.h:212
DomainValidationRecord.h
Aws::Lightsail::Model::RenewalSummary::WithRenewalStatus
RenewalSummary & WithRenewalStatus(const RenewalStatus &value)
Definition: RenewalSummary.h:187
Aws::Lightsail::Model::RenewalSummary::SetDomainValidationRecords
void SetDomainValidationRecords(const Aws::Vector< DomainValidationRecord > &value)
Definition: RenewalSummary.h:61
Aws::Lightsail::Model::RenewalSummary::RenewalStatusReasonHasBeenSet
bool RenewalStatusReasonHasBeenSet() const
Definition: RenewalSummary.h:217
Aws::Lightsail::Model::RenewalSummary::AddDomainValidationRecords
RenewalSummary & AddDomainValidationRecords(DomainValidationRecord &&value)
Definition: RenewalSummary.h:91
Aws::Lightsail::Model::RenewalSummary::WithRenewalStatus
RenewalSummary & WithRenewalStatus(RenewalStatus &&value)
Definition: RenewalSummary.h:206
Aws::Lightsail::Model::RenewalSummary::SetUpdatedAt
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Definition: RenewalSummary.h:268
RenewalStatus.h
Aws::Lightsail::Model::RenewalSummary::WithUpdatedAt
RenewalSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
Definition: RenewalSummary.h:273
Aws::Lightsail::Model::RenewalSummary::UpdatedAtHasBeenSet
bool UpdatedAtHasBeenSet() const
Definition: RenewalSummary.h:258
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Lightsail::Model::RenewalSummary::RenewalSummary
RenewalSummary()
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lightsail::Model::RenewalSummary::WithRenewalStatusReason
RenewalSummary & WithRenewalStatusReason(const char *value)
Definition: RenewalSummary.h:247
Aws::Lightsail::Model::RenewalSummary::SetDomainValidationRecords
void SetDomainValidationRecords(Aws::Vector< DomainValidationRecord > &&value)
Definition: RenewalSummary.h:67
Aws::Lightsail::Model::RenewalSummary::SetUpdatedAt
void SetUpdatedAt(const Aws::Utils::DateTime &value)
Definition: RenewalSummary.h:263
Aws::Lightsail::Model::RenewalSummary::WithRenewalStatusReason
RenewalSummary & WithRenewalStatusReason(Aws::String &&value)
Definition: RenewalSummary.h:242
Aws::Lightsail::Model::DomainValidationRecord
Definition: DomainValidationRecord.h:34
Lightsail_EXPORTS.h
Aws::Lightsail::Model::RenewalSummary::AddDomainValidationRecords
RenewalSummary & AddDomainValidationRecords(const DomainValidationRecord &value)
Definition: RenewalSummary.h:85
Aws::Lightsail::Model::RenewalSummary::GetDomainValidationRecords
const Aws::Vector< DomainValidationRecord > & GetDomainValidationRecords() const
Definition: RenewalSummary.h:49
Aws::Lightsail::Model::RenewalSummary::SetRenewalStatus
void SetRenewalStatus(const RenewalStatus &value)
Definition: RenewalSummary.h:149
Aws::Lightsail::Model::RenewalSummary::WithDomainValidationRecords
RenewalSummary & WithDomainValidationRecords(const Aws::Vector< DomainValidationRecord > &value)
Definition: RenewalSummary.h:73
Aws::Lightsail::Model::RenewalSummary::GetRenewalStatus
const RenewalStatus & GetRenewalStatus() const
Definition: RenewalSummary.h:111
Aws::Lightsail::Model::RenewalSummary::RenewalSummary
RenewalSummary(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::RenewalSummary::DomainValidationRecordsHasBeenSet
bool DomainValidationRecordsHasBeenSet() const
Definition: RenewalSummary.h:55
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::RenewalSummary::WithDomainValidationRecords
RenewalSummary & WithDomainValidationRecords(Aws::Vector< DomainValidationRecord > &&value)
Definition: RenewalSummary.h:79
Aws::Lightsail::Model::RenewalSummary
Definition: RenewalSummary.h:37