AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateVpcEndpointConnectionNotificationResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/ConnectionNotification.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Xml
21{
22 class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace EC2
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const ConnectionNotification& GetConnectionNotification() const { return m_connectionNotification; }
42 template<typename ConnectionNotificationT = ConnectionNotification>
43 void SetConnectionNotification(ConnectionNotificationT&& value) { m_connectionNotificationHasBeenSet = true; m_connectionNotification = std::forward<ConnectionNotificationT>(value); }
44 template<typename ConnectionNotificationT = ConnectionNotification>
45 CreateVpcEndpointConnectionNotificationResponse& WithConnectionNotification(ConnectionNotificationT&& value) { SetConnectionNotification(std::forward<ConnectionNotificationT>(value)); return *this;}
47
49
53 inline const Aws::String& GetClientToken() const { return m_clientToken; }
54 template<typename ClientTokenT = Aws::String>
55 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
56 template<typename ClientTokenT = Aws::String>
57 CreateVpcEndpointConnectionNotificationResponse& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
59
61
62 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
63 template<typename ResponseMetadataT = ResponseMetadata>
64 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
65 template<typename ResponseMetadataT = ResponseMetadata>
66 CreateVpcEndpointConnectionNotificationResponse& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
68 private:
69
70 ConnectionNotification m_connectionNotification;
71 bool m_connectionNotificationHasBeenSet = false;
72
73 Aws::String m_clientToken;
74 bool m_clientTokenHasBeenSet = false;
75
76 ResponseMetadata m_responseMetadata;
77 bool m_responseMetadataHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace EC2
82} // namespace Aws
CreateVpcEndpointConnectionNotificationResponse & WithConnectionNotification(ConnectionNotificationT &&value)
CreateVpcEndpointConnectionNotificationResponse & WithResponseMetadata(ResponseMetadataT &&value)
AWS_EC2_API CreateVpcEndpointConnectionNotificationResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateVpcEndpointConnectionNotificationResponse & WithClientToken(ClientTokenT &&value)
AWS_EC2_API CreateVpcEndpointConnectionNotificationResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument