AWS SDK for C++  1.9.71
AWS SDK for C++
CreateEgressOnlyInternetGatewayResponse.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace EC2
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
42 
47  inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
48 
53  inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
54 
59  inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
60 
65  inline CreateEgressOnlyInternetGatewayResponse& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
66 
71  inline CreateEgressOnlyInternetGatewayResponse& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
72 
77  inline CreateEgressOnlyInternetGatewayResponse& WithClientToken(const char* value) { SetClientToken(value); return *this;}
78 
79 
83  inline const EgressOnlyInternetGateway& GetEgressOnlyInternetGateway() const{ return m_egressOnlyInternetGateway; }
84 
88  inline void SetEgressOnlyInternetGateway(const EgressOnlyInternetGateway& value) { m_egressOnlyInternetGateway = value; }
89 
93  inline void SetEgressOnlyInternetGateway(EgressOnlyInternetGateway&& value) { m_egressOnlyInternetGateway = std::move(value); }
94 
98  inline CreateEgressOnlyInternetGatewayResponse& WithEgressOnlyInternetGateway(const EgressOnlyInternetGateway& value) { SetEgressOnlyInternetGateway(value); return *this;}
99 
103  inline CreateEgressOnlyInternetGatewayResponse& WithEgressOnlyInternetGateway(EgressOnlyInternetGateway&& value) { SetEgressOnlyInternetGateway(std::move(value)); return *this;}
104 
105 
106 
107  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
108 
109 
110  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
111 
112 
113  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
114 
115 
116  inline CreateEgressOnlyInternetGatewayResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
117 
118 
119  inline CreateEgressOnlyInternetGatewayResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
120 
121  private:
122 
123  Aws::String m_clientToken;
124 
125  EgressOnlyInternetGateway m_egressOnlyInternetGateway;
126 
127  ResponseMetadata m_responseMetadata;
128  };
129 
130 } // namespace Model
131 } // namespace EC2
132 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateEgressOnlyInternetGatewayResponse.h:41
Aws::EC2::Model::EgressOnlyInternetGateway
Definition: EgressOnlyInternetGateway.h:35
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
ResponseMetadata.h
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::WithClientToken
CreateEgressOnlyInternetGatewayResponse & WithClientToken(const char *value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:77
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::WithResponseMetadata
CreateEgressOnlyInternetGatewayResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:119
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:113
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::SetEgressOnlyInternetGateway
void SetEgressOnlyInternetGateway(const EgressOnlyInternetGateway &value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:88
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::WithClientToken
CreateEgressOnlyInternetGatewayResponse & WithClientToken(const Aws::String &value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:65
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:47
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::WithEgressOnlyInternetGateway
CreateEgressOnlyInternetGatewayResponse & WithEgressOnlyInternetGateway(EgressOnlyInternetGateway &&value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:103
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse
Definition: CreateEgressOnlyInternetGatewayResponse.h:30
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::SetEgressOnlyInternetGateway
void SetEgressOnlyInternetGateway(EgressOnlyInternetGateway &&value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:93
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::WithClientToken
CreateEgressOnlyInternetGatewayResponse & WithClientToken(Aws::String &&value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:71
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
EgressOnlyInternetGateway.h
AWSString.h
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::WithEgressOnlyInternetGateway
CreateEgressOnlyInternetGatewayResponse & WithEgressOnlyInternetGateway(const EgressOnlyInternetGateway &value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:98
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:110
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::operator=
CreateEgressOnlyInternetGatewayResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::CreateEgressOnlyInternetGatewayResponse
CreateEgressOnlyInternetGatewayResponse()
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::CreateEgressOnlyInternetGatewayResponse
CreateEgressOnlyInternetGatewayResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateEgressOnlyInternetGatewayResponse.h:107
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:53
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::SetClientToken
void SetClientToken(const char *value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:59
EC2_EXPORTS.h
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::WithResponseMetadata
CreateEgressOnlyInternetGatewayResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateEgressOnlyInternetGatewayResponse.h:116
Aws::EC2::Model::CreateEgressOnlyInternetGatewayResponse::GetEgressOnlyInternetGateway
const EgressOnlyInternetGateway & GetEgressOnlyInternetGateway() const
Definition: CreateEgressOnlyInternetGatewayResponse.h:83