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/VpcBlockPublicAccessState.h>
11#include <aws/ec2/model/InternetGatewayBlockMode.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/ec2/model/ManagedBy.h>
14#include <aws/ec2/model/VpcBlockPublicAccessExclusionsAllowed.h>
59 template<
typename AwsAccountIdT = Aws::String>
60 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet =
true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
61 template<
typename AwsAccountIdT = Aws::String>
71 template<
typename AwsRegionT = Aws::String>
72 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet =
true; m_awsRegion = std::forward<AwsRegionT>(value); }
73 template<
typename AwsRegionT = Aws::String>
112 template<
typename ReasonT = Aws::String>
113 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
114 template<
typename ReasonT = Aws::String>
124 template<
typename LastUpdateTimestampT = Aws::Utils::DateTime>
125 void SetLastUpdateTimestamp(LastUpdateTimestampT&& value) { m_lastUpdateTimestampHasBeenSet =
true; m_lastUpdateTimestamp = std::forward<LastUpdateTimestampT>(value); }
126 template<
typename LastUpdateTimestampT = Aws::Utils::DateTime>
158 bool m_awsAccountIdHasBeenSet =
false;
161 bool m_awsRegionHasBeenSet =
false;
164 bool m_stateHasBeenSet =
false;
167 bool m_internetGatewayBlockModeHasBeenSet =
false;
170 bool m_reasonHasBeenSet =
false;
173 bool m_lastUpdateTimestampHasBeenSet =
false;
176 bool m_managedByHasBeenSet =
false;
179 bool m_exclusionsAllowedHasBeenSet =
false;
void SetLastUpdateTimestamp(LastUpdateTimestampT &&value)
AWS_EC2_API VpcBlockPublicAccessOptions & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetAwsRegion(AwsRegionT &&value)
ManagedBy GetManagedBy() const
VpcBlockPublicAccessOptions & WithAwsRegion(AwsRegionT &&value)
InternetGatewayBlockMode GetInternetGatewayBlockMode() const
AWS_EC2_API VpcBlockPublicAccessOptions()=default
void SetReason(ReasonT &&value)
AWS_EC2_API VpcBlockPublicAccessOptions(const Aws::Utils::Xml::XmlNode &xmlNode)
VpcBlockPublicAccessOptions & WithExclusionsAllowed(VpcBlockPublicAccessExclusionsAllowed value)
const Aws::String & GetAwsAccountId() const
bool AwsAccountIdHasBeenSet() const
bool LastUpdateTimestampHasBeenSet() const
bool StateHasBeenSet() const
bool InternetGatewayBlockModeHasBeenSet() const
void SetAwsAccountId(AwsAccountIdT &&value)
bool ManagedByHasBeenSet() const
void SetExclusionsAllowed(VpcBlockPublicAccessExclusionsAllowed value)
VpcBlockPublicAccessOptions & WithAwsAccountId(AwsAccountIdT &&value)
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
bool ExclusionsAllowedHasBeenSet() const
VpcBlockPublicAccessOptions & WithInternetGatewayBlockMode(InternetGatewayBlockMode value)
VpcBlockPublicAccessOptions & WithManagedBy(ManagedBy value)
const Aws::String & GetAwsRegion() const
void SetManagedBy(ManagedBy value)
VpcBlockPublicAccessState GetState() const
void SetState(VpcBlockPublicAccessState value)
VpcBlockPublicAccessExclusionsAllowed GetExclusionsAllowed() const
const Aws::String & GetReason() const
VpcBlockPublicAccessOptions & WithReason(ReasonT &&value)
bool ReasonHasBeenSet() const
const Aws::Utils::DateTime & GetLastUpdateTimestamp() const
VpcBlockPublicAccessOptions & WithState(VpcBlockPublicAccessState value)
bool AwsRegionHasBeenSet() const
VpcBlockPublicAccessOptions & WithLastUpdateTimestamp(LastUpdateTimestampT &&value)
void SetInternetGatewayBlockMode(InternetGatewayBlockMode value)
VpcBlockPublicAccessState
VpcBlockPublicAccessExclusionsAllowed
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream