AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteEndpointRequest.h
1
6#pragma once
7#include <aws/s3outposts/S3Outposts_EXPORTS.h>
8#include <aws/s3outposts/S3OutpostsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace S3Outposts
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_S3OUTPOSTS_API DeleteEndpointRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "DeleteEndpoint"; }
35
36 AWS_S3OUTPOSTS_API Aws::String SerializePayload() const override;
37
38 AWS_S3OUTPOSTS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetEndpointId() const { return m_endpointId; }
46 inline bool EndpointIdHasBeenSet() const { return m_endpointIdHasBeenSet; }
47 template<typename EndpointIdT = Aws::String>
48 void SetEndpointId(EndpointIdT&& value) { m_endpointIdHasBeenSet = true; m_endpointId = std::forward<EndpointIdT>(value); }
49 template<typename EndpointIdT = Aws::String>
50 DeleteEndpointRequest& WithEndpointId(EndpointIdT&& value) { SetEndpointId(std::forward<EndpointIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetOutpostId() const { return m_outpostId; }
58 inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; }
59 template<typename OutpostIdT = Aws::String>
60 void SetOutpostId(OutpostIdT&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::forward<OutpostIdT>(value); }
61 template<typename OutpostIdT = Aws::String>
62 DeleteEndpointRequest& WithOutpostId(OutpostIdT&& value) { SetOutpostId(std::forward<OutpostIdT>(value)); return *this;}
64 private:
65
66 Aws::String m_endpointId;
67 bool m_endpointIdHasBeenSet = false;
68
69 Aws::String m_outpostId;
70 bool m_outpostIdHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace S3Outposts
75} // 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