AWS SDK for C++

AWS SDK for C++ Version 1.11.554

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Loading...
Searching...
No Matches
AuthorizeVpcEndpointAccessRequest.h
1
6#pragma once
7#include <aws/es/ElasticsearchService_EXPORTS.h>
8#include <aws/es/ElasticsearchServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ElasticsearchService
15{
16namespace Model
17{
18
28 {
29 public:
30 AWS_ELASTICSEARCHSERVICE_API AuthorizeVpcEndpointAccessRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "AuthorizeVpcEndpointAccess"; }
37
38 AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetDomainName() const { return m_domainName; }
46 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
47 template<typename DomainNameT = Aws::String>
48 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
49 template<typename DomainNameT = Aws::String>
50 AuthorizeVpcEndpointAccessRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetAccount() const { return m_account; }
58 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
59 template<typename AccountT = Aws::String>
60 void SetAccount(AccountT&& value) { m_accountHasBeenSet = true; m_account = std::forward<AccountT>(value); }
61 template<typename AccountT = Aws::String>
62 AuthorizeVpcEndpointAccessRequest& WithAccount(AccountT&& value) { SetAccount(std::forward<AccountT>(value)); return *this;}
64 private:
65
66 Aws::String m_domainName;
67 bool m_domainNameHasBeenSet = false;
68
69 Aws::String m_account;
70 bool m_accountHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace ElasticsearchService
75} // namespace Aws
AuthorizeVpcEndpointAccessRequest & WithDomainName(DomainNameT &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
AWS_ELASTICSEARCHSERVICE_API AuthorizeVpcEndpointAccessRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String