AWS SDK for C++  1.9.71
AWS SDK for C++
NatGateway.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
16 #include <aws/ec2/model/Tag.h>
17 #include <utility>
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Xml
24 {
25  class XmlNode;
26 } // namespace Xml
27 } // namespace Utils
28 namespace EC2
29 {
30 namespace Model
31 {
32 
39  {
40  public:
44 
45  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46  void OutputToStream(Aws::OStream& oStream, const char* location) const;
47 
48 
52  inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
53 
57  inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
58 
62  inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
63 
67  inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
68 
72  inline NatGateway& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
73 
77  inline NatGateway& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
78 
79 
83  inline const Aws::Utils::DateTime& GetDeleteTime() const{ return m_deleteTime; }
84 
88  inline bool DeleteTimeHasBeenSet() const { return m_deleteTimeHasBeenSet; }
89 
93  inline void SetDeleteTime(const Aws::Utils::DateTime& value) { m_deleteTimeHasBeenSet = true; m_deleteTime = value; }
94 
98  inline void SetDeleteTime(Aws::Utils::DateTime&& value) { m_deleteTimeHasBeenSet = true; m_deleteTime = std::move(value); }
99 
103  inline NatGateway& WithDeleteTime(const Aws::Utils::DateTime& value) { SetDeleteTime(value); return *this;}
104 
108  inline NatGateway& WithDeleteTime(Aws::Utils::DateTime&& value) { SetDeleteTime(std::move(value)); return *this;}
109 
110 
118  inline const Aws::String& GetFailureCode() const{ return m_failureCode; }
119 
127  inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; }
128 
136  inline void SetFailureCode(const Aws::String& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; }
137 
145  inline void SetFailureCode(Aws::String&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); }
146 
154  inline void SetFailureCode(const char* value) { m_failureCodeHasBeenSet = true; m_failureCode.assign(value); }
155 
163  inline NatGateway& WithFailureCode(const Aws::String& value) { SetFailureCode(value); return *this;}
164 
172  inline NatGateway& WithFailureCode(Aws::String&& value) { SetFailureCode(std::move(value)); return *this;}
173 
181  inline NatGateway& WithFailureCode(const char* value) { SetFailureCode(value); return *this;}
182 
183 
199  inline const Aws::String& GetFailureMessage() const{ return m_failureMessage; }
200 
216  inline bool FailureMessageHasBeenSet() const { return m_failureMessageHasBeenSet; }
217 
233  inline void SetFailureMessage(const Aws::String& value) { m_failureMessageHasBeenSet = true; m_failureMessage = value; }
234 
250  inline void SetFailureMessage(Aws::String&& value) { m_failureMessageHasBeenSet = true; m_failureMessage = std::move(value); }
251 
267  inline void SetFailureMessage(const char* value) { m_failureMessageHasBeenSet = true; m_failureMessage.assign(value); }
268 
284  inline NatGateway& WithFailureMessage(const Aws::String& value) { SetFailureMessage(value); return *this;}
285 
301  inline NatGateway& WithFailureMessage(Aws::String&& value) { SetFailureMessage(std::move(value)); return *this;}
302 
318  inline NatGateway& WithFailureMessage(const char* value) { SetFailureMessage(value); return *this;}
319 
320 
325  inline const Aws::Vector<NatGatewayAddress>& GetNatGatewayAddresses() const{ return m_natGatewayAddresses; }
326 
331  inline bool NatGatewayAddressesHasBeenSet() const { return m_natGatewayAddressesHasBeenSet; }
332 
337  inline void SetNatGatewayAddresses(const Aws::Vector<NatGatewayAddress>& value) { m_natGatewayAddressesHasBeenSet = true; m_natGatewayAddresses = value; }
338 
343  inline void SetNatGatewayAddresses(Aws::Vector<NatGatewayAddress>&& value) { m_natGatewayAddressesHasBeenSet = true; m_natGatewayAddresses = std::move(value); }
344 
349  inline NatGateway& WithNatGatewayAddresses(const Aws::Vector<NatGatewayAddress>& value) { SetNatGatewayAddresses(value); return *this;}
350 
355  inline NatGateway& WithNatGatewayAddresses(Aws::Vector<NatGatewayAddress>&& value) { SetNatGatewayAddresses(std::move(value)); return *this;}
356 
361  inline NatGateway& AddNatGatewayAddresses(const NatGatewayAddress& value) { m_natGatewayAddressesHasBeenSet = true; m_natGatewayAddresses.push_back(value); return *this; }
362 
367  inline NatGateway& AddNatGatewayAddresses(NatGatewayAddress&& value) { m_natGatewayAddressesHasBeenSet = true; m_natGatewayAddresses.push_back(std::move(value)); return *this; }
368 
369 
373  inline const Aws::String& GetNatGatewayId() const{ return m_natGatewayId; }
374 
378  inline bool NatGatewayIdHasBeenSet() const { return m_natGatewayIdHasBeenSet; }
379 
383  inline void SetNatGatewayId(const Aws::String& value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId = value; }
384 
388  inline void SetNatGatewayId(Aws::String&& value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId = std::move(value); }
389 
393  inline void SetNatGatewayId(const char* value) { m_natGatewayIdHasBeenSet = true; m_natGatewayId.assign(value); }
394 
398  inline NatGateway& WithNatGatewayId(const Aws::String& value) { SetNatGatewayId(value); return *this;}
399 
403  inline NatGateway& WithNatGatewayId(Aws::String&& value) { SetNatGatewayId(std::move(value)); return *this;}
404 
408  inline NatGateway& WithNatGatewayId(const char* value) { SetNatGatewayId(value); return *this;}
409 
410 
417  inline const ProvisionedBandwidth& GetProvisionedBandwidth() const{ return m_provisionedBandwidth; }
418 
425  inline bool ProvisionedBandwidthHasBeenSet() const { return m_provisionedBandwidthHasBeenSet; }
426 
433  inline void SetProvisionedBandwidth(const ProvisionedBandwidth& value) { m_provisionedBandwidthHasBeenSet = true; m_provisionedBandwidth = value; }
434 
441  inline void SetProvisionedBandwidth(ProvisionedBandwidth&& value) { m_provisionedBandwidthHasBeenSet = true; m_provisionedBandwidth = std::move(value); }
442 
449  inline NatGateway& WithProvisionedBandwidth(const ProvisionedBandwidth& value) { SetProvisionedBandwidth(value); return *this;}
450 
457  inline NatGateway& WithProvisionedBandwidth(ProvisionedBandwidth&& value) { SetProvisionedBandwidth(std::move(value)); return *this;}
458 
459 
473  inline const NatGatewayState& GetState() const{ return m_state; }
474 
488  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
489 
503  inline void SetState(const NatGatewayState& value) { m_stateHasBeenSet = true; m_state = value; }
504 
518  inline void SetState(NatGatewayState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
519 
533  inline NatGateway& WithState(const NatGatewayState& value) { SetState(value); return *this;}
534 
548  inline NatGateway& WithState(NatGatewayState&& value) { SetState(std::move(value)); return *this;}
549 
550 
554  inline const Aws::String& GetSubnetId() const{ return m_subnetId; }
555 
559  inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; }
560 
564  inline void SetSubnetId(const Aws::String& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; }
565 
569  inline void SetSubnetId(Aws::String&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); }
570 
574  inline void SetSubnetId(const char* value) { m_subnetIdHasBeenSet = true; m_subnetId.assign(value); }
575 
579  inline NatGateway& WithSubnetId(const Aws::String& value) { SetSubnetId(value); return *this;}
580 
584  inline NatGateway& WithSubnetId(Aws::String&& value) { SetSubnetId(std::move(value)); return *this;}
585 
589  inline NatGateway& WithSubnetId(const char* value) { SetSubnetId(value); return *this;}
590 
591 
595  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
596 
600  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
601 
605  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
606 
610  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
611 
615  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
616 
620  inline NatGateway& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
621 
625  inline NatGateway& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
626 
630  inline NatGateway& WithVpcId(const char* value) { SetVpcId(value); return *this;}
631 
632 
636  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
637 
641  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
642 
646  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
647 
651  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
652 
656  inline NatGateway& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
657 
661  inline NatGateway& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
662 
666  inline NatGateway& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
667 
671  inline NatGateway& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
672 
673 
678  inline const ConnectivityType& GetConnectivityType() const{ return m_connectivityType; }
679 
684  inline bool ConnectivityTypeHasBeenSet() const { return m_connectivityTypeHasBeenSet; }
685 
690  inline void SetConnectivityType(const ConnectivityType& value) { m_connectivityTypeHasBeenSet = true; m_connectivityType = value; }
691 
696  inline void SetConnectivityType(ConnectivityType&& value) { m_connectivityTypeHasBeenSet = true; m_connectivityType = std::move(value); }
697 
702  inline NatGateway& WithConnectivityType(const ConnectivityType& value) { SetConnectivityType(value); return *this;}
703 
708  inline NatGateway& WithConnectivityType(ConnectivityType&& value) { SetConnectivityType(std::move(value)); return *this;}
709 
710  private:
711 
712  Aws::Utils::DateTime m_createTime;
713  bool m_createTimeHasBeenSet;
714 
715  Aws::Utils::DateTime m_deleteTime;
716  bool m_deleteTimeHasBeenSet;
717 
718  Aws::String m_failureCode;
719  bool m_failureCodeHasBeenSet;
720 
721  Aws::String m_failureMessage;
722  bool m_failureMessageHasBeenSet;
723 
724  Aws::Vector<NatGatewayAddress> m_natGatewayAddresses;
725  bool m_natGatewayAddressesHasBeenSet;
726 
727  Aws::String m_natGatewayId;
728  bool m_natGatewayIdHasBeenSet;
729 
730  ProvisionedBandwidth m_provisionedBandwidth;
731  bool m_provisionedBandwidthHasBeenSet;
732 
733  NatGatewayState m_state;
734  bool m_stateHasBeenSet;
735 
736  Aws::String m_subnetId;
737  bool m_subnetIdHasBeenSet;
738 
739  Aws::String m_vpcId;
740  bool m_vpcIdHasBeenSet;
741 
742  Aws::Vector<Tag> m_tags;
743  bool m_tagsHasBeenSet;
744 
745  ConnectivityType m_connectivityType;
746  bool m_connectivityTypeHasBeenSet;
747  };
748 
749 } // namespace Model
750 } // namespace EC2
751 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::NatGateway::SetFailureCode
void SetFailureCode(const char *value)
Definition: NatGateway.h:154
Aws::EC2::Model::NatGateway::WithNatGatewayId
NatGateway & WithNatGatewayId(const Aws::String &value)
Definition: NatGateway.h:398
Aws::EC2::Model::NatGateway::SetConnectivityType
void SetConnectivityType(const ConnectivityType &value)
Definition: NatGateway.h:690
Aws::EC2::Model::NatGateway::WithProvisionedBandwidth
NatGateway & WithProvisionedBandwidth(ProvisionedBandwidth &&value)
Definition: NatGateway.h:457
Aws::EC2::Model::NatGateway::WithProvisionedBandwidth
NatGateway & WithProvisionedBandwidth(const ProvisionedBandwidth &value)
Definition: NatGateway.h:449
Aws::EC2::Model::NatGateway::WithFailureCode
NatGateway & WithFailureCode(Aws::String &&value)
Definition: NatGateway.h:172
Aws::EC2::Model::NatGateway::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: NatGateway.h:610
Aws::EC2::Model::NatGateway::SetFailureCode
void SetFailureCode(Aws::String &&value)
Definition: NatGateway.h:145
Aws::EC2::Model::NatGateway::SetFailureMessage
void SetFailureMessage(const char *value)
Definition: NatGateway.h:267
Aws::EC2::Model::Tag
Definition: Tag.h:32
Aws::EC2::Model::NatGateway::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::NatGateway::WithVpcId
NatGateway & WithVpcId(const Aws::String &value)
Definition: NatGateway.h:620
Aws::EC2::Model::NatGateway
Definition: NatGateway.h:39
Aws::EC2::Model::NatGateway::SetState
void SetState(NatGatewayState &&value)
Definition: NatGateway.h:518
Aws::EC2::Model::NatGateway::SetSubnetId
void SetSubnetId(const Aws::String &value)
Definition: NatGateway.h:564
DateTime.h
Aws::EC2::Model::NatGateway::AddTags
NatGateway & AddTags(const Tag &value)
Definition: NatGateway.h:666
Aws::EC2::Model::NatGateway::WithCreateTime
NatGateway & WithCreateTime(Aws::Utils::DateTime &&value)
Definition: NatGateway.h:77
Aws::EC2::Model::NatGateway::WithSubnetId
NatGateway & WithSubnetId(const Aws::String &value)
Definition: NatGateway.h:579
Aws::EC2::Model::NatGateway::AddNatGatewayAddresses
NatGateway & AddNatGatewayAddresses(const NatGatewayAddress &value)
Definition: NatGateway.h:361
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::NatGateway::operator=
NatGateway & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::NatGateway::SetNatGatewayId
void SetNatGatewayId(const char *value)
Definition: NatGateway.h:393
Aws::EC2::Model::NatGateway::SetDeleteTime
void SetDeleteTime(const Aws::Utils::DateTime &value)
Definition: NatGateway.h:93
Aws::EC2::Model::NatGateway::SetFailureCode
void SetFailureCode(const Aws::String &value)
Definition: NatGateway.h:136
Aws::EC2::Model::ConnectivityType
ConnectivityType
Definition: ConnectivityType.h:17
Aws::EC2::Model::NatGateway::AddTags
NatGateway & AddTags(Tag &&value)
Definition: NatGateway.h:671
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::NatGateway::SetDeleteTime
void SetDeleteTime(Aws::Utils::DateTime &&value)
Definition: NatGateway.h:98
Aws::EC2::Model::NatGateway::CreateTimeHasBeenSet
bool CreateTimeHasBeenSet() const
Definition: NatGateway.h:57
Aws::EC2::Model::NatGateway::DeleteTimeHasBeenSet
bool DeleteTimeHasBeenSet() const
Definition: NatGateway.h:88
Aws::EC2::Model::NatGateway::GetFailureCode
const Aws::String & GetFailureCode() const
Definition: NatGateway.h:118
AWSStreamFwd.h
Aws::EC2::Model::NatGateway::AddNatGatewayAddresses
NatGateway & AddNatGatewayAddresses(NatGatewayAddress &&value)
Definition: NatGateway.h:367
Aws::EC2::Model::NatGateway::ProvisionedBandwidthHasBeenSet
bool ProvisionedBandwidthHasBeenSet() const
Definition: NatGateway.h:425
Aws::EC2::Model::NatGateway::WithConnectivityType
NatGateway & WithConnectivityType(const ConnectivityType &value)
Definition: NatGateway.h:702
Aws::EC2::Model::NatGateway::GetNatGatewayId
const Aws::String & GetNatGatewayId() const
Definition: NatGateway.h:373
AWSVector.h
Tag.h
Aws::EC2::Model::NatGateway::WithSubnetId
NatGateway & WithSubnetId(const char *value)
Definition: NatGateway.h:589
Aws::EC2::Model::NatGateway::GetState
const NatGatewayState & GetState() const
Definition: NatGateway.h:473
Aws::EC2::Model::NatGateway::WithDeleteTime
NatGateway & WithDeleteTime(const Aws::Utils::DateTime &value)
Definition: NatGateway.h:103
Aws::EC2::Model::NatGateway::SetCreateTime
void SetCreateTime(const Aws::Utils::DateTime &value)
Definition: NatGateway.h:62
Aws::EC2::Model::NatGateway::GetFailureMessage
const Aws::String & GetFailureMessage() const
Definition: NatGateway.h:199
Aws::EC2::Model::NatGateway::SetVpcId
void SetVpcId(const char *value)
Definition: NatGateway.h:615
Aws::EC2::Model::NatGateway::GetVpcId
const Aws::String & GetVpcId() const
Definition: NatGateway.h:595
Aws::EC2::Model::NatGateway::SetNatGatewayAddresses
void SetNatGatewayAddresses(Aws::Vector< NatGatewayAddress > &&value)
Definition: NatGateway.h:343
Aws::EC2::Model::NatGateway::SetFailureMessage
void SetFailureMessage(const Aws::String &value)
Definition: NatGateway.h:233
Aws::EC2::Model::NatGateway::SetNatGatewayId
void SetNatGatewayId(const Aws::String &value)
Definition: NatGateway.h:383
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ProvisionedBandwidth
Definition: ProvisionedBandwidth.h:37
Aws::EC2::Model::NatGateway::GetSubnetId
const Aws::String & GetSubnetId() const
Definition: NatGateway.h:554
Aws::EC2::Model::NatGateway::SetSubnetId
void SetSubnetId(Aws::String &&value)
Definition: NatGateway.h:569
Aws::EC2::Model::NatGateway::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: NatGateway.h:636
NatGatewayAddress.h
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::NatGateway::NatGatewayAddressesHasBeenSet
bool NatGatewayAddressesHasBeenSet() const
Definition: NatGateway.h:331
Aws::EC2::Model::NatGateway::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: NatGateway.h:651
Aws::EC2::Model::NatGateway::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: NatGateway.h:600
Aws::EC2::Model::NatGateway::WithDeleteTime
NatGateway & WithDeleteTime(Aws::Utils::DateTime &&value)
Definition: NatGateway.h:108
Aws::EC2::Model::NatGateway::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: NatGateway.h:605
AWSString.h
Aws::EC2::Model::NatGateway::SetSubnetId
void SetSubnetId(const char *value)
Definition: NatGateway.h:574
Aws::EC2::Model::NatGateway::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::NatGateway::GetConnectivityType
const ConnectivityType & GetConnectivityType() const
Definition: NatGateway.h:678
Aws::EC2::Model::NatGateway::WithTags
NatGateway & WithTags(Aws::Vector< Tag > &&value)
Definition: NatGateway.h:661
Aws::EC2::Model::NatGateway::SetProvisionedBandwidth
void SetProvisionedBandwidth(ProvisionedBandwidth &&value)
Definition: NatGateway.h:441
Aws::EC2::Model::NatGateway::SetNatGatewayId
void SetNatGatewayId(Aws::String &&value)
Definition: NatGateway.h:388
Aws::EC2::Model::NatGateway::SetState
void SetState(const NatGatewayState &value)
Definition: NatGateway.h:503
Aws::EC2::Model::NatGateway::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: NatGateway.h:646
Aws::EC2::Model::NatGateway::WithFailureCode
NatGateway & WithFailureCode(const char *value)
Definition: NatGateway.h:181
Aws::EC2::Model::NatGateway::WithTags
NatGateway & WithTags(const Aws::Vector< Tag > &value)
Definition: NatGateway.h:656
Aws::EC2::Model::NatGateway::WithCreateTime
NatGateway & WithCreateTime(const Aws::Utils::DateTime &value)
Definition: NatGateway.h:72
Aws::EC2::Model::NatGateway::WithNatGatewayAddresses
NatGateway & WithNatGatewayAddresses(const Aws::Vector< NatGatewayAddress > &value)
Definition: NatGateway.h:349
Aws::EC2::Model::NatGateway::FailureMessageHasBeenSet
bool FailureMessageHasBeenSet() const
Definition: NatGateway.h:216
Aws::EC2::Model::NatGateway::GetNatGatewayAddresses
const Aws::Vector< NatGatewayAddress > & GetNatGatewayAddresses() const
Definition: NatGateway.h:325
Aws::EC2::Model::NatGateway::SubnetIdHasBeenSet
bool SubnetIdHasBeenSet() const
Definition: NatGateway.h:559
NatGatewayState.h
Aws::EC2::Model::NatGateway::WithVpcId
NatGateway & WithVpcId(Aws::String &&value)
Definition: NatGateway.h:625
Aws::EC2::Model::NatGateway::StateHasBeenSet
bool StateHasBeenSet() const
Definition: NatGateway.h:488
Aws::EC2::Model::NatGateway::WithNatGatewayAddresses
NatGateway & WithNatGatewayAddresses(Aws::Vector< NatGatewayAddress > &&value)
Definition: NatGateway.h:355
Aws::EC2::Model::NatGateway::SetNatGatewayAddresses
void SetNatGatewayAddresses(const Aws::Vector< NatGatewayAddress > &value)
Definition: NatGateway.h:337
Aws::EC2::Model::NatGateway::NatGateway
NatGateway(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::NatGateway::WithState
NatGateway & WithState(const NatGatewayState &value)
Definition: NatGateway.h:533
ProvisionedBandwidth.h
Aws::EC2::Model::NatGateway::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: NatGateway.h:641
Aws::EC2::Model::NatGateway::GetCreateTime
const Aws::Utils::DateTime & GetCreateTime() const
Definition: NatGateway.h:52
Aws::EC2::Model::NatGateway::SetProvisionedBandwidth
void SetProvisionedBandwidth(const ProvisionedBandwidth &value)
Definition: NatGateway.h:433
Aws::EC2::Model::NatGateway::ConnectivityTypeHasBeenSet
bool ConnectivityTypeHasBeenSet() const
Definition: NatGateway.h:684
Aws::EC2::Model::NatGateway::WithState
NatGateway & WithState(NatGatewayState &&value)
Definition: NatGateway.h:548
Aws::EC2::Model::NatGateway::SetCreateTime
void SetCreateTime(Aws::Utils::DateTime &&value)
Definition: NatGateway.h:67
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::NatGateway::WithConnectivityType
NatGateway & WithConnectivityType(ConnectivityType &&value)
Definition: NatGateway.h:708
Aws::EC2::Model::NatGateway::SetFailureMessage
void SetFailureMessage(Aws::String &&value)
Definition: NatGateway.h:250
Aws::EC2::Model::NatGateway::NatGatewayIdHasBeenSet
bool NatGatewayIdHasBeenSet() const
Definition: NatGateway.h:378
Aws::EC2::Model::NatGateway::GetProvisionedBandwidth
const ProvisionedBandwidth & GetProvisionedBandwidth() const
Definition: NatGateway.h:417
Aws::EC2::Model::NatGateway::WithFailureCode
NatGateway & WithFailureCode(const Aws::String &value)
Definition: NatGateway.h:163
Aws::EC2::Model::NatGateway::WithVpcId
NatGateway & WithVpcId(const char *value)
Definition: NatGateway.h:630
EC2_EXPORTS.h
Aws::EC2::Model::NatGateway::WithFailureMessage
NatGateway & WithFailureMessage(Aws::String &&value)
Definition: NatGateway.h:301
ConnectivityType.h
Aws::EC2::Model::NatGateway::WithNatGatewayId
NatGateway & WithNatGatewayId(const char *value)
Definition: NatGateway.h:408
Aws::EC2::Model::NatGateway::WithFailureMessage
NatGateway & WithFailureMessage(const char *value)
Definition: NatGateway.h:318
Aws::EC2::Model::NatGateway::WithNatGatewayId
NatGateway & WithNatGatewayId(Aws::String &&value)
Definition: NatGateway.h:403
Aws::EC2::Model::NatGateway::FailureCodeHasBeenSet
bool FailureCodeHasBeenSet() const
Definition: NatGateway.h:127
Aws::EC2::Model::NatGatewayAddress
Definition: NatGatewayAddress.h:33
Aws::EC2::Model::NatGateway::GetDeleteTime
const Aws::Utils::DateTime & GetDeleteTime() const
Definition: NatGateway.h:83
Aws::EC2::Model::NatGateway::WithSubnetId
NatGateway & WithSubnetId(Aws::String &&value)
Definition: NatGateway.h:584
Aws::EC2::Model::NatGatewayState
NatGatewayState
Definition: NatGatewayState.h:17
Aws::EC2::Model::NatGateway::NatGateway
NatGateway()
Aws::EC2::Model::NatGateway::WithFailureMessage
NatGateway & WithFailureMessage(const Aws::String &value)
Definition: NatGateway.h:284
Aws::EC2::Model::NatGateway::SetConnectivityType
void SetConnectivityType(ConnectivityType &&value)
Definition: NatGateway.h:696