7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/model/AuthorizedPrincipal.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
24namespace OpenSearchService
42 template<
typename AuthorizedPrincipalT = AuthorizedPrincipal>
43 void SetAuthorizedPrincipal(AuthorizedPrincipalT&& value) { m_authorizedPrincipalHasBeenSet =
true; m_authorizedPrincipal = std::forward<AuthorizedPrincipalT>(value); }
44 template<
typename AuthorizedPrincipalT = AuthorizedPrincipal>
51 template<
typename RequestIdT = Aws::String>
52 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
53 template<
typename RequestIdT = Aws::String>
59 bool m_authorizedPrincipalHasBeenSet =
false;
62 bool m_requestIdHasBeenSet =
false;
AuthorizeVpcEndpointAccessResult & WithAuthorizedPrincipal(AuthorizedPrincipalT &&value)
const Aws::String & GetRequestId() const
AWS_OPENSEARCHSERVICE_API AuthorizeVpcEndpointAccessResult()=default
AWS_OPENSEARCHSERVICE_API AuthorizeVpcEndpointAccessResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAuthorizedPrincipal(AuthorizedPrincipalT &&value)
const AuthorizedPrincipal & GetAuthorizedPrincipal() const
void SetRequestId(RequestIdT &&value)
AWS_OPENSEARCHSERVICE_API AuthorizeVpcEndpointAccessResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AuthorizeVpcEndpointAccessResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue