AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RenewalSummary.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lightsail/model/RenewalStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/lightsail/model/DomainValidationRecord.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 Lightsail
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_LIGHTSAIL_API RenewalSummary();
40 AWS_LIGHTSAIL_API RenewalSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<DomainValidationRecord>& GetDomainValidationRecords() const{ return m_domainValidationRecords; }
51 inline bool DomainValidationRecordsHasBeenSet() const { return m_domainValidationRecordsHasBeenSet; }
52 inline void SetDomainValidationRecords(const Aws::Vector<DomainValidationRecord>& value) { m_domainValidationRecordsHasBeenSet = true; m_domainValidationRecords = value; }
53 inline void SetDomainValidationRecords(Aws::Vector<DomainValidationRecord>&& value) { m_domainValidationRecordsHasBeenSet = true; m_domainValidationRecords = std::move(value); }
56 inline RenewalSummary& AddDomainValidationRecords(const DomainValidationRecord& value) { m_domainValidationRecordsHasBeenSet = true; m_domainValidationRecords.push_back(value); return *this; }
57 inline RenewalSummary& AddDomainValidationRecords(DomainValidationRecord&& value) { m_domainValidationRecordsHasBeenSet = true; m_domainValidationRecords.push_back(std::move(value)); return *this; }
59
61
78 inline const RenewalStatus& GetRenewalStatus() const{ return m_renewalStatus; }
79 inline bool RenewalStatusHasBeenSet() const { return m_renewalStatusHasBeenSet; }
80 inline void SetRenewalStatus(const RenewalStatus& value) { m_renewalStatusHasBeenSet = true; m_renewalStatus = value; }
81 inline void SetRenewalStatus(RenewalStatus&& value) { m_renewalStatusHasBeenSet = true; m_renewalStatus = std::move(value); }
82 inline RenewalSummary& WithRenewalStatus(const RenewalStatus& value) { SetRenewalStatus(value); return *this;}
83 inline RenewalSummary& WithRenewalStatus(RenewalStatus&& value) { SetRenewalStatus(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetRenewalStatusReason() const{ return m_renewalStatusReason; }
91 inline bool RenewalStatusReasonHasBeenSet() const { return m_renewalStatusReasonHasBeenSet; }
92 inline void SetRenewalStatusReason(const Aws::String& value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason = value; }
93 inline void SetRenewalStatusReason(Aws::String&& value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason = std::move(value); }
94 inline void SetRenewalStatusReason(const char* value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason.assign(value); }
95 inline RenewalSummary& WithRenewalStatusReason(const Aws::String& value) { SetRenewalStatusReason(value); return *this;}
96 inline RenewalSummary& WithRenewalStatusReason(Aws::String&& value) { SetRenewalStatusReason(std::move(value)); return *this;}
97 inline RenewalSummary& WithRenewalStatusReason(const char* value) { SetRenewalStatusReason(value); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
105 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
106 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
107 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
108 inline RenewalSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
109 inline RenewalSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
111 private:
112
113 Aws::Vector<DomainValidationRecord> m_domainValidationRecords;
114 bool m_domainValidationRecordsHasBeenSet = false;
115
116 RenewalStatus m_renewalStatus;
117 bool m_renewalStatusHasBeenSet = false;
118
119 Aws::String m_renewalStatusReason;
120 bool m_renewalStatusReasonHasBeenSet = false;
121
122 Aws::Utils::DateTime m_updatedAt;
123 bool m_updatedAtHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace Lightsail
128} // namespace Aws
RenewalSummary & WithDomainValidationRecords(const Aws::Vector< DomainValidationRecord > &value)
void SetRenewalStatusReason(Aws::String &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetRenewalStatus(RenewalStatus &&value)
void SetDomainValidationRecords(const Aws::Vector< DomainValidationRecord > &value)
AWS_LIGHTSAIL_API RenewalSummary(Aws::Utils::Json::JsonView jsonValue)
RenewalSummary & WithRenewalStatusReason(const char *value)
const Aws::String & GetRenewalStatusReason() const
void SetRenewalStatus(const RenewalStatus &value)
const Aws::Vector< DomainValidationRecord > & GetDomainValidationRecords() const
RenewalSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
RenewalSummary & WithRenewalStatus(RenewalStatus &&value)
RenewalSummary & WithDomainValidationRecords(Aws::Vector< DomainValidationRecord > &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRenewalStatusReason(const char *value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AWS_LIGHTSAIL_API RenewalSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RenewalSummary & WithRenewalStatusReason(Aws::String &&value)
RenewalSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
RenewalSummary & WithRenewalStatus(const RenewalStatus &value)
const RenewalStatus & GetRenewalStatus() const
RenewalSummary & AddDomainValidationRecords(const DomainValidationRecord &value)
RenewalSummary & AddDomainValidationRecords(DomainValidationRecord &&value)
RenewalSummary & WithRenewalStatusReason(const Aws::String &value)
void SetDomainValidationRecords(Aws::Vector< DomainValidationRecord > &&value)
void SetRenewalStatusReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue