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/acm/ACM_EXPORTS.h>
8#include <aws/acm/model/RenewalStatus.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/acm/model/FailureReason.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/acm/model/DomainValidation.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 ACM
26{
27namespace Model
28{
29
39 {
40 public:
41 AWS_ACM_API RenewalSummary();
45
46
48
53 inline const RenewalStatus& GetRenewalStatus() const{ return m_renewalStatus; }
54 inline bool RenewalStatusHasBeenSet() const { return m_renewalStatusHasBeenSet; }
55 inline void SetRenewalStatus(const RenewalStatus& value) { m_renewalStatusHasBeenSet = true; m_renewalStatus = value; }
56 inline void SetRenewalStatus(RenewalStatus&& value) { m_renewalStatusHasBeenSet = true; m_renewalStatus = std::move(value); }
57 inline RenewalSummary& WithRenewalStatus(const RenewalStatus& value) { SetRenewalStatus(value); return *this;}
58 inline RenewalSummary& WithRenewalStatus(RenewalStatus&& value) { SetRenewalStatus(std::move(value)); return *this;}
60
62
70 inline const Aws::Vector<DomainValidation>& GetDomainValidationOptions() const{ return m_domainValidationOptions; }
71 inline bool DomainValidationOptionsHasBeenSet() const { return m_domainValidationOptionsHasBeenSet; }
72 inline void SetDomainValidationOptions(const Aws::Vector<DomainValidation>& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions = value; }
73 inline void SetDomainValidationOptions(Aws::Vector<DomainValidation>&& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions = std::move(value); }
76 inline RenewalSummary& AddDomainValidationOptions(const DomainValidation& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions.push_back(value); return *this; }
77 inline RenewalSummary& AddDomainValidationOptions(DomainValidation&& value) { m_domainValidationOptionsHasBeenSet = true; m_domainValidationOptions.push_back(std::move(value)); return *this; }
79
81
84 inline const FailureReason& GetRenewalStatusReason() const{ return m_renewalStatusReason; }
85 inline bool RenewalStatusReasonHasBeenSet() const { return m_renewalStatusReasonHasBeenSet; }
86 inline void SetRenewalStatusReason(const FailureReason& value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason = value; }
87 inline void SetRenewalStatusReason(FailureReason&& value) { m_renewalStatusReasonHasBeenSet = true; m_renewalStatusReason = std::move(value); }
88 inline RenewalSummary& WithRenewalStatusReason(const FailureReason& value) { SetRenewalStatusReason(value); return *this;}
89 inline RenewalSummary& WithRenewalStatusReason(FailureReason&& value) { SetRenewalStatusReason(std::move(value)); return *this;}
91
93
96 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
97 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
98 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
99 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
100 inline RenewalSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
101 inline RenewalSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
103 private:
104
105 RenewalStatus m_renewalStatus;
106 bool m_renewalStatusHasBeenSet = false;
107
108 Aws::Vector<DomainValidation> m_domainValidationOptions;
109 bool m_domainValidationOptionsHasBeenSet = false;
110
111 FailureReason m_renewalStatusReason;
112 bool m_renewalStatusReasonHasBeenSet = false;
113
114 Aws::Utils::DateTime m_updatedAt;
115 bool m_updatedAtHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace ACM
120} // namespace Aws
RenewalSummary & AddDomainValidationOptions(DomainValidation &&value)
const FailureReason & GetRenewalStatusReason() const
const Aws::Utils::DateTime & GetUpdatedAt() const
const RenewalStatus & GetRenewalStatus() const
RenewalSummary & WithUpdatedAt(Aws::Utils::DateTime &&value)
AWS_ACM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
bool DomainValidationOptionsHasBeenSet() const
AWS_ACM_API RenewalSummary(Aws::Utils::Json::JsonView jsonValue)
void SetRenewalStatus(RenewalStatus &&value)
void SetDomainValidationOptions(Aws::Vector< DomainValidation > &&value)
void SetRenewalStatusReason(const FailureReason &value)
RenewalSummary & WithRenewalStatusReason(FailureReason &&value)
void SetRenewalStatusReason(FailureReason &&value)
const Aws::Vector< DomainValidation > & GetDomainValidationOptions() const
void SetDomainValidationOptions(const Aws::Vector< DomainValidation > &value)
void SetRenewalStatus(const RenewalStatus &value)
RenewalSummary & WithUpdatedAt(const Aws::Utils::DateTime &value)
RenewalSummary & WithDomainValidationOptions(Aws::Vector< DomainValidation > &&value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
RenewalSummary & WithRenewalStatus(const RenewalStatus &value)
RenewalSummary & WithDomainValidationOptions(const Aws::Vector< DomainValidation > &value)
RenewalSummary & WithRenewalStatusReason(const FailureReason &value)
RenewalSummary & WithRenewalStatus(RenewalStatus &&value)
RenewalSummary & AddDomainValidationOptions(const DomainValidation &value)
AWS_ACM_API RenewalSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue