AWS SDK for C++

AWS SDK for C++ Version 1.11.681

Loading...
Searching...
No Matches
DeleteResiliencyPolicyRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/resiliencehub/ResilienceHubRequest.h>
10#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace ResilienceHub {
16namespace Model {
17
21 public:
22 AWS_RESILIENCEHUB_API DeleteResiliencyPolicyRequest() = 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 "DeleteResiliencyPolicy"; }
29
30 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
31
33
38 inline const Aws::String& GetClientToken() const { return m_clientToken; }
39 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
40 template <typename ClientTokenT = Aws::String>
41 void SetClientToken(ClientTokenT&& value) {
42 m_clientTokenHasBeenSet = true;
43 m_clientToken = std::forward<ClientTokenT>(value);
44 }
45 template <typename ClientTokenT = Aws::String>
47 SetClientToken(std::forward<ClientTokenT>(value));
48 return *this;
49 }
51
53
62 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
63 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
64 template <typename PolicyArnT = Aws::String>
65 void SetPolicyArn(PolicyArnT&& value) {
66 m_policyArnHasBeenSet = true;
67 m_policyArn = std::forward<PolicyArnT>(value);
68 }
69 template <typename PolicyArnT = Aws::String>
71 SetPolicyArn(std::forward<PolicyArnT>(value));
72 return *this;
73 }
75 private:
77 bool m_clientTokenHasBeenSet = true;
78
79 Aws::String m_policyArn;
80 bool m_policyArnHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace ResilienceHub
85} // namespace Aws
DeleteResiliencyPolicyRequest & WithClientToken(ClientTokenT &&value)
AWS_RESILIENCEHUB_API DeleteResiliencyPolicyRequest()=default
DeleteResiliencyPolicyRequest & WithPolicyArn(PolicyArnT &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String