AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
NetworkAclCommonPolicy.h
1
6#pragma once
7#include <aws/fms/FMS_EXPORTS.h>
8#include <aws/fms/model/NetworkAclEntrySet.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace FMS {
20namespace Model {
21
35 public:
36 AWS_FMS_API NetworkAclCommonPolicy() = default;
40
42
45 inline const NetworkAclEntrySet& GetNetworkAclEntrySet() const { return m_networkAclEntrySet; }
46 inline bool NetworkAclEntrySetHasBeenSet() const { return m_networkAclEntrySetHasBeenSet; }
47 template <typename NetworkAclEntrySetT = NetworkAclEntrySet>
48 void SetNetworkAclEntrySet(NetworkAclEntrySetT&& value) {
49 m_networkAclEntrySetHasBeenSet = true;
50 m_networkAclEntrySet = std::forward<NetworkAclEntrySetT>(value);
51 }
52 template <typename NetworkAclEntrySetT = NetworkAclEntrySet>
53 NetworkAclCommonPolicy& WithNetworkAclEntrySet(NetworkAclEntrySetT&& value) {
54 SetNetworkAclEntrySet(std::forward<NetworkAclEntrySetT>(value));
55 return *this;
56 }
58 private:
59 NetworkAclEntrySet m_networkAclEntrySet;
60 bool m_networkAclEntrySetHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace FMS
65} // namespace Aws
AWS_FMS_API NetworkAclCommonPolicy(Aws::Utils::Json::JsonView jsonValue)
void SetNetworkAclEntrySet(NetworkAclEntrySetT &&value)
AWS_FMS_API NetworkAclCommonPolicy()=default
AWS_FMS_API NetworkAclCommonPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
const NetworkAclEntrySet & GetNetworkAclEntrySet() const
NetworkAclCommonPolicy & WithNetworkAclEntrySet(NetworkAclEntrySetT &&value)
AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue