AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
45 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
46 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
47 inline DeleteResiliencyPolicyRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
48 inline DeleteResiliencyPolicyRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
49 inline DeleteResiliencyPolicyRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
51
53
62 inline const Aws::String& GetPolicyArn() const{ return m_policyArn; }
63 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
64 inline void SetPolicyArn(const Aws::String& value) { m_policyArnHasBeenSet = true; m_policyArn = value; }
65 inline void SetPolicyArn(Aws::String&& value) { m_policyArnHasBeenSet = true; m_policyArn = std::move(value); }
66 inline void SetPolicyArn(const char* value) { m_policyArnHasBeenSet = true; m_policyArn.assign(value); }
67 inline DeleteResiliencyPolicyRequest& WithPolicyArn(const Aws::String& value) { SetPolicyArn(value); return *this;}
68 inline DeleteResiliencyPolicyRequest& WithPolicyArn(Aws::String&& value) { SetPolicyArn(std::move(value)); return *this;}
69 inline DeleteResiliencyPolicyRequest& WithPolicyArn(const char* value) { SetPolicyArn(value); return *this;}
71 private:
72
73 Aws::String m_clientToken;
74 bool m_clientTokenHasBeenSet = false;
75
76 Aws::String m_policyArn;
77 bool m_policyArnHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace ResilienceHub
82} // namespace Aws
DeleteResiliencyPolicyRequest & WithPolicyArn(const Aws::String &value)
DeleteResiliencyPolicyRequest & WithPolicyArn(Aws::String &&value)
DeleteResiliencyPolicyRequest & WithClientToken(Aws::String &&value)
DeleteResiliencyPolicyRequest & WithClientToken(const char *value)
DeleteResiliencyPolicyRequest & WithPolicyArn(const char *value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
DeleteResiliencyPolicyRequest & WithClientToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String