AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFirewallPolicyResult.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-firewall/model/FirewallPolicyResponse.h>
10#include <aws/network-firewall/model/FirewallPolicy.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace NetworkFirewall
26{
27namespace Model
28{
30 {
31 public:
32 AWS_NETWORKFIREWALL_API DescribeFirewallPolicyResult();
35
36
38
49 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
50 inline void SetUpdateToken(const Aws::String& value) { m_updateToken = value; }
51 inline void SetUpdateToken(Aws::String&& value) { m_updateToken = std::move(value); }
52 inline void SetUpdateToken(const char* value) { m_updateToken.assign(value); }
53 inline DescribeFirewallPolicyResult& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
54 inline DescribeFirewallPolicyResult& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
55 inline DescribeFirewallPolicyResult& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
57
59
64 inline const FirewallPolicyResponse& GetFirewallPolicyResponse() const{ return m_firewallPolicyResponse; }
65 inline void SetFirewallPolicyResponse(const FirewallPolicyResponse& value) { m_firewallPolicyResponse = value; }
66 inline void SetFirewallPolicyResponse(FirewallPolicyResponse&& value) { m_firewallPolicyResponse = std::move(value); }
70
72
75 inline const FirewallPolicy& GetFirewallPolicy() const{ return m_firewallPolicy; }
76 inline void SetFirewallPolicy(const FirewallPolicy& value) { m_firewallPolicy = value; }
77 inline void SetFirewallPolicy(FirewallPolicy&& value) { m_firewallPolicy = std::move(value); }
79 inline DescribeFirewallPolicyResult& WithFirewallPolicy(FirewallPolicy&& value) { SetFirewallPolicy(std::move(value)); return *this;}
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline DescribeFirewallPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline DescribeFirewallPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline DescribeFirewallPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::String m_updateToken;
95
96 FirewallPolicyResponse m_firewallPolicyResponse;
97
98 FirewallPolicy m_firewallPolicy;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace NetworkFirewall
105} // namespace Aws
DescribeFirewallPolicyResult & WithFirewallPolicy(const FirewallPolicy &value)
DescribeFirewallPolicyResult & WithUpdateToken(const char *value)
AWS_NETWORKFIREWALL_API DescribeFirewallPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFirewallPolicyResult & WithRequestId(const char *value)
DescribeFirewallPolicyResult & WithRequestId(const Aws::String &value)
DescribeFirewallPolicyResult & WithUpdateToken(Aws::String &&value)
DescribeFirewallPolicyResult & WithFirewallPolicyResponse(FirewallPolicyResponse &&value)
DescribeFirewallPolicyResult & WithRequestId(Aws::String &&value)
DescribeFirewallPolicyResult & WithFirewallPolicyResponse(const FirewallPolicyResponse &value)
DescribeFirewallPolicyResult & WithFirewallPolicy(FirewallPolicy &&value)
DescribeFirewallPolicyResult & WithUpdateToken(const Aws::String &value)
AWS_NETWORKFIREWALL_API DescribeFirewallPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetFirewallPolicyResponse(const FirewallPolicyResponse &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue