AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnaSrdSpecification.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/EnaSrdUdpSpecification.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:
44 AWS_EC2_API EnaSrdSpecification();
45 AWS_EC2_API EnaSrdSpecification(const Aws::Utils::Xml::XmlNode& xmlNode);
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; }
59 inline EnaSrdSpecification& WithEnaSrdEnabled(bool value) { SetEnaSrdEnabled(value); return *this;}
61
63
66 inline const EnaSrdUdpSpecification& GetEnaSrdUdpSpecification() const{ return m_enaSrdUdpSpecification; }
67 inline bool EnaSrdUdpSpecificationHasBeenSet() const { return m_enaSrdUdpSpecificationHasBeenSet; }
68 inline void SetEnaSrdUdpSpecification(const EnaSrdUdpSpecification& value) { m_enaSrdUdpSpecificationHasBeenSet = true; m_enaSrdUdpSpecification = value; }
69 inline void SetEnaSrdUdpSpecification(EnaSrdUdpSpecification&& value) { m_enaSrdUdpSpecificationHasBeenSet = true; m_enaSrdUdpSpecification = std::move(value); }
73 private:
74
75 bool m_enaSrdEnabled;
76 bool m_enaSrdEnabledHasBeenSet = false;
77
78 EnaSrdUdpSpecification m_enaSrdUdpSpecification;
79 bool m_enaSrdUdpSpecificationHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace EC2
84} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EnaSrdSpecification & WithEnaSrdUdpSpecification(const EnaSrdUdpSpecification &value)
AWS_EC2_API EnaSrdSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const EnaSrdUdpSpecification & GetEnaSrdUdpSpecification() const
void SetEnaSrdUdpSpecification(EnaSrdUdpSpecification &&value)
EnaSrdSpecification & WithEnaSrdUdpSpecification(EnaSrdUdpSpecification &&value)
void SetEnaSrdUdpSpecification(const EnaSrdUdpSpecification &value)
AWS_EC2_API EnaSrdSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
EnaSrdSpecification & WithEnaSrdEnabled(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_ostream< char, std::char_traits< char > > OStream