AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSubnetChangeProtectionResult.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
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:
30 AWS_NETWORKFIREWALL_API UpdateSubnetChangeProtectionResult();
33
34
36
50 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
51 inline void SetUpdateToken(const Aws::String& value) { m_updateToken = value; }
52 inline void SetUpdateToken(Aws::String&& value) { m_updateToken = std::move(value); }
53 inline void SetUpdateToken(const char* value) { m_updateToken.assign(value); }
55 inline UpdateSubnetChangeProtectionResult& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
56 inline UpdateSubnetChangeProtectionResult& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
58
60
63 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
64 inline void SetFirewallArn(const Aws::String& value) { m_firewallArn = value; }
65 inline void SetFirewallArn(Aws::String&& value) { m_firewallArn = std::move(value); }
66 inline void SetFirewallArn(const char* value) { m_firewallArn.assign(value); }
68 inline UpdateSubnetChangeProtectionResult& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
69 inline UpdateSubnetChangeProtectionResult& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
71
73
77 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
78 inline void SetFirewallName(const Aws::String& value) { m_firewallName = value; }
79 inline void SetFirewallName(Aws::String&& value) { m_firewallName = std::move(value); }
80 inline void SetFirewallName(const char* value) { m_firewallName.assign(value); }
82 inline UpdateSubnetChangeProtectionResult& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
83 inline UpdateSubnetChangeProtectionResult& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
85
87
93 inline bool GetSubnetChangeProtection() const{ return m_subnetChangeProtection; }
94 inline void SetSubnetChangeProtection(bool value) { m_subnetChangeProtection = value; }
97
99
100 inline const Aws::String& GetRequestId() const{ return m_requestId; }
101 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
102 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
103 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
104 inline UpdateSubnetChangeProtectionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
105 inline UpdateSubnetChangeProtectionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
106 inline UpdateSubnetChangeProtectionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
108 private:
109
110 Aws::String m_updateToken;
111
112 Aws::String m_firewallArn;
113
114 Aws::String m_firewallName;
115
116 bool m_subnetChangeProtection;
117
118 Aws::String m_requestId;
119 };
120
121} // namespace Model
122} // namespace NetworkFirewall
123} // namespace Aws
UpdateSubnetChangeProtectionResult & WithFirewallName(Aws::String &&value)
UpdateSubnetChangeProtectionResult & WithRequestId(const char *value)
UpdateSubnetChangeProtectionResult & WithFirewallArn(Aws::String &&value)
UpdateSubnetChangeProtectionResult & WithFirewallArn(const char *value)
UpdateSubnetChangeProtectionResult & WithRequestId(const Aws::String &value)
UpdateSubnetChangeProtectionResult & WithUpdateToken(Aws::String &&value)
UpdateSubnetChangeProtectionResult & WithFirewallArn(const Aws::String &value)
UpdateSubnetChangeProtectionResult & WithFirewallName(const char *value)
UpdateSubnetChangeProtectionResult & WithRequestId(Aws::String &&value)
UpdateSubnetChangeProtectionResult & WithUpdateToken(const char *value)
AWS_NETWORKFIREWALL_API UpdateSubnetChangeProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSubnetChangeProtectionResult & WithUpdateToken(const Aws::String &value)
UpdateSubnetChangeProtectionResult & WithFirewallName(const Aws::String &value)
AWS_NETWORKFIREWALL_API UpdateSubnetChangeProtectionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue