AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReferenceSets.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/network-firewall/model/IPSetReference.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace NetworkFirewall
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_NETWORKFIREWALL_API ReferenceSets();
37 AWS_NETWORKFIREWALL_API ReferenceSets(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKFIREWALL_API ReferenceSets& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Map<Aws::String, IPSetReference>& GetIPSetReferences() const{ return m_iPSetReferences; }
47 inline bool IPSetReferencesHasBeenSet() const { return m_iPSetReferencesHasBeenSet; }
48 inline void SetIPSetReferences(const Aws::Map<Aws::String, IPSetReference>& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences = value; }
49 inline void SetIPSetReferences(Aws::Map<Aws::String, IPSetReference>&& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences = std::move(value); }
52 inline ReferenceSets& AddIPSetReferences(const Aws::String& key, const IPSetReference& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, value); return *this; }
53 inline ReferenceSets& AddIPSetReferences(Aws::String&& key, const IPSetReference& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(std::move(key), value); return *this; }
54 inline ReferenceSets& AddIPSetReferences(const Aws::String& key, IPSetReference&& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, std::move(value)); return *this; }
55 inline ReferenceSets& AddIPSetReferences(Aws::String&& key, IPSetReference&& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(std::move(key), std::move(value)); return *this; }
56 inline ReferenceSets& AddIPSetReferences(const char* key, IPSetReference&& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, std::move(value)); return *this; }
57 inline ReferenceSets& AddIPSetReferences(const char* key, const IPSetReference& value) { m_iPSetReferencesHasBeenSet = true; m_iPSetReferences.emplace(key, value); return *this; }
59 private:
60
62 bool m_iPSetReferencesHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace NetworkFirewall
67} // namespace Aws
AWS_NETWORKFIREWALL_API ReferenceSets & operator=(Aws::Utils::Json::JsonView jsonValue)
ReferenceSets & AddIPSetReferences(const Aws::String &key, IPSetReference &&value)
ReferenceSets & AddIPSetReferences(Aws::String &&key, IPSetReference &&value)
void SetIPSetReferences(const Aws::Map< Aws::String, IPSetReference > &value)
AWS_NETWORKFIREWALL_API ReferenceSets()
ReferenceSets & WithIPSetReferences(Aws::Map< Aws::String, IPSetReference > &&value)
ReferenceSets & AddIPSetReferences(const char *key, const IPSetReference &value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, IPSetReference > & GetIPSetReferences() const
AWS_NETWORKFIREWALL_API ReferenceSets(Aws::Utils::Json::JsonView jsonValue)
ReferenceSets & AddIPSetReferences(const char *key, IPSetReference &&value)
ReferenceSets & WithIPSetReferences(const Aws::Map< Aws::String, IPSetReference > &value)
void SetIPSetReferences(Aws::Map< Aws::String, IPSetReference > &&value)
ReferenceSets & AddIPSetReferences(Aws::String &&key, const IPSetReference &value)
ReferenceSets & AddIPSetReferences(const Aws::String &key, const IPSetReference &value)
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