AWS SDK for C++

AWS SDK for C++ Version 1.11.750

Loading...
Searching...
No Matches
GetDataProtectionPolicyRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sns/SNSRequest.h>
9#include <aws/sns/SNS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SNS {
15namespace Model {
16
20 public:
21 AWS_SNS_API GetDataProtectionPolicyRequest() = 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 "GetDataProtectionPolicy"; }
28
29 AWS_SNS_API Aws::String SerializePayload() const override;
30
31 protected:
32 AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
33
34 public:
36
42 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
43 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
44 template <typename ResourceArnT = Aws::String>
45 void SetResourceArn(ResourceArnT&& value) {
46 m_resourceArnHasBeenSet = true;
47 m_resourceArn = std::forward<ResourceArnT>(value);
48 }
49 template <typename ResourceArnT = Aws::String>
51 SetResourceArn(std::forward<ResourceArnT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_resourceArn;
57 bool m_resourceArnHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace SNS
62} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
GetDataProtectionPolicyRequest & WithResourceArn(ResourceArnT &&value)
AWS_SNS_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String