AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
47 inline bool GetAvailable() const { return m_available; }
48 inline void SetAvailable(bool value) { m_availableHasBeenSet = true; 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 template<typename FullyQualifiedCNAMET = Aws::String>
59 void SetFullyQualifiedCNAME(FullyQualifiedCNAMET&& value) { m_fullyQualifiedCNAMEHasBeenSet = true; m_fullyQualifiedCNAME = std::forward<FullyQualifiedCNAMET>(value); }
60 template<typename FullyQualifiedCNAMET = Aws::String>
61 CheckDNSAvailabilityResult& WithFullyQualifiedCNAME(FullyQualifiedCNAMET&& value) { SetFullyQualifiedCNAME(std::forward<FullyQualifiedCNAMET>(value)); return *this;}
63
65
66 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
67 template<typename ResponseMetadataT = ResponseMetadata>
68 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
69 template<typename ResponseMetadataT = ResponseMetadata>
70 CheckDNSAvailabilityResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
72 private:
73
74 bool m_available{false};
75 bool m_availableHasBeenSet = false;
76
77 Aws::String m_fullyQualifiedCNAME;
78 bool m_fullyQualifiedCNAMEHasBeenSet = false;
79
80 ResponseMetadata m_responseMetadata;
81 bool m_responseMetadataHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace ElasticBeanstalk
86} // namespace Aws
CheckDNSAvailabilityResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICBEANSTALK_API CheckDNSAvailabilityResult()=default
AWS_ELASTICBEANSTALK_API CheckDNSAvailabilityResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICBEANSTALK_API CheckDNSAvailabilityResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CheckDNSAvailabilityResult & WithFullyQualifiedCNAME(FullyQualifiedCNAMET &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument