AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateVpcEndpointServiceConfigurationResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/model/ServiceConfiguration.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 ServiceConfiguration& GetServiceConfiguration() const { return m_serviceConfiguration; }
42 template<typename ServiceConfigurationT = ServiceConfiguration>
43 void SetServiceConfiguration(ServiceConfigurationT&& value) { m_serviceConfigurationHasBeenSet = true; m_serviceConfiguration = std::forward<ServiceConfigurationT>(value); }
44 template<typename ServiceConfigurationT = ServiceConfiguration>
45 CreateVpcEndpointServiceConfigurationResponse& WithServiceConfiguration(ServiceConfigurationT&& value) { SetServiceConfiguration(std::forward<ServiceConfigurationT>(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 CreateVpcEndpointServiceConfigurationResponse& 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 CreateVpcEndpointServiceConfigurationResponse& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
68 private:
69
70 ServiceConfiguration m_serviceConfiguration;
71 bool m_serviceConfigurationHasBeenSet = 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
AWS_EC2_API CreateVpcEndpointServiceConfigurationResponse(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateVpcEndpointServiceConfigurationResponse & WithServiceConfiguration(ServiceConfigurationT &&value)
AWS_EC2_API CreateVpcEndpointServiceConfigurationResponse & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateVpcEndpointServiceConfigurationResponse & WithClientToken(ClientTokenT &&value)
CreateVpcEndpointServiceConfigurationResponse & WithResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument