AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteResiliencyPolicyRequest.h
1
6#pragma once
7#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11#include <aws/core/utils/UUID.h>
12
13namespace Aws
14{
15namespace ResilienceHub
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_RESILIENCEHUB_API DeleteResiliencyPolicyRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteResiliencyPolicy"; }
32
33 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
34
35
37
42 inline const Aws::String& GetClientToken() const { return m_clientToken; }
43 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
44 template<typename ClientTokenT = Aws::String>
45 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
46 template<typename ClientTokenT = Aws::String>
47 DeleteResiliencyPolicyRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
49
51
60 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
61 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
62 template<typename PolicyArnT = Aws::String>
63 void SetPolicyArn(PolicyArnT&& value) { m_policyArnHasBeenSet = true; m_policyArn = std::forward<PolicyArnT>(value); }
64 template<typename PolicyArnT = Aws::String>
65 DeleteResiliencyPolicyRequest& WithPolicyArn(PolicyArnT&& value) { SetPolicyArn(std::forward<PolicyArnT>(value)); return *this;}
67 private:
68
70 bool m_clientTokenHasBeenSet = true;
71
72 Aws::String m_policyArn;
73 bool m_policyArnHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace ResilienceHub
78} // 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