AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InstanceAttachmentEnaSrdSpecification.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/InstanceAttachmentEnaSrdUdpSpecification.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
42 {
43 public:
47
48 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
50
51
53
56 inline bool GetEnaSrdEnabled() const{ return m_enaSrdEnabled; }
57 inline bool EnaSrdEnabledHasBeenSet() const { return m_enaSrdEnabledHasBeenSet; }
58 inline void SetEnaSrdEnabled(bool value) { m_enaSrdEnabledHasBeenSet = true; m_enaSrdEnabled = value; }
61
63
66 inline const InstanceAttachmentEnaSrdUdpSpecification& GetEnaSrdUdpSpecification() const{ return m_enaSrdUdpSpecification; }
67 inline bool EnaSrdUdpSpecificationHasBeenSet() const { return m_enaSrdUdpSpecificationHasBeenSet; }
68 inline void SetEnaSrdUdpSpecification(const InstanceAttachmentEnaSrdUdpSpecification& value) { m_enaSrdUdpSpecificationHasBeenSet = true; m_enaSrdUdpSpecification = value; }
69 inline void SetEnaSrdUdpSpecification(InstanceAttachmentEnaSrdUdpSpecification&& value) { m_enaSrdUdpSpecificationHasBeenSet = true; m_enaSrdUdpSpecification = std::move(value); }
73 private:
74
75 bool m_enaSrdEnabled;
76 bool m_enaSrdEnabledHasBeenSet = false;
77
78 InstanceAttachmentEnaSrdUdpSpecification m_enaSrdUdpSpecification;
79 bool m_enaSrdUdpSpecificationHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace EC2
84} // namespace Aws
AWS_EC2_API InstanceAttachmentEnaSrdSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEnaSrdUdpSpecification(InstanceAttachmentEnaSrdUdpSpecification &&value)
const InstanceAttachmentEnaSrdUdpSpecification & GetEnaSrdUdpSpecification() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
InstanceAttachmentEnaSrdSpecification & WithEnaSrdUdpSpecification(InstanceAttachmentEnaSrdUdpSpecification &&value)
InstanceAttachmentEnaSrdSpecification & WithEnaSrdUdpSpecification(const InstanceAttachmentEnaSrdUdpSpecification &value)
InstanceAttachmentEnaSrdSpecification & WithEnaSrdEnabled(bool value)
void SetEnaSrdUdpSpecification(const InstanceAttachmentEnaSrdUdpSpecification &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API InstanceAttachmentEnaSrdSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream