AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFirewallResult.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/model/Firewall.h>
9#include <aws/network-firewall/model/FirewallStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.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 CreateFirewallResult();
35
36
38
43 inline const Firewall& GetFirewall() const{ return m_firewall; }
44 inline void SetFirewall(const Firewall& value) { m_firewall = value; }
45 inline void SetFirewall(Firewall&& value) { m_firewall = std::move(value); }
46 inline CreateFirewallResult& WithFirewall(const Firewall& value) { SetFirewall(value); return *this;}
47 inline CreateFirewallResult& WithFirewall(Firewall&& value) { SetFirewall(std::move(value)); return *this;}
49
51
56 inline const FirewallStatus& GetFirewallStatus() const{ return m_firewallStatus; }
57 inline void SetFirewallStatus(const FirewallStatus& value) { m_firewallStatus = value; }
58 inline void SetFirewallStatus(FirewallStatus&& value) { m_firewallStatus = std::move(value); }
59 inline CreateFirewallResult& WithFirewallStatus(const FirewallStatus& value) { SetFirewallStatus(value); return *this;}
60 inline CreateFirewallResult& WithFirewallStatus(FirewallStatus&& value) { SetFirewallStatus(std::move(value)); return *this;}
62
64
65 inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
67 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
68 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
69 inline CreateFirewallResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
70 inline CreateFirewallResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
71 inline CreateFirewallResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
73 private:
74
75 Firewall m_firewall;
76
77 FirewallStatus m_firewallStatus;
78
79 Aws::String m_requestId;
80 };
81
82} // namespace Model
83} // namespace NetworkFirewall
84} // namespace Aws
CreateFirewallResult & WithFirewall(const Firewall &value)
CreateFirewallResult & WithRequestId(Aws::String &&value)
CreateFirewallResult & WithRequestId(const char *value)
CreateFirewallResult & WithFirewallStatus(FirewallStatus &&value)
AWS_NETWORKFIREWALL_API CreateFirewallResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFirewallResult & WithRequestId(const Aws::String &value)
void SetFirewallStatus(const FirewallStatus &value)
CreateFirewallResult & WithFirewall(Firewall &&value)
AWS_NETWORKFIREWALL_API CreateFirewallResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFirewallResult & WithFirewallStatus(const FirewallStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue