AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteMultiRegionAccessPointRequest.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/s3control/model/DeleteMultiRegionAccessPointInput.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace S3Control
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_S3CONTROL_API DeleteMultiRegionAccessPointRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DeleteMultiRegionAccessPoint"; }
33
34 AWS_S3CONTROL_API Aws::String SerializePayload() const override;
35
37
38 AWS_S3CONTROL_API inline bool ShouldComputeContentMd5() const override { return true; }
39
43 AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override;
44
46
50 inline const Aws::String& GetAccountId() const { return m_accountId; }
51 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
52 template<typename AccountIdT = Aws::String>
53 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
54 template<typename AccountIdT = Aws::String>
55 DeleteMultiRegionAccessPointRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
57
59
63 inline const Aws::String& GetClientToken() const { return m_clientToken; }
64 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
65 template<typename ClientTokenT = Aws::String>
66 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
67 template<typename ClientTokenT = Aws::String>
68 DeleteMultiRegionAccessPointRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
70
72
76 inline const DeleteMultiRegionAccessPointInput& GetDetails() const { return m_details; }
77 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
78 template<typename DetailsT = DeleteMultiRegionAccessPointInput>
79 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet = true; m_details = std::forward<DetailsT>(value); }
80 template<typename DetailsT = DeleteMultiRegionAccessPointInput>
81 DeleteMultiRegionAccessPointRequest& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
83 private:
84
85 Aws::String m_accountId;
86 bool m_accountIdHasBeenSet = false;
87
89 bool m_clientTokenHasBeenSet = true;
90
91 DeleteMultiRegionAccessPointInput m_details;
92 bool m_detailsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace S3Control
97} // namespace Aws
DeleteMultiRegionAccessPointRequest & WithAccountId(AccountIdT &&value)
DeleteMultiRegionAccessPointRequest & WithClientToken(ClientTokenT &&value)
DeleteMultiRegionAccessPointRequest & WithDetails(DetailsT &&value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_S3CONTROL_API Aws::String SerializePayload() const override
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
Aws::Endpoint::EndpointParameters EndpointParameters
static Aws::Utils::UUID PseudoRandomUUID()
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String