AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
DeleteEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3outposts/S3OutpostsRequest.h>
9#include <aws/s3outposts/S3Outposts_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace S3Outposts {
18namespace Model {
19
23 public:
24 AWS_S3OUTPOSTS_API DeleteEndpointRequest() = default;
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 "DeleteEndpoint"; }
31
32 AWS_S3OUTPOSTS_API Aws::String SerializePayload() const override;
33
34 AWS_S3OUTPOSTS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetEndpointId() const { return m_endpointId; }
41 inline bool EndpointIdHasBeenSet() const { return m_endpointIdHasBeenSet; }
42 template <typename EndpointIdT = Aws::String>
43 void SetEndpointId(EndpointIdT&& value) {
44 m_endpointIdHasBeenSet = true;
45 m_endpointId = std::forward<EndpointIdT>(value);
46 }
47 template <typename EndpointIdT = Aws::String>
48 DeleteEndpointRequest& WithEndpointId(EndpointIdT&& value) {
49 SetEndpointId(std::forward<EndpointIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetOutpostId() const { return m_outpostId; }
59 inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
60 template <typename OutpostIdT = Aws::String>
61 void SetOutpostId(OutpostIdT&& value) {
62 m_outpostIdHasBeenSet = true;
63 m_outpostId = std::forward<OutpostIdT>(value);
64 }
65 template <typename OutpostIdT = Aws::String>
66 DeleteEndpointRequest& WithOutpostId(OutpostIdT&& value) {
67 SetOutpostId(std::forward<OutpostIdT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_endpointId;
73
74 Aws::String m_outpostId;
75 bool m_endpointIdHasBeenSet = false;
76 bool m_outpostIdHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace S3Outposts
81} // namespace Aws
DeleteEndpointRequest & WithEndpointId(EndpointIdT &&value)
AWS_S3OUTPOSTS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_S3OUTPOSTS_API DeleteEndpointRequest()=default
virtual const char * GetServiceRequestName() const override
AWS_S3OUTPOSTS_API Aws::String SerializePayload() const override
DeleteEndpointRequest & WithOutpostId(OutpostIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String