AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Address.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace NetworkFirewall
22{
23namespace Model
24{
25
32 class Address
33 {
34 public:
35 AWS_NETWORKFIREWALL_API Address();
36 AWS_NETWORKFIREWALL_API Address(Aws::Utils::Json::JsonView jsonValue);
37 AWS_NETWORKFIREWALL_API Address& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
60 inline const Aws::String& GetAddressDefinition() const{ return m_addressDefinition; }
61 inline bool AddressDefinitionHasBeenSet() const { return m_addressDefinitionHasBeenSet; }
62 inline void SetAddressDefinition(const Aws::String& value) { m_addressDefinitionHasBeenSet = true; m_addressDefinition = value; }
63 inline void SetAddressDefinition(Aws::String&& value) { m_addressDefinitionHasBeenSet = true; m_addressDefinition = std::move(value); }
64 inline void SetAddressDefinition(const char* value) { m_addressDefinitionHasBeenSet = true; m_addressDefinition.assign(value); }
65 inline Address& WithAddressDefinition(const Aws::String& value) { SetAddressDefinition(value); return *this;}
66 inline Address& WithAddressDefinition(Aws::String&& value) { SetAddressDefinition(std::move(value)); return *this;}
67 inline Address& WithAddressDefinition(const char* value) { SetAddressDefinition(value); return *this;}
69 private:
70
71 Aws::String m_addressDefinition;
72 bool m_addressDefinitionHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace NetworkFirewall
77} // namespace Aws
void SetAddressDefinition(const Aws::String &value)
Definition Address.h:62
Address & WithAddressDefinition(const Aws::String &value)
Definition Address.h:65
Address & WithAddressDefinition(Aws::String &&value)
Definition Address.h:66
const Aws::String & GetAddressDefinition() const
Definition Address.h:60
void SetAddressDefinition(const char *value)
Definition Address.h:64
AWS_NETWORKFIREWALL_API Address & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAddressDefinition(Aws::String &&value)
Definition Address.h:63
AWS_NETWORKFIREWALL_API Address()
Address & WithAddressDefinition(const char *value)
Definition Address.h:67
AWS_NETWORKFIREWALL_API Address(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue