AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateVpcEndpointResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/es/ElasticsearchService_EXPORTS.h>
9#include <aws/es/model/VpcEndpoint.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace ElasticsearchService {
23namespace Model {
32 public:
33 AWS_ELASTICSEARCHSERVICE_API CreateVpcEndpointResult() = default;
36
38
41 inline const VpcEndpoint& GetVpcEndpoint() const { return m_vpcEndpoint; }
42 template <typename VpcEndpointT = VpcEndpoint>
43 void SetVpcEndpoint(VpcEndpointT&& value) {
44 m_vpcEndpointHasBeenSet = true;
45 m_vpcEndpoint = std::forward<VpcEndpointT>(value);
46 }
47 template <typename VpcEndpointT = VpcEndpoint>
49 SetVpcEndpoint(std::forward<VpcEndpointT>(value));
50 return *this;
51 }
53
55
56 inline const Aws::String& GetRequestId() const { return m_requestId; }
57 template <typename RequestIdT = Aws::String>
58 void SetRequestId(RequestIdT&& value) {
59 m_requestIdHasBeenSet = true;
60 m_requestId = std::forward<RequestIdT>(value);
61 }
62 template <typename RequestIdT = Aws::String>
64 SetRequestId(std::forward<RequestIdT>(value));
65 return *this;
66 }
68 private:
69 VpcEndpoint m_vpcEndpoint;
70
71 Aws::String m_requestId;
72 bool m_vpcEndpointHasBeenSet = false;
73 bool m_requestIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace ElasticsearchService
78} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API CreateVpcEndpointResult()=default
CreateVpcEndpointResult & WithRequestId(RequestIdT &&value)
CreateVpcEndpointResult & WithVpcEndpoint(VpcEndpointT &&value)
AWS_ELASTICSEARCHSERVICE_API CreateVpcEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ELASTICSEARCHSERVICE_API CreateVpcEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue