AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
33
34
36
50 inline const Aws::String& GetUpdateToken() const { return m_updateToken; }
51 template<typename UpdateTokenT = Aws::String>
52 void SetUpdateToken(UpdateTokenT&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::forward<UpdateTokenT>(value); }
53 template<typename UpdateTokenT = Aws::String>
54 UpdateSubnetChangeProtectionResult& WithUpdateToken(UpdateTokenT&& value) { SetUpdateToken(std::forward<UpdateTokenT>(value)); return *this;}
56
58
61 inline const Aws::String& GetFirewallArn() const { return m_firewallArn; }
62 template<typename FirewallArnT = Aws::String>
63 void SetFirewallArn(FirewallArnT&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::forward<FirewallArnT>(value); }
64 template<typename FirewallArnT = Aws::String>
65 UpdateSubnetChangeProtectionResult& WithFirewallArn(FirewallArnT&& value) { SetFirewallArn(std::forward<FirewallArnT>(value)); return *this;}
67
69
73 inline const Aws::String& GetFirewallName() const { return m_firewallName; }
74 template<typename FirewallNameT = Aws::String>
75 void SetFirewallName(FirewallNameT&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::forward<FirewallNameT>(value); }
76 template<typename FirewallNameT = Aws::String>
77 UpdateSubnetChangeProtectionResult& WithFirewallName(FirewallNameT&& value) { SetFirewallName(std::forward<FirewallNameT>(value)); return *this;}
79
81
87 inline bool GetSubnetChangeProtection() const { return m_subnetChangeProtection; }
88 inline void SetSubnetChangeProtection(bool value) { m_subnetChangeProtectionHasBeenSet = true; m_subnetChangeProtection = value; }
91
93
94 inline const Aws::String& GetRequestId() const { return m_requestId; }
95 template<typename RequestIdT = Aws::String>
96 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
97 template<typename RequestIdT = Aws::String>
98 UpdateSubnetChangeProtectionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
100 private:
101
102 Aws::String m_updateToken;
103 bool m_updateTokenHasBeenSet = false;
104
105 Aws::String m_firewallArn;
106 bool m_firewallArnHasBeenSet = false;
107
108 Aws::String m_firewallName;
109 bool m_firewallNameHasBeenSet = false;
110
111 bool m_subnetChangeProtection{false};
112 bool m_subnetChangeProtectionHasBeenSet = false;
113
114 Aws::String m_requestId;
115 bool m_requestIdHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace NetworkFirewall
120} // namespace Aws
AWS_NETWORKFIREWALL_API UpdateSubnetChangeProtectionResult()=default
UpdateSubnetChangeProtectionResult & WithFirewallArn(FirewallArnT &&value)
UpdateSubnetChangeProtectionResult & WithUpdateToken(UpdateTokenT &&value)
UpdateSubnetChangeProtectionResult & WithFirewallName(FirewallNameT &&value)
UpdateSubnetChangeProtectionResult & WithRequestId(RequestIdT &&value)
AWS_NETWORKFIREWALL_API UpdateSubnetChangeProtectionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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