AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeResourcePolicyResult.h
Go to the documentation of this file.
1
6#pragma once
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace NetworkFirewall
24{
25namespace Model
26{
28 {
29 public:
33
34
38 inline const Aws::String& GetPolicy() const{ return m_policy; }
39
43 inline void SetPolicy(const Aws::String& value) { m_policy = value; }
44
48 inline void SetPolicy(Aws::String&& value) { m_policy = std::move(value); }
49
53 inline void SetPolicy(const char* value) { m_policy.assign(value); }
54
58 inline DescribeResourcePolicyResult& WithPolicy(const Aws::String& value) { SetPolicy(value); return *this;}
59
63 inline DescribeResourcePolicyResult& WithPolicy(Aws::String&& value) { SetPolicy(std::move(value)); return *this;}
64
68 inline DescribeResourcePolicyResult& WithPolicy(const char* value) { SetPolicy(value); return *this;}
69
70 private:
71
72 Aws::String m_policy;
73 };
74
75} // namespace Model
76} // namespace NetworkFirewall
77} // namespace Aws
#define AWS_NETWORKFIREWALL_API
DescribeResourcePolicyResult & WithPolicy(const char *value)
AWS_NETWORKFIREWALL_API DescribeResourcePolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeResourcePolicyResult & WithPolicy(Aws::String &&value)
AWS_NETWORKFIREWALL_API DescribeResourcePolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeResourcePolicyResult & WithPolicy(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String