AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DescribeResiliencyPolicyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehub/ResilienceHubRequest.h>
9#include <aws/resiliencehub/ResilienceHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ResilienceHub {
15namespace Model {
16
20 public:
21 AWS_RESILIENCEHUB_API DescribeResiliencyPolicyRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeResiliencyPolicy"; }
28
29 AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override;
30
32
41 inline const Aws::String& GetPolicyArn() const { return m_policyArn; }
42 inline bool PolicyArnHasBeenSet() const { return m_policyArnHasBeenSet; }
43 template <typename PolicyArnT = Aws::String>
44 void SetPolicyArn(PolicyArnT&& value) {
45 m_policyArnHasBeenSet = true;
46 m_policyArn = std::forward<PolicyArnT>(value);
47 }
48 template <typename PolicyArnT = Aws::String>
50 SetPolicyArn(std::forward<PolicyArnT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_policyArn;
56 bool m_policyArnHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace ResilienceHub
61} // namespace Aws
DescribeResiliencyPolicyRequest & WithPolicyArn(PolicyArnT &&value)
AWS_RESILIENCEHUB_API Aws::String SerializePayload() const override
AWS_RESILIENCEHUB_API DescribeResiliencyPolicyRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String