AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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