AWS SDK for C++  1.9.20
AWS SDK for C++
AliasICPRecordal.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace CloudFront
22 {
23 namespace Model
24 {
25 
40  {
41  public:
45 
46  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
47 
48 
52  inline const Aws::String& GetCNAME() const{ return m_cNAME; }
53 
57  inline bool CNAMEHasBeenSet() const { return m_cNAMEHasBeenSet; }
58 
62  inline void SetCNAME(const Aws::String& value) { m_cNAMEHasBeenSet = true; m_cNAME = value; }
63 
67  inline void SetCNAME(Aws::String&& value) { m_cNAMEHasBeenSet = true; m_cNAME = std::move(value); }
68 
72  inline void SetCNAME(const char* value) { m_cNAMEHasBeenSet = true; m_cNAME.assign(value); }
73 
77  inline AliasICPRecordal& WithCNAME(const Aws::String& value) { SetCNAME(value); return *this;}
78 
82  inline AliasICPRecordal& WithCNAME(Aws::String&& value) { SetCNAME(std::move(value)); return *this;}
83 
87  inline AliasICPRecordal& WithCNAME(const char* value) { SetCNAME(value); return *this;}
88 
89 
105  inline const ICPRecordalStatus& GetICPRecordalStatus() const{ return m_iCPRecordalStatus; }
106 
122  inline bool ICPRecordalStatusHasBeenSet() const { return m_iCPRecordalStatusHasBeenSet; }
123 
139  inline void SetICPRecordalStatus(const ICPRecordalStatus& value) { m_iCPRecordalStatusHasBeenSet = true; m_iCPRecordalStatus = value; }
140 
156  inline void SetICPRecordalStatus(ICPRecordalStatus&& value) { m_iCPRecordalStatusHasBeenSet = true; m_iCPRecordalStatus = std::move(value); }
157 
173  inline AliasICPRecordal& WithICPRecordalStatus(const ICPRecordalStatus& value) { SetICPRecordalStatus(value); return *this;}
174 
190  inline AliasICPRecordal& WithICPRecordalStatus(ICPRecordalStatus&& value) { SetICPRecordalStatus(std::move(value)); return *this;}
191 
192  private:
193 
194  Aws::String m_cNAME;
195  bool m_cNAMEHasBeenSet;
196 
197  ICPRecordalStatus m_iCPRecordalStatus;
198  bool m_iCPRecordalStatusHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace CloudFront
203 } // namespace Aws
Aws::CloudFront::Model::AliasICPRecordal::WithCNAME
AliasICPRecordal & WithCNAME(const char *value)
Definition: AliasICPRecordal.h:87
Aws::CloudFront::Model::AliasICPRecordal::SetCNAME
void SetCNAME(const char *value)
Definition: AliasICPRecordal.h:72
Aws::CloudFront::Model::AliasICPRecordal::WithICPRecordalStatus
AliasICPRecordal & WithICPRecordalStatus(ICPRecordalStatus &&value)
Definition: AliasICPRecordal.h:190
Aws::CloudFront::Model::AliasICPRecordal::WithCNAME
AliasICPRecordal & WithCNAME(const Aws::String &value)
Definition: AliasICPRecordal.h:77
Aws::CloudFront::Model::AliasICPRecordal::SetCNAME
void SetCNAME(const Aws::String &value)
Definition: AliasICPRecordal.h:62
Aws::CloudFront::Model::AliasICPRecordal::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::AliasICPRecordal::GetCNAME
const Aws::String & GetCNAME() const
Definition: AliasICPRecordal.h:52
ICPRecordalStatus.h
Aws::CloudFront::Model::AliasICPRecordal::SetICPRecordalStatus
void SetICPRecordalStatus(const ICPRecordalStatus &value)
Definition: AliasICPRecordal.h:139
Aws::CloudFront::Model::AliasICPRecordal
Definition: AliasICPRecordal.h:40
Aws::CloudFront::Model::AliasICPRecordal::WithICPRecordalStatus
AliasICPRecordal & WithICPRecordalStatus(const ICPRecordalStatus &value)
Definition: AliasICPRecordal.h:173
Aws::CloudFront::Model::AliasICPRecordal::AliasICPRecordal
AliasICPRecordal()
Aws::CloudFront::Model::AliasICPRecordal::GetICPRecordalStatus
const ICPRecordalStatus & GetICPRecordalStatus() const
Definition: AliasICPRecordal.h:105
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::CloudFront::Model::AliasICPRecordal::SetCNAME
void SetCNAME(Aws::String &&value)
Definition: AliasICPRecordal.h:67
Aws::CloudFront::Model::AliasICPRecordal::CNAMEHasBeenSet
bool CNAMEHasBeenSet() const
Definition: AliasICPRecordal.h:57
Aws::CloudFront::Model::ICPRecordalStatus
ICPRecordalStatus
Definition: ICPRecordalStatus.h:17
AWSString.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::AliasICPRecordal::operator=
AliasICPRecordal & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::AliasICPRecordal::WithCNAME
AliasICPRecordal & WithCNAME(Aws::String &&value)
Definition: AliasICPRecordal.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::AliasICPRecordal::AliasICPRecordal
AliasICPRecordal(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::AliasICPRecordal::ICPRecordalStatusHasBeenSet
bool ICPRecordalStatusHasBeenSet() const
Definition: AliasICPRecordal.h:122
Aws::CloudFront::Model::AliasICPRecordal::SetICPRecordalStatus
void SetICPRecordalStatus(ICPRecordalStatus &&value)
Definition: AliasICPRecordal.h:156