AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
48 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
49 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
50 inline AuthorizeVpcEndpointAccessRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
51 inline AuthorizeVpcEndpointAccessRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
52 inline AuthorizeVpcEndpointAccessRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
54
56
59 inline const Aws::String& GetAccount() const{ return m_account; }
60 inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; }
61 inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; }
62 inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); }
63 inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); }
64 inline AuthorizeVpcEndpointAccessRequest& WithAccount(const Aws::String& value) { SetAccount(value); return *this;}
65 inline AuthorizeVpcEndpointAccessRequest& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;}
66 inline AuthorizeVpcEndpointAccessRequest& WithAccount(const char* value) { SetAccount(value); return *this;}
68 private:
69
70 Aws::String m_domainName;
71 bool m_domainNameHasBeenSet = false;
72
73 Aws::String m_account;
74 bool m_accountHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ElasticsearchService
79} // namespace Aws
AuthorizeVpcEndpointAccessRequest & WithAccount(Aws::String &&value)
AuthorizeVpcEndpointAccessRequest & WithDomainName(Aws::String &&value)
AWS_ELASTICSEARCHSERVICE_API Aws::String SerializePayload() const override
AuthorizeVpcEndpointAccessRequest & WithAccount(const Aws::String &value)
AuthorizeVpcEndpointAccessRequest & WithDomainName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String