AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
AdminScopeInput.h
1
6#pragma once
7#include <aws/network-security-manager/NetworkSecurityManager_EXPORTS.h>
8#include <aws/network-security-manager/model/AdminFirewallTypeScope.h>
9#include <aws/network-security-manager/model/AdminScopeFilterInput.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace NetworkSecurityManager {
21namespace Model {
22
30 public:
31 AWS_NETWORKSECURITYMANAGER_API AdminScopeInput() = default;
32 AWS_NETWORKSECURITYMANAGER_API AdminScopeInput(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NETWORKSECURITYMANAGER_API AdminScopeInput& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_NETWORKSECURITYMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const AdminScopeFilterInput& GetScopeFilter() const { return m_scopeFilter; }
42 inline bool ScopeFilterHasBeenSet() const { return m_scopeFilterHasBeenSet; }
43 template <typename ScopeFilterT = AdminScopeFilterInput>
44 void SetScopeFilter(ScopeFilterT&& value) {
45 m_scopeFilterHasBeenSet = true;
46 m_scopeFilter = std::forward<ScopeFilterT>(value);
47 }
48 template <typename ScopeFilterT = AdminScopeFilterInput>
49 AdminScopeInput& WithScopeFilter(ScopeFilterT&& value) {
50 SetScopeFilter(std::forward<ScopeFilterT>(value));
51 return *this;
52 }
54
56
59 inline const AdminFirewallTypeScope& GetFirewallTypeScope() const { return m_firewallTypeScope; }
60 inline bool FirewallTypeScopeHasBeenSet() const { return m_firewallTypeScopeHasBeenSet; }
61 template <typename FirewallTypeScopeT = AdminFirewallTypeScope>
62 void SetFirewallTypeScope(FirewallTypeScopeT&& value) {
63 m_firewallTypeScopeHasBeenSet = true;
64 m_firewallTypeScope = std::forward<FirewallTypeScopeT>(value);
65 }
66 template <typename FirewallTypeScopeT = AdminFirewallTypeScope>
67 AdminScopeInput& WithFirewallTypeScope(FirewallTypeScopeT&& value) {
68 SetFirewallTypeScope(std::forward<FirewallTypeScopeT>(value));
69 return *this;
70 }
72 private:
73 AdminScopeFilterInput m_scopeFilter;
74
75 AdminFirewallTypeScope m_firewallTypeScope;
76 bool m_scopeFilterHasBeenSet = false;
77 bool m_firewallTypeScopeHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace NetworkSecurityManager
82} // namespace Aws
const AdminScopeFilterInput & GetScopeFilter() const
AWS_NETWORKSECURITYMANAGER_API AdminScopeInput()=default
AWS_NETWORKSECURITYMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFirewallTypeScope(FirewallTypeScopeT &&value)
AdminScopeInput & WithScopeFilter(ScopeFilterT &&value)
AWS_NETWORKSECURITYMANAGER_API AdminScopeInput(Aws::Utils::Json::JsonView jsonValue)
AdminScopeInput & WithFirewallTypeScope(FirewallTypeScopeT &&value)
const AdminFirewallTypeScope & GetFirewallTypeScope() const
AWS_NETWORKSECURITYMANAGER_API AdminScopeInput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue