AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ClassicLinkDnsSupport.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
29 public:
30 AWS_EC2_API ClassicLinkDnsSupport() = default;
33
34 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline bool GetClassicLinkDnsSupported() const { return m_classicLinkDnsSupported; }
42 inline bool ClassicLinkDnsSupportedHasBeenSet() const { return m_classicLinkDnsSupportedHasBeenSet; }
43 inline void SetClassicLinkDnsSupported(bool value) {
44 m_classicLinkDnsSupportedHasBeenSet = true;
45 m_classicLinkDnsSupported = value;
46 }
49 return *this;
50 }
52
54
57 inline const Aws::String& GetVpcId() const { return m_vpcId; }
58 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
59 template <typename VpcIdT = Aws::String>
60 void SetVpcId(VpcIdT&& value) {
61 m_vpcIdHasBeenSet = true;
62 m_vpcId = std::forward<VpcIdT>(value);
63 }
64 template <typename VpcIdT = Aws::String>
66 SetVpcId(std::forward<VpcIdT>(value));
67 return *this;
68 }
70 private:
71 bool m_classicLinkDnsSupported{false};
72
73 Aws::String m_vpcId;
74 bool m_classicLinkDnsSupportedHasBeenSet = false;
75 bool m_vpcIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream