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#include <aws/ec2/model/NatGatewayApplianceModifyState.h>
11#include <aws/ec2/model/NatGatewayApplianceState.h>
12#include <aws/ec2/model/NatGatewayApplianceType.h>
49 m_typeHasBeenSet =
true;
65 template <
typename ApplianceArnT = Aws::String>
67 m_applianceArnHasBeenSet =
true;
68 m_applianceArn = std::forward<ApplianceArnT>(value);
70 template <
typename ApplianceArnT = Aws::String>
84 template <
typename VpcEndpo
intIdT = Aws::String>
86 m_vpcEndpointIdHasBeenSet =
true;
87 m_vpcEndpointId = std::forward<VpcEndpointIdT>(value);
89 template <
typename VpcEndpo
intIdT = Aws::String>
103 m_attachmentStateHasBeenSet =
true;
104 m_attachmentState = value;
119 m_modificationStateHasBeenSet =
true;
120 m_modificationState = value;
135 template <
typename FailureCodeT = Aws::String>
137 m_failureCodeHasBeenSet =
true;
138 m_failureCode = std::forward<FailureCodeT>(value);
140 template <
typename FailureCodeT = Aws::String>
154 template <
typename FailureMessageT = Aws::String>
156 m_failureMessageHasBeenSet =
true;
157 m_failureMessage = std::forward<FailureMessageT>(value);
159 template <
typename FailureMessageT = Aws::String>
179 bool m_typeHasBeenSet =
false;
180 bool m_applianceArnHasBeenSet =
false;
181 bool m_vpcEndpointIdHasBeenSet =
false;
182 bool m_attachmentStateHasBeenSet =
false;
183 bool m_modificationStateHasBeenSet =
false;
184 bool m_failureCodeHasBeenSet =
false;
185 bool m_failureMessageHasBeenSet =
false;
bool FailureCodeHasBeenSet() const
NatGatewayAttachedAppliance & WithAttachmentState(NatGatewayApplianceState value)
const Aws::String & GetVpcEndpointId() const
NatGatewayApplianceModifyState GetModificationState() const
NatGatewayAttachedAppliance & WithModificationState(NatGatewayApplianceModifyState value)
NatGatewayAttachedAppliance & WithVpcEndpointId(VpcEndpointIdT &&value)
AWS_EC2_API NatGatewayAttachedAppliance()=default
void SetVpcEndpointId(VpcEndpointIdT &&value)
bool FailureMessageHasBeenSet() const
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetFailureMessage() const
bool AttachmentStateHasBeenSet() const
NatGatewayApplianceType GetType() const
const Aws::String & GetFailureCode() const
bool TypeHasBeenSet() const
NatGatewayAttachedAppliance & WithFailureCode(FailureCodeT &&value)
bool ApplianceArnHasBeenSet() const
NatGatewayApplianceState GetAttachmentState() const
void SetModificationState(NatGatewayApplianceModifyState value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NatGatewayAttachedAppliance & WithApplianceArn(ApplianceArnT &&value)
bool ModificationStateHasBeenSet() const
AWS_EC2_API NatGatewayAttachedAppliance & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetApplianceArn() const
NatGatewayAttachedAppliance & WithFailureMessage(FailureMessageT &&value)
void SetType(NatGatewayApplianceType value)
void SetAttachmentState(NatGatewayApplianceState value)
void SetFailureCode(FailureCodeT &&value)
void SetFailureMessage(FailureMessageT &&value)
void SetApplianceArn(ApplianceArnT &&value)
AWS_EC2_API NatGatewayAttachedAppliance(const Aws::Utils::Xml::XmlNode &xmlNode)
bool VpcEndpointIdHasBeenSet() const
NatGatewayAttachedAppliance & WithType(NatGatewayApplianceType value)
NatGatewayApplianceModifyState
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream