AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DeleteEndpointAccessRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Redshift
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteEndpointAccess"; }
31
33
34 protected:
35 AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
42 inline const Aws::String& GetEndpointName() const{ return m_endpointName; }
43
47 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
48
52 inline void SetEndpointName(const Aws::String& value) { m_endpointNameHasBeenSet = true; m_endpointName = value; }
53
57 inline void SetEndpointName(Aws::String&& value) { m_endpointNameHasBeenSet = true; m_endpointName = std::move(value); }
58
62 inline void SetEndpointName(const char* value) { m_endpointNameHasBeenSet = true; m_endpointName.assign(value); }
63
67 inline DeleteEndpointAccessRequest& WithEndpointName(const Aws::String& value) { SetEndpointName(value); return *this;}
68
72 inline DeleteEndpointAccessRequest& WithEndpointName(Aws::String&& value) { SetEndpointName(std::move(value)); return *this;}
73
77 inline DeleteEndpointAccessRequest& WithEndpointName(const char* value) { SetEndpointName(value); return *this;}
78
79 private:
80
81 Aws::String m_endpointName;
82 bool m_endpointNameHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Redshift
87} // namespace Aws
#define AWS_REDSHIFT_API
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteEndpointAccessRequest & WithEndpointName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DeleteEndpointAccessRequest & WithEndpointName(const char *value)
DeleteEndpointAccessRequest & WithEndpointName(Aws::String &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String