AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LaunchTemplatePrivateDnsNameOptions.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
46 inline const HostnameType& GetHostnameType() const{ return m_hostnameType; }
47 inline bool HostnameTypeHasBeenSet() const { return m_hostnameTypeHasBeenSet; }
48 inline void SetHostnameType(const HostnameType& value) { m_hostnameTypeHasBeenSet = true; m_hostnameType = value; }
49 inline void SetHostnameType(HostnameType&& value) { m_hostnameTypeHasBeenSet = true; m_hostnameType = std::move(value); }
51 inline LaunchTemplatePrivateDnsNameOptions& WithHostnameType(HostnameType&& value) { SetHostnameType(std::move(value)); return *this;}
53
55
59 inline bool GetEnableResourceNameDnsARecord() const{ return m_enableResourceNameDnsARecord; }
60 inline bool EnableResourceNameDnsARecordHasBeenSet() const { return m_enableResourceNameDnsARecordHasBeenSet; }
61 inline void SetEnableResourceNameDnsARecord(bool value) { m_enableResourceNameDnsARecordHasBeenSet = true; m_enableResourceNameDnsARecord = value; }
64
66
70 inline bool GetEnableResourceNameDnsAAAARecord() const{ return m_enableResourceNameDnsAAAARecord; }
71 inline bool EnableResourceNameDnsAAAARecordHasBeenSet() const { return m_enableResourceNameDnsAAAARecordHasBeenSet; }
72 inline void SetEnableResourceNameDnsAAAARecord(bool value) { m_enableResourceNameDnsAAAARecordHasBeenSet = true; m_enableResourceNameDnsAAAARecord = value; }
75 private:
76
77 HostnameType m_hostnameType;
78 bool m_hostnameTypeHasBeenSet = false;
79
80 bool m_enableResourceNameDnsARecord;
81 bool m_enableResourceNameDnsARecordHasBeenSet = false;
82
83 bool m_enableResourceNameDnsAAAARecord;
84 bool m_enableResourceNameDnsAAAARecordHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace EC2
89} // namespace Aws
LaunchTemplatePrivateDnsNameOptions & WithHostnameType(HostnameType &&value)
AWS_EC2_API LaunchTemplatePrivateDnsNameOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
LaunchTemplatePrivateDnsNameOptions & WithEnableResourceNameDnsAAAARecord(bool value)
LaunchTemplatePrivateDnsNameOptions & WithEnableResourceNameDnsARecord(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
LaunchTemplatePrivateDnsNameOptions & WithHostnameType(const HostnameType &value)
AWS_EC2_API LaunchTemplatePrivateDnsNameOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream