AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Association.h
1
6#pragma once
7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/redshift/model/CertificateAssociation.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace Redshift
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_REDSHIFT_API Association();
39 AWS_REDSHIFT_API Association(const Aws::Utils::Xml::XmlNode& xmlNode);
40 AWS_REDSHIFT_API Association& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
41
42 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_REDSHIFT_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
51 inline const Aws::String& GetCustomDomainCertificateArn() const{ return m_customDomainCertificateArn; }
52 inline bool CustomDomainCertificateArnHasBeenSet() const { return m_customDomainCertificateArnHasBeenSet; }
53 inline void SetCustomDomainCertificateArn(const Aws::String& value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn = value; }
54 inline void SetCustomDomainCertificateArn(Aws::String&& value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn = std::move(value); }
55 inline void SetCustomDomainCertificateArn(const char* value) { m_customDomainCertificateArnHasBeenSet = true; m_customDomainCertificateArn.assign(value); }
57 inline Association& WithCustomDomainCertificateArn(Aws::String&& value) { SetCustomDomainCertificateArn(std::move(value)); return *this;}
58 inline Association& WithCustomDomainCertificateArn(const char* value) { SetCustomDomainCertificateArn(value); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetCustomDomainCertificateExpiryDate() const{ return m_customDomainCertificateExpiryDate; }
66 inline bool CustomDomainCertificateExpiryDateHasBeenSet() const { return m_customDomainCertificateExpiryDateHasBeenSet; }
67 inline void SetCustomDomainCertificateExpiryDate(const Aws::Utils::DateTime& value) { m_customDomainCertificateExpiryDateHasBeenSet = true; m_customDomainCertificateExpiryDate = value; }
68 inline void SetCustomDomainCertificateExpiryDate(Aws::Utils::DateTime&& value) { m_customDomainCertificateExpiryDateHasBeenSet = true; m_customDomainCertificateExpiryDate = std::move(value); }
72
74
78 inline const Aws::Vector<CertificateAssociation>& GetCertificateAssociations() const{ return m_certificateAssociations; }
79 inline bool CertificateAssociationsHasBeenSet() const { return m_certificateAssociationsHasBeenSet; }
80 inline void SetCertificateAssociations(const Aws::Vector<CertificateAssociation>& value) { m_certificateAssociationsHasBeenSet = true; m_certificateAssociations = value; }
81 inline void SetCertificateAssociations(Aws::Vector<CertificateAssociation>&& value) { m_certificateAssociationsHasBeenSet = true; m_certificateAssociations = std::move(value); }
84 inline Association& AddCertificateAssociations(const CertificateAssociation& value) { m_certificateAssociationsHasBeenSet = true; m_certificateAssociations.push_back(value); return *this; }
85 inline Association& AddCertificateAssociations(CertificateAssociation&& value) { m_certificateAssociationsHasBeenSet = true; m_certificateAssociations.push_back(std::move(value)); return *this; }
87 private:
88
89 Aws::String m_customDomainCertificateArn;
90 bool m_customDomainCertificateArnHasBeenSet = false;
91
92 Aws::Utils::DateTime m_customDomainCertificateExpiryDate;
93 bool m_customDomainCertificateExpiryDateHasBeenSet = false;
94
95 Aws::Vector<CertificateAssociation> m_certificateAssociations;
96 bool m_certificateAssociationsHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace Redshift
101} // namespace Aws
void SetCustomDomainCertificateArn(const Aws::String &value)
Definition Association.h:53
void SetCustomDomainCertificateArn(const char *value)
Definition Association.h:55
Association & WithCustomDomainCertificateExpiryDate(Aws::Utils::DateTime &&value)
Definition Association.h:70
bool CustomDomainCertificateExpiryDateHasBeenSet() const
Definition Association.h:66
AWS_REDSHIFT_API Association & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< CertificateAssociation > & GetCertificateAssociations() const
Definition Association.h:78
void SetCertificateAssociations(const Aws::Vector< CertificateAssociation > &value)
Definition Association.h:80
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Association & WithCustomDomainCertificateArn(Aws::String &&value)
Definition Association.h:57
void SetCustomDomainCertificateExpiryDate(const Aws::Utils::DateTime &value)
Definition Association.h:67
Association & WithCertificateAssociations(const Aws::Vector< CertificateAssociation > &value)
Definition Association.h:82
void SetCertificateAssociations(Aws::Vector< CertificateAssociation > &&value)
Definition Association.h:81
Association & WithCertificateAssociations(Aws::Vector< CertificateAssociation > &&value)
Definition Association.h:83
Association & AddCertificateAssociations(CertificateAssociation &&value)
Definition Association.h:85
void SetCustomDomainCertificateExpiryDate(Aws::Utils::DateTime &&value)
Definition Association.h:68
Association & WithCustomDomainCertificateArn(const char *value)
Definition Association.h:58
const Aws::String & GetCustomDomainCertificateArn() const
Definition Association.h:51
bool CustomDomainCertificateArnHasBeenSet() const
Definition Association.h:52
const Aws::Utils::DateTime & GetCustomDomainCertificateExpiryDate() const
Definition Association.h:65
AWS_REDSHIFT_API Association(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCustomDomainCertificateArn(Aws::String &&value)
Definition Association.h:54
Association & WithCustomDomainCertificateArn(const Aws::String &value)
Definition Association.h:56
AWS_REDSHIFT_API void OutputToStream(Aws::OStream &oStream, const char *location) const
Association & AddCertificateAssociations(const CertificateAssociation &value)
Definition Association.h:84
Association & WithCustomDomainCertificateExpiryDate(const Aws::Utils::DateTime &value)
Definition Association.h:69
bool CertificateAssociationsHasBeenSet() const
Definition Association.h:79
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream