AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateSubnetsResult.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/core/utils/memory/stl/AWSVector.h>
10#include <aws/network-firewall/model/SubnetMapping.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 AssociateSubnetsResult();
35
36
38
41 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
42 inline void SetFirewallArn(const Aws::String& value) { m_firewallArn = value; }
43 inline void SetFirewallArn(Aws::String&& value) { m_firewallArn = std::move(value); }
44 inline void SetFirewallArn(const char* value) { m_firewallArn.assign(value); }
45 inline AssociateSubnetsResult& WithFirewallArn(const Aws::String& value) { SetFirewallArn(value); return *this;}
46 inline AssociateSubnetsResult& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
47 inline AssociateSubnetsResult& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
49
51
55 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
56 inline void SetFirewallName(const Aws::String& value) { m_firewallName = value; }
57 inline void SetFirewallName(Aws::String&& value) { m_firewallName = std::move(value); }
58 inline void SetFirewallName(const char* value) { m_firewallName.assign(value); }
59 inline AssociateSubnetsResult& WithFirewallName(const Aws::String& value) { SetFirewallName(value); return *this;}
60 inline AssociateSubnetsResult& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
61 inline AssociateSubnetsResult& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
63
65
68 inline const Aws::Vector<SubnetMapping>& GetSubnetMappings() const{ return m_subnetMappings; }
69 inline void SetSubnetMappings(const Aws::Vector<SubnetMapping>& value) { m_subnetMappings = value; }
70 inline void SetSubnetMappings(Aws::Vector<SubnetMapping>&& value) { m_subnetMappings = std::move(value); }
73 inline AssociateSubnetsResult& AddSubnetMappings(const SubnetMapping& value) { m_subnetMappings.push_back(value); return *this; }
74 inline AssociateSubnetsResult& AddSubnetMappings(SubnetMapping&& value) { m_subnetMappings.push_back(std::move(value)); return *this; }
76
78
92 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
93 inline void SetUpdateToken(const Aws::String& value) { m_updateToken = value; }
94 inline void SetUpdateToken(Aws::String&& value) { m_updateToken = std::move(value); }
95 inline void SetUpdateToken(const char* value) { m_updateToken.assign(value); }
96 inline AssociateSubnetsResult& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
97 inline AssociateSubnetsResult& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
98 inline AssociateSubnetsResult& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
100
102
103 inline const Aws::String& GetRequestId() const{ return m_requestId; }
104 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
105 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
106 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
107 inline AssociateSubnetsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
108 inline AssociateSubnetsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
109 inline AssociateSubnetsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
111 private:
112
113 Aws::String m_firewallArn;
114
115 Aws::String m_firewallName;
116
117 Aws::Vector<SubnetMapping> m_subnetMappings;
118
119 Aws::String m_updateToken;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace NetworkFirewall
126} // namespace Aws
AWS_NETWORKFIREWALL_API AssociateSubnetsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateSubnetsResult & WithFirewallName(const Aws::String &value)
void SetSubnetMappings(const Aws::Vector< SubnetMapping > &value)
AssociateSubnetsResult & WithRequestId(Aws::String &&value)
AssociateSubnetsResult & WithRequestId(const Aws::String &value)
AssociateSubnetsResult & WithFirewallName(const char *value)
AssociateSubnetsResult & AddSubnetMappings(SubnetMapping &&value)
AssociateSubnetsResult & WithRequestId(const char *value)
AssociateSubnetsResult & WithUpdateToken(Aws::String &&value)
AssociateSubnetsResult & WithUpdateToken(const Aws::String &value)
AssociateSubnetsResult & WithFirewallName(Aws::String &&value)
AssociateSubnetsResult & AddSubnetMappings(const SubnetMapping &value)
const Aws::Vector< SubnetMapping > & GetSubnetMappings() const
AssociateSubnetsResult & WithUpdateToken(const char *value)
AssociateSubnetsResult & WithSubnetMappings(Aws::Vector< SubnetMapping > &&value)
AssociateSubnetsResult & WithFirewallArn(const char *value)
void SetSubnetMappings(Aws::Vector< SubnetMapping > &&value)
AssociateSubnetsResult & WithFirewallArn(Aws::String &&value)
AssociateSubnetsResult & WithFirewallArn(const Aws::String &value)
AWS_NETWORKFIREWALL_API AssociateSubnetsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateSubnetsResult & WithSubnetMappings(const Aws::Vector< SubnetMapping > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue