AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PrivateDnsNameOptionsOnLaunch.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/HostnameType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
32 {
33 public:
37
38 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
41
43
50 inline const HostnameType& GetHostnameType() const{ return m_hostnameType; }
51 inline bool HostnameTypeHasBeenSet() const { return m_hostnameTypeHasBeenSet; }
52 inline void SetHostnameType(const HostnameType& value) { m_hostnameTypeHasBeenSet = true; m_hostnameType = value; }
53 inline void SetHostnameType(HostnameType&& value) { m_hostnameTypeHasBeenSet = true; m_hostnameType = std::move(value); }
54 inline PrivateDnsNameOptionsOnLaunch& WithHostnameType(const HostnameType& value) { SetHostnameType(value); return *this;}
55 inline PrivateDnsNameOptionsOnLaunch& WithHostnameType(HostnameType&& value) { SetHostnameType(std::move(value)); return *this;}
57
59
63 inline bool GetEnableResourceNameDnsARecord() const{ return m_enableResourceNameDnsARecord; }
64 inline bool EnableResourceNameDnsARecordHasBeenSet() const { return m_enableResourceNameDnsARecordHasBeenSet; }
65 inline void SetEnableResourceNameDnsARecord(bool value) { m_enableResourceNameDnsARecordHasBeenSet = true; m_enableResourceNameDnsARecord = value; }
68
70
74 inline bool GetEnableResourceNameDnsAAAARecord() const{ return m_enableResourceNameDnsAAAARecord; }
75 inline bool EnableResourceNameDnsAAAARecordHasBeenSet() const { return m_enableResourceNameDnsAAAARecordHasBeenSet; }
76 inline void SetEnableResourceNameDnsAAAARecord(bool value) { m_enableResourceNameDnsAAAARecordHasBeenSet = true; m_enableResourceNameDnsAAAARecord = value; }
79 private:
80
81 HostnameType m_hostnameType;
82 bool m_hostnameTypeHasBeenSet = false;
83
84 bool m_enableResourceNameDnsARecord;
85 bool m_enableResourceNameDnsARecordHasBeenSet = false;
86
87 bool m_enableResourceNameDnsAAAARecord;
88 bool m_enableResourceNameDnsAAAARecordHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace EC2
93} // namespace Aws
PrivateDnsNameOptionsOnLaunch & WithHostnameType(const HostnameType &value)
AWS_EC2_API PrivateDnsNameOptionsOnLaunch & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PrivateDnsNameOptionsOnLaunch & WithEnableResourceNameDnsARecord(bool value)
PrivateDnsNameOptionsOnLaunch & WithHostnameType(HostnameType &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PrivateDnsNameOptionsOnLaunch & WithEnableResourceNameDnsAAAARecord(bool value)
AWS_EC2_API PrivateDnsNameOptionsOnLaunch(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
std::basic_ostream< char, std::char_traits< char > > OStream