7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11#include <aws/ec2/model/InternetGatewayBlockMode.h>
12#include <aws/ec2/model/ManagedBy.h>
13#include <aws/ec2/model/VpcBlockPublicAccessExclusionsAllowed.h>
14#include <aws/ec2/model/VpcBlockPublicAccessState.h>
53 template <
typename AwsAccountIdT = Aws::String>
55 m_awsAccountIdHasBeenSet =
true;
56 m_awsAccountId = std::forward<AwsAccountIdT>(value);
58 template <
typename AwsAccountIdT = Aws::String>
71 template <
typename AwsRegionT = Aws::String>
73 m_awsRegionHasBeenSet =
true;
74 m_awsRegion = std::forward<AwsRegionT>(value);
76 template <
typename AwsRegionT = Aws::String>
90 m_stateHasBeenSet =
true;
115 m_internetGatewayBlockModeHasBeenSet =
true;
116 m_internetGatewayBlockMode = value;
130 template <
typename ReasonT = Aws::String>
132 m_reasonHasBeenSet =
true;
133 m_reason = std::forward<ReasonT>(value);
135 template <
typename ReasonT = Aws::String>
148 template <
typename LastUpdateTimestampT = Aws::Utils::DateTime>
150 m_lastUpdateTimestampHasBeenSet =
true;
151 m_lastUpdateTimestamp = std::forward<LastUpdateTimestampT>(value);
153 template <
typename LastUpdateTimestampT = Aws::Utils::DateTime>
170 m_managedByHasBeenSet =
true;
189 m_exclusionsAllowedHasBeenSet =
true;
190 m_exclusionsAllowed = value;
213 bool m_awsAccountIdHasBeenSet =
false;
214 bool m_awsRegionHasBeenSet =
false;
215 bool m_stateHasBeenSet =
false;
216 bool m_internetGatewayBlockModeHasBeenSet =
false;
217 bool m_reasonHasBeenSet =
false;
218 bool m_lastUpdateTimestampHasBeenSet =
false;
219 bool m_managedByHasBeenSet =
false;
220 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