AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteVerifiedAccessEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ec2/EC2Request.h>
10#include <aws/ec2/EC2_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace EC2 {
16namespace Model {
17
21 public:
22 AWS_EC2_API DeleteVerifiedAccessEndpointRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteVerifiedAccessEndpoint"; }
29
30 AWS_EC2_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
40 inline const Aws::String& GetVerifiedAccessEndpointId() const { return m_verifiedAccessEndpointId; }
41 inline bool VerifiedAccessEndpointIdHasBeenSet() const { return m_verifiedAccessEndpointIdHasBeenSet; }
42 template <typename VerifiedAccessEndpointIdT = Aws::String>
43 void SetVerifiedAccessEndpointId(VerifiedAccessEndpointIdT&& value) {
44 m_verifiedAccessEndpointIdHasBeenSet = true;
45 m_verifiedAccessEndpointId = std::forward<VerifiedAccessEndpointIdT>(value);
46 }
47 template <typename VerifiedAccessEndpointIdT = Aws::String>
49 SetVerifiedAccessEndpointId(std::forward<VerifiedAccessEndpointIdT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetClientToken() const { return m_clientToken; }
62 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
63 template <typename ClientTokenT = Aws::String>
64 void SetClientToken(ClientTokenT&& value) {
65 m_clientTokenHasBeenSet = true;
66 m_clientToken = std::forward<ClientTokenT>(value);
67 }
68 template <typename ClientTokenT = Aws::String>
70 SetClientToken(std::forward<ClientTokenT>(value));
71 return *this;
72 }
74
76
82 inline bool GetDryRun() const { return m_dryRun; }
83 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
84 inline void SetDryRun(bool value) {
85 m_dryRunHasBeenSet = true;
86 m_dryRun = value;
87 }
89 SetDryRun(value);
90 return *this;
91 }
93 private:
94 Aws::String m_verifiedAccessEndpointId;
95
97
98 bool m_dryRun{false};
99 bool m_verifiedAccessEndpointIdHasBeenSet = false;
100 bool m_clientTokenHasBeenSet = true;
101 bool m_dryRunHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace EC2
106} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
DeleteVerifiedAccessEndpointRequest & WithVerifiedAccessEndpointId(VerifiedAccessEndpointIdT &&value)
DeleteVerifiedAccessEndpointRequest & WithClientToken(ClientTokenT &&value)
DeleteVerifiedAccessEndpointRequest & WithDryRun(bool value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String