7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/VpcEncryptionControlMode.h>
11#include <aws/ec2/model/VpcEncryptionControlState.h>
12#include <aws/ec2/model/VpcEncryptionControlExclusions.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/ec2/model/Tag.h>
46 template<
typename VpcIdT = Aws::String>
47 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet =
true; m_vpcId = std::forward<VpcIdT>(value); }
48 template<
typename VpcIdT = Aws::String>
56 template<
typename VpcEncryptionControlIdT = Aws::String>
57 void SetVpcEncryptionControlId(VpcEncryptionControlIdT&& value) { m_vpcEncryptionControlIdHasBeenSet =
true; m_vpcEncryptionControlId = std::forward<VpcEncryptionControlIdT>(value); }
58 template<
typename VpcEncryptionControlIdT = Aws::String>
82 template<
typename StateMessageT = Aws::String>
83 void SetStateMessage(StateMessageT&& value) { m_stateMessageHasBeenSet =
true; m_stateMessage = std::forward<StateMessageT>(value); }
84 template<
typename StateMessageT = Aws::String>
92 template<
typename ResourceExclusionsT = VpcEncryptionControlExclusions>
93 void SetResourceExclusions(ResourceExclusionsT&& value) { m_resourceExclusionsHasBeenSet =
true; m_resourceExclusions = std::forward<ResourceExclusionsT>(value); }
94 template<
typename ResourceExclusionsT = VpcEncryptionControlExclusions>
102 template<
typename TagsT = Aws::Vector<Tag>>
103 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
104 template<
typename TagsT = Aws::Vector<Tag>>
106 template<
typename TagsT = Tag>
112 bool m_vpcIdHasBeenSet =
false;
115 bool m_vpcEncryptionControlIdHasBeenSet =
false;
118 bool m_modeHasBeenSet =
false;
121 bool m_stateHasBeenSet =
false;
124 bool m_stateMessageHasBeenSet =
false;
126 VpcEncryptionControlExclusions m_resourceExclusions;
127 bool m_resourceExclusionsHasBeenSet =
false;
130 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