AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GatewayNetwork.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_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 MediaConnect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIACONNECT_API GatewayNetwork();
35 AWS_MEDIACONNECT_API GatewayNetwork(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONNECT_API GatewayNetwork& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline const Aws::String& GetCidrBlock() const{ return m_cidrBlock; }
47 inline bool CidrBlockHasBeenSet() const { return m_cidrBlockHasBeenSet; }
48 inline void SetCidrBlock(const Aws::String& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = value; }
49 inline void SetCidrBlock(Aws::String&& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = std::move(value); }
50 inline void SetCidrBlock(const char* value) { m_cidrBlockHasBeenSet = true; m_cidrBlock.assign(value); }
51 inline GatewayNetwork& WithCidrBlock(const Aws::String& value) { SetCidrBlock(value); return *this;}
52 inline GatewayNetwork& WithCidrBlock(Aws::String&& value) { SetCidrBlock(std::move(value)); return *this;}
53 inline GatewayNetwork& WithCidrBlock(const char* value) { SetCidrBlock(value); return *this;}
55
57
61 inline const Aws::String& GetName() const{ return m_name; }
62 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
63 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
64 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
65 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 inline GatewayNetwork& WithName(const Aws::String& value) { SetName(value); return *this;}
67 inline GatewayNetwork& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
68 inline GatewayNetwork& WithName(const char* value) { SetName(value); return *this;}
70 private:
71
72 Aws::String m_cidrBlock;
73 bool m_cidrBlockHasBeenSet = false;
74
75 Aws::String m_name;
76 bool m_nameHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace MediaConnect
81} // namespace Aws
GatewayNetwork & WithCidrBlock(Aws::String &&value)
AWS_MEDIACONNECT_API GatewayNetwork(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCidrBlock() const
GatewayNetwork & WithCidrBlock(const char *value)
GatewayNetwork & WithName(Aws::String &&value)
GatewayNetwork & WithCidrBlock(const Aws::String &value)
void SetName(const Aws::String &value)
void SetCidrBlock(Aws::String &&value)
GatewayNetwork & WithName(const char *value)
GatewayNetwork & WithName(const Aws::String &value)
AWS_MEDIACONNECT_API GatewayNetwork & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
void SetCidrBlock(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue