AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteVpcEndpointRequest.h
1
6#pragma once
7#include <aws/opensearchserverless/OpenSearchServerless_EXPORTS.h>
8#include <aws/opensearchserverless/OpenSearchServerlessRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace OpenSearchServerless
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_OPENSEARCHSERVERLESS_API DeleteVpcEndpointRequest();
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 "DeleteVpcEndpoint"; }
32
33 AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override;
34
35 AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
45 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
46 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
47 inline DeleteVpcEndpointRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
48 inline DeleteVpcEndpointRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
49 inline DeleteVpcEndpointRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
51
53
56 inline const Aws::String& GetId() const{ return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
59 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
61 inline DeleteVpcEndpointRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
62 inline DeleteVpcEndpointRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
63 inline DeleteVpcEndpointRequest& WithId(const char* value) { SetId(value); return *this;}
65 private:
66
67 Aws::String m_clientToken;
68 bool m_clientTokenHasBeenSet = false;
69
70 Aws::String m_id;
71 bool m_idHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace OpenSearchServerless
76} // namespace Aws
DeleteVpcEndpointRequest & WithClientToken(const Aws::String &value)
DeleteVpcEndpointRequest & WithId(const Aws::String &value)
DeleteVpcEndpointRequest & WithClientToken(const char *value)
AWS_OPENSEARCHSERVERLESS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteVpcEndpointRequest & WithId(Aws::String &&value)
DeleteVpcEndpointRequest & WithClientToken(Aws::String &&value)
AWS_OPENSEARCHSERVERLESS_API Aws::String SerializePayload() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String