AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ClientRouteEnforcementOptions.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2
20{
21namespace Model
22{
23
38 {
39 public:
40 AWS_EC2_API ClientRouteEnforcementOptions() = default;
43
44 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
55 inline bool GetEnforced() const { return m_enforced; }
56 inline bool EnforcedHasBeenSet() const { return m_enforcedHasBeenSet; }
57 inline void SetEnforced(bool value) { m_enforcedHasBeenSet = true; m_enforced = value; }
58 inline ClientRouteEnforcementOptions& WithEnforced(bool value) { SetEnforced(value); return *this;}
60 private:
61
62 bool m_enforced{false};
63 bool m_enforcedHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace EC2
68} // 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