AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ClientRouteEnforcementOptions.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9
10namespace Aws {
11namespace Utils {
12namespace Xml {
13class XmlNode;
14} // namespace Xml
15} // namespace Utils
16namespace EC2 {
17namespace Model {
18
33 public:
34 AWS_EC2_API ClientRouteEnforcementOptions() = default;
37
38 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
39 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
40
42
48 inline bool GetEnforced() const { return m_enforced; }
49 inline bool EnforcedHasBeenSet() const { return m_enforcedHasBeenSet; }
50 inline void SetEnforced(bool value) {
51 m_enforcedHasBeenSet = true;
52 m_enforced = value;
53 }
55 SetEnforced(value);
56 return *this;
57 }
59 private:
60 bool m_enforced{false};
61 bool m_enforcedHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace EC2
66} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ClientRouteEnforcementOptions & WithEnforced(bool value)
AWS_EC2_API ClientRouteEnforcementOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API ClientRouteEnforcementOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream