AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CheckDNSAvailabilityResult.h
1
6#pragma once
7#include <aws/elasticbeanstalk/ElasticBeanstalk_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticbeanstalk/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElasticBeanstalk
25{
26namespace Model
27{
34 {
35 public:
36 AWS_ELASTICBEANSTALK_API CheckDNSAvailabilityResult();
39
40
42
47 inline bool GetAvailable() const{ return m_available; }
48 inline void SetAvailable(bool value) { m_available = value; }
49 inline CheckDNSAvailabilityResult& WithAvailable(bool value) { SetAvailable(value); return *this;}
51
53
57 inline const Aws::String& GetFullyQualifiedCNAME() const{ return m_fullyQualifiedCNAME; }
58 inline void SetFullyQualifiedCNAME(const Aws::String& value) { m_fullyQualifiedCNAME = value; }
59 inline void SetFullyQualifiedCNAME(Aws::String&& value) { m_fullyQualifiedCNAME = std::move(value); }
60 inline void SetFullyQualifiedCNAME(const char* value) { m_fullyQualifiedCNAME.assign(value); }
62 inline CheckDNSAvailabilityResult& WithFullyQualifiedCNAME(Aws::String&& value) { SetFullyQualifiedCNAME(std::move(value)); return *this;}
63 inline CheckDNSAvailabilityResult& WithFullyQualifiedCNAME(const char* value) { SetFullyQualifiedCNAME(value); return *this;}
65
67
68 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
69 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
70 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
72 inline CheckDNSAvailabilityResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
74 private:
75
76 bool m_available;
77
78 Aws::String m_fullyQualifiedCNAME;
79
80 ResponseMetadata m_responseMetadata;
81 };
82
83} // namespace Model
84} // namespace ElasticBeanstalk
85} // namespace Aws
CheckDNSAvailabilityResult & WithFullyQualifiedCNAME(const Aws::String &value)
CheckDNSAvailabilityResult & WithResponseMetadata(const ResponseMetadata &value)
AWS_ELASTICBEANSTALK_API CheckDNSAvailabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CheckDNSAvailabilityResult & WithFullyQualifiedCNAME(const char *value)
CheckDNSAvailabilityResult & WithResponseMetadata(ResponseMetadata &&value)
CheckDNSAvailabilityResult & WithFullyQualifiedCNAME(Aws::String &&value)
AWS_ELASTICBEANSTALK_API CheckDNSAvailabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument