AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RevokeVpcEndpointAccessRequest.h
1
6#pragma once
7#include <aws/opensearch/OpenSearchService_EXPORTS.h>
8#include <aws/opensearch/OpenSearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/opensearch/model/AWSServicePrincipal.h>
11#include <utility>
12
13namespace Aws
14{
15namespace OpenSearchService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OPENSEARCHSERVICE_API RevokeVpcEndpointAccessRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "RevokeVpcEndpointAccess"; }
32
33 AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDomainName() const{ return m_domainName; }
41 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
42 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
43 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
44 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
45 inline RevokeVpcEndpointAccessRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
46 inline RevokeVpcEndpointAccessRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
47 inline RevokeVpcEndpointAccessRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
49
51
54 inline const Aws::String& GetAccount() const{ return m_account; }
55 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
56 inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; }
57 inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); }
58 inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); }
59 inline RevokeVpcEndpointAccessRequest& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
60 inline RevokeVpcEndpointAccessRequest& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
61 inline RevokeVpcEndpointAccessRequest& WithAccount(const char* value) { SetAccount(value); return *this;}
63
65
68 inline const AWSServicePrincipal& GetService() const{ return m_service; }
69 inline bool ServiceHasBeenSet() const { return m_serviceHasBeenSet; }
70 inline void SetService(const AWSServicePrincipal& value) { m_serviceHasBeenSet = true; m_service = value; }
71 inline void SetService(AWSServicePrincipal&& value) { m_serviceHasBeenSet = true; m_service = std::move(value); }
72 inline RevokeVpcEndpointAccessRequest& WithService(const AWSServicePrincipal& value) { SetService(value); return *this;}
73 inline RevokeVpcEndpointAccessRequest& WithService(AWSServicePrincipal&& value) { SetService(std::move(value)); return *this;}
75 private:
76
77 Aws::String m_domainName;
78 bool m_domainNameHasBeenSet = false;
79
80 Aws::String m_account;
81 bool m_accountHasBeenSet = false;
82
83 AWSServicePrincipal m_service;
84 bool m_serviceHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace OpenSearchService
89} // namespace Aws
RevokeVpcEndpointAccessRequest & WithDomainName(const char *value)
RevokeVpcEndpointAccessRequest & WithService(const AWSServicePrincipal &value)
RevokeVpcEndpointAccessRequest & WithAccount(const char *value)
RevokeVpcEndpointAccessRequest & WithAccount(Aws::String &&value)
RevokeVpcEndpointAccessRequest & WithDomainName(Aws::String &&value)
RevokeVpcEndpointAccessRequest & WithDomainName(const Aws::String &value)
AWS_OPENSEARCHSERVICE_API Aws::String SerializePayload() const override
RevokeVpcEndpointAccessRequest & WithAccount(const Aws::String &value)
RevokeVpcEndpointAccessRequest & WithService(AWSServicePrincipal &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String