AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FirewallStatus.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/model/FirewallStatusValue.h>
9#include <aws/network-firewall/model/ConfigurationSyncState.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/network-firewall/model/CapacityUsageSummary.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/network-firewall/model/SyncState.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace NetworkFirewall
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_NETWORKFIREWALL_API FirewallStatus();
42 AWS_NETWORKFIREWALL_API FirewallStatus(Aws::Utils::Json::JsonView jsonValue);
43 AWS_NETWORKFIREWALL_API FirewallStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
56 inline const FirewallStatusValue& GetStatus() const{ return m_status; }
57 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
58 inline void SetStatus(const FirewallStatusValue& value) { m_statusHasBeenSet = true; m_status = value; }
59 inline void SetStatus(FirewallStatusValue&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
60 inline FirewallStatus& WithStatus(const FirewallStatusValue& value) { SetStatus(value); return *this;}
61 inline FirewallStatus& WithStatus(FirewallStatusValue&& value) { SetStatus(std::move(value)); return *this;}
63
65
77 inline const ConfigurationSyncState& GetConfigurationSyncStateSummary() const{ return m_configurationSyncStateSummary; }
78 inline bool ConfigurationSyncStateSummaryHasBeenSet() const { return m_configurationSyncStateSummaryHasBeenSet; }
79 inline void SetConfigurationSyncStateSummary(const ConfigurationSyncState& value) { m_configurationSyncStateSummaryHasBeenSet = true; m_configurationSyncStateSummary = value; }
80 inline void SetConfigurationSyncStateSummary(ConfigurationSyncState&& value) { m_configurationSyncStateSummaryHasBeenSet = true; m_configurationSyncStateSummary = std::move(value); }
84
86
93 inline const Aws::Map<Aws::String, SyncState>& GetSyncStates() const{ return m_syncStates; }
94 inline bool SyncStatesHasBeenSet() const { return m_syncStatesHasBeenSet; }
95 inline void SetSyncStates(const Aws::Map<Aws::String, SyncState>& value) { m_syncStatesHasBeenSet = true; m_syncStates = value; }
96 inline void SetSyncStates(Aws::Map<Aws::String, SyncState>&& value) { m_syncStatesHasBeenSet = true; m_syncStates = std::move(value); }
97 inline FirewallStatus& WithSyncStates(const Aws::Map<Aws::String, SyncState>& value) { SetSyncStates(value); return *this;}
98 inline FirewallStatus& WithSyncStates(Aws::Map<Aws::String, SyncState>&& value) { SetSyncStates(std::move(value)); return *this;}
99 inline FirewallStatus& AddSyncStates(const Aws::String& key, const SyncState& value) { m_syncStatesHasBeenSet = true; m_syncStates.emplace(key, value); return *this; }
100 inline FirewallStatus& AddSyncStates(Aws::String&& key, const SyncState& value) { m_syncStatesHasBeenSet = true; m_syncStates.emplace(std::move(key), value); return *this; }
101 inline FirewallStatus& AddSyncStates(const Aws::String& key, SyncState&& value) { m_syncStatesHasBeenSet = true; m_syncStates.emplace(key, std::move(value)); return *this; }
102 inline FirewallStatus& AddSyncStates(Aws::String&& key, SyncState&& value) { m_syncStatesHasBeenSet = true; m_syncStates.emplace(std::move(key), std::move(value)); return *this; }
103 inline FirewallStatus& AddSyncStates(const char* key, SyncState&& value) { m_syncStatesHasBeenSet = true; m_syncStates.emplace(key, std::move(value)); return *this; }
104 inline FirewallStatus& AddSyncStates(const char* key, const SyncState& value) { m_syncStatesHasBeenSet = true; m_syncStates.emplace(key, value); return *this; }
106
108
114 inline const CapacityUsageSummary& GetCapacityUsageSummary() const{ return m_capacityUsageSummary; }
115 inline bool CapacityUsageSummaryHasBeenSet() const { return m_capacityUsageSummaryHasBeenSet; }
116 inline void SetCapacityUsageSummary(const CapacityUsageSummary& value) { m_capacityUsageSummaryHasBeenSet = true; m_capacityUsageSummary = value; }
117 inline void SetCapacityUsageSummary(CapacityUsageSummary&& value) { m_capacityUsageSummaryHasBeenSet = true; m_capacityUsageSummary = std::move(value); }
119 inline FirewallStatus& WithCapacityUsageSummary(CapacityUsageSummary&& value) { SetCapacityUsageSummary(std::move(value)); return *this;}
121 private:
122
123 FirewallStatusValue m_status;
124 bool m_statusHasBeenSet = false;
125
126 ConfigurationSyncState m_configurationSyncStateSummary;
127 bool m_configurationSyncStateSummaryHasBeenSet = false;
128
130 bool m_syncStatesHasBeenSet = false;
131
132 CapacityUsageSummary m_capacityUsageSummary;
133 bool m_capacityUsageSummaryHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace NetworkFirewall
138} // namespace Aws
void SetCapacityUsageSummary(const CapacityUsageSummary &value)
FirewallStatus & WithStatus(FirewallStatusValue &&value)
FirewallStatus & WithSyncStates(const Aws::Map< Aws::String, SyncState > &value)
void SetSyncStates(Aws::Map< Aws::String, SyncState > &&value)
FirewallStatus & WithCapacityUsageSummary(CapacityUsageSummary &&value)
void SetConfigurationSyncStateSummary(ConfigurationSyncState &&value)
FirewallStatus & AddSyncStates(const char *key, const SyncState &value)
const ConfigurationSyncState & GetConfigurationSyncStateSummary() const
FirewallStatus & WithCapacityUsageSummary(const CapacityUsageSummary &value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
const CapacityUsageSummary & GetCapacityUsageSummary() const
FirewallStatus & AddSyncStates(const Aws::String &key, SyncState &&value)
FirewallStatus & AddSyncStates(const char *key, SyncState &&value)
void SetStatus(FirewallStatusValue &&value)
const FirewallStatusValue & GetStatus() const
FirewallStatus & AddSyncStates(const Aws::String &key, const SyncState &value)
void SetCapacityUsageSummary(CapacityUsageSummary &&value)
AWS_NETWORKFIREWALL_API FirewallStatus()
FirewallStatus & AddSyncStates(Aws::String &&key, const SyncState &value)
FirewallStatus & WithStatus(const FirewallStatusValue &value)
void SetStatus(const FirewallStatusValue &value)
FirewallStatus & WithConfigurationSyncStateSummary(const ConfigurationSyncState &value)
void SetSyncStates(const Aws::Map< Aws::String, SyncState > &value)
AWS_NETWORKFIREWALL_API FirewallStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
FirewallStatus & AddSyncStates(Aws::String &&key, SyncState &&value)
FirewallStatus & WithSyncStates(Aws::Map< Aws::String, SyncState > &&value)
void SetConfigurationSyncStateSummary(const ConfigurationSyncState &value)
FirewallStatus & WithConfigurationSyncStateSummary(ConfigurationSyncState &&value)
AWS_NETWORKFIREWALL_API FirewallStatus(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, SyncState > & GetSyncStates() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue