AWS SDK for C++  1.9.176
AWS SDK for C++
CheckDNSAvailabilityResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace ElasticBeanstalk
25 {
26 namespace Model
27 {
34  {
35  public:
39 
40 
46  inline bool GetAvailable() const{ return m_available; }
47 
53  inline void SetAvailable(bool value) { m_available = value; }
54 
60  inline CheckDNSAvailabilityResult& WithAvailable(bool value) { SetAvailable(value); return *this;}
61 
62 
67  inline const Aws::String& GetFullyQualifiedCNAME() const{ return m_fullyQualifiedCNAME; }
68 
73  inline void SetFullyQualifiedCNAME(const Aws::String& value) { m_fullyQualifiedCNAME = value; }
74 
79  inline void SetFullyQualifiedCNAME(Aws::String&& value) { m_fullyQualifiedCNAME = std::move(value); }
80 
85  inline void SetFullyQualifiedCNAME(const char* value) { m_fullyQualifiedCNAME.assign(value); }
86 
91  inline CheckDNSAvailabilityResult& WithFullyQualifiedCNAME(const Aws::String& value) { SetFullyQualifiedCNAME(value); return *this;}
92 
97  inline CheckDNSAvailabilityResult& WithFullyQualifiedCNAME(Aws::String&& value) { SetFullyQualifiedCNAME(std::move(value)); return *this;}
98 
103  inline CheckDNSAvailabilityResult& WithFullyQualifiedCNAME(const char* value) { SetFullyQualifiedCNAME(value); return *this;}
104 
105 
106 
107  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
108 
109 
110  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
111 
112 
113  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
114 
115 
116  inline CheckDNSAvailabilityResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
117 
118 
119  inline CheckDNSAvailabilityResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
120 
121  private:
122 
123  bool m_available;
124 
125  Aws::String m_fullyQualifiedCNAME;
126 
127  ResponseMetadata m_responseMetadata;
128  };
129 
130 } // namespace Model
131 } // namespace ElasticBeanstalk
132 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_ELASTICBEANSTALK_API
#define AWS_ELASTICBEANSTALK_API
Definition: ElasticBeanstalk_EXPORTS.h:28
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::CheckDNSAvailabilityResult
CheckDNSAvailabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CheckDNSAvailabilityResult.h:113
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CheckDNSAvailabilityResult.h:107
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::SetAvailable
void SetAvailable(bool value)
Definition: CheckDNSAvailabilityResult.h:53
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::SetFullyQualifiedCNAME
void SetFullyQualifiedCNAME(Aws::String &&value)
Definition: CheckDNSAvailabilityResult.h:79
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::WithResponseMetadata
CheckDNSAvailabilityResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: CheckDNSAvailabilityResult.h:119
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::operator=
CheckDNSAvailabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::WithResponseMetadata
CheckDNSAvailabilityResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: CheckDNSAvailabilityResult.h:116
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::WithFullyQualifiedCNAME
CheckDNSAvailabilityResult & WithFullyQualifiedCNAME(const Aws::String &value)
Definition: CheckDNSAvailabilityResult.h:91
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::SetFullyQualifiedCNAME
void SetFullyQualifiedCNAME(const char *value)
Definition: CheckDNSAvailabilityResult.h:85
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::GetAvailable
bool GetAvailable() const
Definition: CheckDNSAvailabilityResult.h:46
AWSString.h
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::WithFullyQualifiedCNAME
CheckDNSAvailabilityResult & WithFullyQualifiedCNAME(const char *value)
Definition: CheckDNSAvailabilityResult.h:103
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::WithFullyQualifiedCNAME
CheckDNSAvailabilityResult & WithFullyQualifiedCNAME(Aws::String &&value)
Definition: CheckDNSAvailabilityResult.h:97
ResponseMetadata.h
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::SetFullyQualifiedCNAME
void SetFullyQualifiedCNAME(const Aws::String &value)
Definition: CheckDNSAvailabilityResult.h:73
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult
Definition: CheckDNSAvailabilityResult.h:34
ElasticBeanstalk_EXPORTS.h
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::GetFullyQualifiedCNAME
const Aws::String & GetFullyQualifiedCNAME() const
Definition: CheckDNSAvailabilityResult.h:67
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CheckDNSAvailabilityResult.h:110
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElasticBeanstalk::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::CheckDNSAvailabilityResult
CheckDNSAvailabilityResult()
Aws::ElasticBeanstalk::Model::CheckDNSAvailabilityResult::WithAvailable
CheckDNSAvailabilityResult & WithAvailable(bool value)
Definition: CheckDNSAvailabilityResult.h:60