AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VpcEncryptionNonCompliantResource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace EC2 {
20namespace Model {
21
32 public:
33 AWS_EC2_API VpcEncryptionNonCompliantResource() = default;
36
37 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
38 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
39
41
44 inline const Aws::String& GetId() const { return m_id; }
45 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
46 template <typename IdT = Aws::String>
47 void SetId(IdT&& value) {
48 m_idHasBeenSet = true;
49 m_id = std::forward<IdT>(value);
50 }
51 template <typename IdT = Aws::String>
53 SetId(std::forward<IdT>(value));
54 return *this;
55 }
57
59
62 inline const Aws::String& GetType() const { return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 template <typename TypeT = Aws::String>
65 void SetType(TypeT&& value) {
66 m_typeHasBeenSet = true;
67 m_type = std::forward<TypeT>(value);
68 }
69 template <typename TypeT = Aws::String>
71 SetType(std::forward<TypeT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template <typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) {
84 m_descriptionHasBeenSet = true;
85 m_description = std::forward<DescriptionT>(value);
86 }
87 template <typename DescriptionT = Aws::String>
89 SetDescription(std::forward<DescriptionT>(value));
90 return *this;
91 }
93
95
99 inline bool GetIsExcludable() const { return m_isExcludable; }
100 inline bool IsExcludableHasBeenSet() const { return m_isExcludableHasBeenSet; }
101 inline void SetIsExcludable(bool value) {
102 m_isExcludableHasBeenSet = true;
103 m_isExcludable = value;
104 }
106 SetIsExcludable(value);
107 return *this;
108 }
110 private:
111 Aws::String m_id;
112
113 Aws::String m_type;
114
115 Aws::String m_description;
116
117 bool m_isExcludable{false};
118 bool m_idHasBeenSet = false;
119 bool m_typeHasBeenSet = false;
120 bool m_descriptionHasBeenSet = false;
121 bool m_isExcludableHasBeenSet = false;
122};
123
124} // namespace Model
125} // namespace EC2
126} // namespace Aws
VpcEncryptionNonCompliantResource & WithId(IdT &&value)
VpcEncryptionNonCompliantResource & WithType(TypeT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpcEncryptionNonCompliantResource & WithIsExcludable(bool value)
AWS_EC2_API VpcEncryptionNonCompliantResource(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcEncryptionNonCompliantResource & WithDescription(DescriptionT &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API VpcEncryptionNonCompliantResource & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream