AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CustomDomain.h
1
6#pragma once
7#include <aws/apprunner/AppRunner_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/apprunner/model/CustomDomainAssociationStatus.h>
11#include <aws/apprunner/model/CertificateValidationRecord.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace AppRunner
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_APPRUNNER_API CustomDomain();
39 AWS_APPRUNNER_API CustomDomain(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPRUNNER_API CustomDomain& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
51 inline const Aws::String& GetDomainName() const{ return m_domainName; }
52 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
53 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
54 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
55 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
56 inline CustomDomain& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
57 inline CustomDomain& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
58 inline CustomDomain& WithDomainName(const char* value) { SetDomainName(value); return *this;}
60
62
66 inline bool GetEnableWWWSubdomain() const{ return m_enableWWWSubdomain; }
67 inline bool EnableWWWSubdomainHasBeenSet() const { return m_enableWWWSubdomainHasBeenSet; }
68 inline void SetEnableWWWSubdomain(bool value) { m_enableWWWSubdomainHasBeenSet = true; m_enableWWWSubdomain = value; }
69 inline CustomDomain& WithEnableWWWSubdomain(bool value) { SetEnableWWWSubdomain(value); return *this;}
71
73
76 inline const Aws::Vector<CertificateValidationRecord>& GetCertificateValidationRecords() const{ return m_certificateValidationRecords; }
77 inline bool CertificateValidationRecordsHasBeenSet() const { return m_certificateValidationRecordsHasBeenSet; }
78 inline void SetCertificateValidationRecords(const Aws::Vector<CertificateValidationRecord>& value) { m_certificateValidationRecordsHasBeenSet = true; m_certificateValidationRecords = value; }
79 inline void SetCertificateValidationRecords(Aws::Vector<CertificateValidationRecord>&& value) { m_certificateValidationRecordsHasBeenSet = true; m_certificateValidationRecords = std::move(value); }
82 inline CustomDomain& AddCertificateValidationRecords(const CertificateValidationRecord& value) { m_certificateValidationRecordsHasBeenSet = true; m_certificateValidationRecords.push_back(value); return *this; }
83 inline CustomDomain& AddCertificateValidationRecords(CertificateValidationRecord&& value) { m_certificateValidationRecordsHasBeenSet = true; m_certificateValidationRecords.push_back(std::move(value)); return *this; }
85
87
90 inline const CustomDomainAssociationStatus& GetStatus() const{ return m_status; }
91 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
92 inline void SetStatus(const CustomDomainAssociationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
93 inline void SetStatus(CustomDomainAssociationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
94 inline CustomDomain& WithStatus(const CustomDomainAssociationStatus& value) { SetStatus(value); return *this;}
95 inline CustomDomain& WithStatus(CustomDomainAssociationStatus&& value) { SetStatus(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_domainName;
100 bool m_domainNameHasBeenSet = false;
101
102 bool m_enableWWWSubdomain;
103 bool m_enableWWWSubdomainHasBeenSet = false;
104
105 Aws::Vector<CertificateValidationRecord> m_certificateValidationRecords;
106 bool m_certificateValidationRecordsHasBeenSet = false;
107
109 bool m_statusHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace AppRunner
114} // namespace Aws
void SetCertificateValidationRecords(Aws::Vector< CertificateValidationRecord > &&value)
CustomDomain & WithEnableWWWSubdomain(bool value)
CustomDomain & WithDomainName(const char *value)
void SetDomainName(const Aws::String &value)
void SetStatus(const CustomDomainAssociationStatus &value)
CustomDomain & WithStatus(CustomDomainAssociationStatus &&value)
AWS_APPRUNNER_API CustomDomain & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainName(Aws::String &&value)
void SetStatus(CustomDomainAssociationStatus &&value)
void SetCertificateValidationRecords(const Aws::Vector< CertificateValidationRecord > &value)
const CustomDomainAssociationStatus & GetStatus() const
CustomDomain & AddCertificateValidationRecords(const CertificateValidationRecord &value)
CustomDomain & AddCertificateValidationRecords(CertificateValidationRecord &&value)
AWS_APPRUNNER_API CustomDomain(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< CertificateValidationRecord > & GetCertificateValidationRecords() const
void SetDomainName(const char *value)
CustomDomain & WithCertificateValidationRecords(Aws::Vector< CertificateValidationRecord > &&value)
CustomDomain & WithStatus(const CustomDomainAssociationStatus &value)
bool CertificateValidationRecordsHasBeenSet() const
CustomDomain & WithDomainName(const Aws::String &value)
AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDomainName() const
CustomDomain & WithDomainName(Aws::String &&value)
CustomDomain & WithCertificateValidationRecords(const Aws::Vector< CertificateValidationRecord > &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