AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AuthorizeVpcEndpointAccessResult.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/model/AuthorizedPrincipal.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ElasticsearchService
25{
26namespace Model
27{
37 {
38 public:
39 AWS_ELASTICSEARCHSERVICE_API AuthorizeVpcEndpointAccessResult();
42
43
45
49 inline const AuthorizedPrincipal& GetAuthorizedPrincipal() const{ return m_authorizedPrincipal; }
50 inline void SetAuthorizedPrincipal(const AuthorizedPrincipal& value) { m_authorizedPrincipal = value; }
51 inline void SetAuthorizedPrincipal(AuthorizedPrincipal&& value) { m_authorizedPrincipal = std::move(value); }
55
57
58 inline const Aws::String& GetRequestId() const{ return m_requestId; }
59 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
60 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
61 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
62 inline AuthorizeVpcEndpointAccessResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
63 inline AuthorizeVpcEndpointAccessResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
64 inline AuthorizeVpcEndpointAccessResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
66 private:
67
68 AuthorizedPrincipal m_authorizedPrincipal;
69
70 Aws::String m_requestId;
71 };
72
73} // namespace Model
74} // namespace ElasticsearchService
75} // namespace Aws
AWS_ELASTICSEARCHSERVICE_API AuthorizeVpcEndpointAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AuthorizeVpcEndpointAccessResult & WithAuthorizedPrincipal(AuthorizedPrincipal &&value)
AWS_ELASTICSEARCHSERVICE_API AuthorizeVpcEndpointAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AuthorizeVpcEndpointAccessResult & WithRequestId(const Aws::String &value)
AuthorizeVpcEndpointAccessResult & WithAuthorizedPrincipal(const AuthorizedPrincipal &value)
AuthorizeVpcEndpointAccessResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue