7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/Tag.h>
12#include <aws/ec2/model/VpcEncryptionControlExclusions.h>
13#include <aws/ec2/model/VpcEncryptionControlMode.h>
14#include <aws/ec2/model/VpcEncryptionControlState.h>
51 template <
typename VpcIdT = Aws::String>
53 m_vpcIdHasBeenSet =
true;
54 m_vpcId = std::forward<VpcIdT>(value);
56 template <
typename VpcIdT = Aws::String>
58 SetVpcId(std::forward<VpcIdT>(value));
69 template <
typename VpcEncryptionControlIdT = Aws::String>
71 m_vpcEncryptionControlIdHasBeenSet =
true;
72 m_vpcEncryptionControlId = std::forward<VpcEncryptionControlIdT>(value);
74 template <
typename VpcEncryptionControlIdT = Aws::String>
88 m_modeHasBeenSet =
true;
104 m_stateHasBeenSet =
true;
120 template <
typename StateMessageT = Aws::String>
122 m_stateMessageHasBeenSet =
true;
123 m_stateMessage = std::forward<StateMessageT>(value);
125 template <
typename StateMessageT = Aws::String>
139 template <
typename ResourceExclusionsT = VpcEncryptionControlExclusions>
141 m_resourceExclusionsHasBeenSet =
true;
142 m_resourceExclusions = std::forward<ResourceExclusionsT>(value);
144 template <
typename ResourceExclusionsT = VpcEncryptionControlExclusions>
157 template <
typename TagsT = Aws::Vector<Tag>>
159 m_tagsHasBeenSet =
true;
160 m_tags = std::forward<TagsT>(value);
162 template <
typename TagsT = Aws::Vector<Tag>>
164 SetTags(std::forward<TagsT>(value));
167 template <
typename TagsT = Tag>
169 m_tagsHasBeenSet =
true;
170 m_tags.emplace_back(std::forward<TagsT>(value));
185 VpcEncryptionControlExclusions m_resourceExclusions;
188 bool m_vpcIdHasBeenSet =
false;
189 bool m_vpcEncryptionControlIdHasBeenSet =
false;
190 bool m_modeHasBeenSet =
false;
191 bool m_stateHasBeenSet =
false;
192 bool m_stateMessageHasBeenSet =
false;
193 bool m_resourceExclusionsHasBeenSet =
false;
194 bool m_tagsHasBeenSet =
false;
const Aws::Vector< Tag > & GetTags() const
bool ModeHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetVpcId() const
VpcEncryptionControlState GetState() const
void SetTags(TagsT &&value)
VpcEncryptionControl & WithStateMessage(StateMessageT &&value)
bool VpcEncryptionControlIdHasBeenSet() const
bool ResourceExclusionsHasBeenSet() const
void SetState(VpcEncryptionControlState value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
VpcEncryptionControl & WithMode(VpcEncryptionControlMode value)
void SetResourceExclusions(ResourceExclusionsT &&value)
VpcEncryptionControl & WithState(VpcEncryptionControlState value)
const Aws::String & GetVpcEncryptionControlId() const
bool StateHasBeenSet() const
bool VpcIdHasBeenSet() const
void SetVpcEncryptionControlId(VpcEncryptionControlIdT &&value)
const Aws::String & GetStateMessage() const
bool TagsHasBeenSet() const
VpcEncryptionControlMode GetMode() const
AWS_EC2_API VpcEncryptionControl & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcEncryptionControl & WithTags(TagsT &&value)
AWS_EC2_API VpcEncryptionControl()=default
void SetVpcId(VpcIdT &&value)
void SetStateMessage(StateMessageT &&value)
VpcEncryptionControl & WithVpcId(VpcIdT &&value)
bool StateMessageHasBeenSet() const
const VpcEncryptionControlExclusions & GetResourceExclusions() const
AWS_EC2_API VpcEncryptionControl(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcEncryptionControl & WithVpcEncryptionControlId(VpcEncryptionControlIdT &&value)
void SetMode(VpcEncryptionControlMode value)
VpcEncryptionControl & AddTags(TagsT &&value)
VpcEncryptionControl & WithResourceExclusions(ResourceExclusionsT &&value)
VpcEncryptionControlState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream