AWS SDK for C++  1.9.104
AWS SDK for C++
CreateFirewallResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace NetworkFirewall
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
41  inline const Firewall& GetFirewall() const{ return m_firewall; }
42 
48  inline void SetFirewall(const Firewall& value) { m_firewall = value; }
49 
55  inline void SetFirewall(Firewall&& value) { m_firewall = std::move(value); }
56 
62  inline CreateFirewallResult& WithFirewall(const Firewall& value) { SetFirewall(value); return *this;}
63 
69  inline CreateFirewallResult& WithFirewall(Firewall&& value) { SetFirewall(std::move(value)); return *this;}
70 
71 
77  inline const FirewallStatus& GetFirewallStatus() const{ return m_firewallStatus; }
78 
84  inline void SetFirewallStatus(const FirewallStatus& value) { m_firewallStatus = value; }
85 
91  inline void SetFirewallStatus(FirewallStatus&& value) { m_firewallStatus = std::move(value); }
92 
98  inline CreateFirewallResult& WithFirewallStatus(const FirewallStatus& value) { SetFirewallStatus(value); return *this;}
99 
105  inline CreateFirewallResult& WithFirewallStatus(FirewallStatus&& value) { SetFirewallStatus(std::move(value)); return *this;}
106 
107  private:
108 
109  Firewall m_firewall;
110 
111  FirewallStatus m_firewallStatus;
112  };
113 
114 } // namespace Model
115 } // namespace NetworkFirewall
116 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::NetworkFirewall::Model::Firewall
Definition: Firewall.h:41
Aws::NetworkFirewall::Model::CreateFirewallResult::WithFirewallStatus
CreateFirewallResult & WithFirewallStatus(FirewallStatus &&value)
Definition: CreateFirewallResult.h:105
Aws::NetworkFirewall::Model::CreateFirewallResult::GetFirewall
const Firewall & GetFirewall() const
Definition: CreateFirewallResult.h:41
Aws::NetworkFirewall::Model::CreateFirewallResult::SetFirewallStatus
void SetFirewallStatus(FirewallStatus &&value)
Definition: CreateFirewallResult.h:91
Aws::NetworkFirewall::Model::CreateFirewallResult::GetFirewallStatus
const FirewallStatus & GetFirewallStatus() const
Definition: CreateFirewallResult.h:77
Firewall.h
Aws::NetworkFirewall::Model::CreateFirewallResult::WithFirewall
CreateFirewallResult & WithFirewall(Firewall &&value)
Definition: CreateFirewallResult.h:69
Aws::NetworkFirewall::Model::FirewallStatus
Definition: FirewallStatus.h:38
Aws::NetworkFirewall::Model::CreateFirewallResult::SetFirewall
void SetFirewall(Firewall &&value)
Definition: CreateFirewallResult.h:55
AWS_NETWORKFIREWALL_API
#define AWS_NETWORKFIREWALL_API
Definition: NetworkFirewall_EXPORTS.h:28
Aws::NetworkFirewall::Model::CreateFirewallResult::WithFirewallStatus
CreateFirewallResult & WithFirewallStatus(const FirewallStatus &value)
Definition: CreateFirewallResult.h:98
Aws::NetworkFirewall::Model::CreateFirewallResult
Definition: CreateFirewallResult.h:29
Aws::NetworkFirewall::Model::CreateFirewallResult::CreateFirewallResult
CreateFirewallResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
FirewallStatus.h
Aws::NetworkFirewall::Model::CreateFirewallResult::operator=
CreateFirewallResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::NetworkFirewall::Model::CreateFirewallResult::WithFirewall
CreateFirewallResult & WithFirewall(const Firewall &value)
Definition: CreateFirewallResult.h:62
Aws::NetworkFirewall::Model::CreateFirewallResult::SetFirewallStatus
void SetFirewallStatus(const FirewallStatus &value)
Definition: CreateFirewallResult.h:84
NetworkFirewall_EXPORTS.h
Aws::NetworkFirewall::Model::CreateFirewallResult::CreateFirewallResult
CreateFirewallResult()
Aws::NetworkFirewall::Model::CreateFirewallResult::SetFirewall
void SetFirewall(const Firewall &value)
Definition: CreateFirewallResult.h:48