AWS SDK for C++

AWS SDK for C++ Version 1.11.921

Loading...
Searching...
No Matches
GetResourcePolicyRequest.h
1
6#pragma once
7#include <aws/continuum/ContinuumRequest.h>
8#include <aws/continuum/Continuum_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Continuum {
18namespace Model {
19
26 public:
27 AWS_CONTINUUM_API GetResourcePolicyRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetResourcePolicy"; }
34
35 AWS_CONTINUUM_API Aws::String SerializePayload() const override;
36
37 AWS_CONTINUUM_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56 private:
57 Aws::String m_arn;
58 bool m_arnHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace Continuum
63} // namespace Aws
AWS_CONTINUUM_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_CONTINUUM_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetResourcePolicyRequest & WithArn(ArnT &&value)
AWS_CONTINUUM_API GetResourcePolicyRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String