AWS SDK for C++  1.9.67
AWS SDK for C++
CreateVpcEndpointConnectionNotificationResponse.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 
40  inline const ConnectionNotification& GetConnectionNotification() const{ return m_connectionNotification; }
41 
45  inline void SetConnectionNotification(const ConnectionNotification& value) { m_connectionNotification = value; }
46 
50  inline void SetConnectionNotification(ConnectionNotification&& value) { m_connectionNotification = std::move(value); }
51 
55  inline CreateVpcEndpointConnectionNotificationResponse& WithConnectionNotification(const ConnectionNotification& value) { SetConnectionNotification(value); return *this;}
56 
60  inline CreateVpcEndpointConnectionNotificationResponse& WithConnectionNotification(ConnectionNotification&& value) { SetConnectionNotification(std::move(value)); return *this;}
61 
62 
67  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
68 
73  inline void SetClientToken(const Aws::String& value) { m_clientToken = value; }
74 
79  inline void SetClientToken(Aws::String&& value) { m_clientToken = std::move(value); }
80 
85  inline void SetClientToken(const char* value) { m_clientToken.assign(value); }
86 
91  inline CreateVpcEndpointConnectionNotificationResponse& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
92 
97  inline CreateVpcEndpointConnectionNotificationResponse& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
98 
103  inline CreateVpcEndpointConnectionNotificationResponse& WithClientToken(const char* value) { SetClientToken(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 CreateVpcEndpointConnectionNotificationResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
117 
118 
119  inline CreateVpcEndpointConnectionNotificationResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
120 
121  private:
122 
123  ConnectionNotification m_connectionNotification;
124 
125  Aws::String m_clientToken;
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::CreateVpcEndpointConnectionNotificationResponse::operator=
CreateVpcEndpointConnectionNotificationResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::WithConnectionNotification
CreateVpcEndpointConnectionNotificationResponse & WithConnectionNotification(ConnectionNotification &&value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:60
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::SetClientToken
void SetClientToken(const char *value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:85
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::WithResponseMetadata
CreateVpcEndpointConnectionNotificationResponse & WithResponseMetadata(const ResponseMetadata &value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:116
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::GetConnectionNotification
const ConnectionNotification & GetConnectionNotification() const
Definition: CreateVpcEndpointConnectionNotificationResponse.h:40
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::GetClientToken
const Aws::String & GetClientToken() const
Definition: CreateVpcEndpointConnectionNotificationResponse.h:67
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:73
ResponseMetadata.h
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:79
Aws::EC2::Model::ConnectionNotification
Definition: ConnectionNotification.h:36
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::WithConnectionNotification
CreateVpcEndpointConnectionNotificationResponse & WithConnectionNotification(const ConnectionNotification &value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:55
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::WithClientToken
CreateVpcEndpointConnectionNotificationResponse & WithClientToken(Aws::String &&value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:97
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::CreateVpcEndpointConnectionNotificationResponse
CreateVpcEndpointConnectionNotificationResponse()
Aws::EC2::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSString.h
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:110
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse
Definition: CreateVpcEndpointConnectionNotificationResponse.h:30
ConnectionNotification.h
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::WithClientToken
CreateVpcEndpointConnectionNotificationResponse & WithClientToken(const char *value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:103
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::SetConnectionNotification
void SetConnectionNotification(const ConnectionNotification &value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:45
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: CreateVpcEndpointConnectionNotificationResponse.h:107
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:113
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::CreateVpcEndpointConnectionNotificationResponse
CreateVpcEndpointConnectionNotificationResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
EC2_EXPORTS.h
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::SetConnectionNotification
void SetConnectionNotification(ConnectionNotification &&value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:50
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::WithClientToken
CreateVpcEndpointConnectionNotificationResponse & WithClientToken(const Aws::String &value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:91
Aws::EC2::Model::CreateVpcEndpointConnectionNotificationResponse::WithResponseMetadata
CreateVpcEndpointConnectionNotificationResponse & WithResponseMetadata(ResponseMetadata &&value)
Definition: CreateVpcEndpointConnectionNotificationResponse.h:119