AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EnaSrdSpecificationRequest.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/EnaSrdUdpSpecificationRequest.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
33 {
34 public:
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline bool GetEnaSrdEnabled() const{ return m_enaSrdEnabled; }
49 inline bool EnaSrdEnabledHasBeenSet() const { return m_enaSrdEnabledHasBeenSet; }
50 inline void SetEnaSrdEnabled(bool value) { m_enaSrdEnabledHasBeenSet = true; m_enaSrdEnabled = value; }
51 inline EnaSrdSpecificationRequest& WithEnaSrdEnabled(bool value) { SetEnaSrdEnabled(value); return *this;}
53
55
59 inline const EnaSrdUdpSpecificationRequest& GetEnaSrdUdpSpecification() const{ return m_enaSrdUdpSpecification; }
60 inline bool EnaSrdUdpSpecificationHasBeenSet() const { return m_enaSrdUdpSpecificationHasBeenSet; }
61 inline void SetEnaSrdUdpSpecification(const EnaSrdUdpSpecificationRequest& value) { m_enaSrdUdpSpecificationHasBeenSet = true; m_enaSrdUdpSpecification = value; }
62 inline void SetEnaSrdUdpSpecification(EnaSrdUdpSpecificationRequest&& value) { m_enaSrdUdpSpecificationHasBeenSet = true; m_enaSrdUdpSpecification = std::move(value); }
66 private:
67
68 bool m_enaSrdEnabled;
69 bool m_enaSrdEnabledHasBeenSet = false;
70
71 EnaSrdUdpSpecificationRequest m_enaSrdUdpSpecification;
72 bool m_enaSrdUdpSpecificationHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace EC2
77} // namespace Aws
EnaSrdSpecificationRequest & WithEnaSrdUdpSpecification(const EnaSrdUdpSpecificationRequest &value)
AWS_EC2_API EnaSrdSpecificationRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const EnaSrdUdpSpecificationRequest & GetEnaSrdUdpSpecification() const
void SetEnaSrdUdpSpecification(EnaSrdUdpSpecificationRequest &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EnaSrdSpecificationRequest & WithEnaSrdEnabled(bool value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
EnaSrdSpecificationRequest & WithEnaSrdUdpSpecification(EnaSrdUdpSpecificationRequest &&value)
AWS_EC2_API EnaSrdSpecificationRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEnaSrdUdpSpecification(const EnaSrdUdpSpecificationRequest &value)
std::basic_ostream< char, std::char_traits< char > > OStream