AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Networking.h
1
6#pragma once
7#include <aws/pcs/PCS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace PCS
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PCS_API Networking();
37 AWS_PCS_API Networking(Aws::Utils::Json::JsonView jsonValue);
40
41
43
50 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
51 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
52 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
53 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
54 inline Networking& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
55 inline Networking& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
56 inline Networking& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
57 inline Networking& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
58 inline Networking& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
60
62
72 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
73 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
74 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
75 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
76 inline Networking& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
77 inline Networking& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
78 inline Networking& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
79 inline Networking& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
80 inline Networking& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
82 private:
83
84 Aws::Vector<Aws::String> m_subnetIds;
85 bool m_subnetIdsHasBeenSet = false;
86
87 Aws::Vector<Aws::String> m_securityGroupIds;
88 bool m_securityGroupIdsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace PCS
93} // namespace Aws
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition Networking.h:53
Networking & AddSubnetIds(const Aws::String &value)
Definition Networking.h:56
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition Networking.h:75
Networking & AddSecurityGroupIds(const Aws::String &value)
Definition Networking.h:78
bool SecurityGroupIdsHasBeenSet() const
Definition Networking.h:73
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
Networking & AddSecurityGroupIds(const char *value)
Definition Networking.h:80
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition Networking.h:52
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition Networking.h:50
Networking & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition Networking.h:54
bool SubnetIdsHasBeenSet() const
Definition Networking.h:51
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition Networking.h:74
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition Networking.h:72
AWS_PCS_API Networking(Aws::Utils::Json::JsonView jsonValue)
Networking & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition Networking.h:77
AWS_PCS_API Networking & operator=(Aws::Utils::Json::JsonView jsonValue)
Networking & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition Networking.h:55
Networking & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition Networking.h:76
Networking & AddSubnetIds(const char *value)
Definition Networking.h:58
Networking & AddSubnetIds(Aws::String &&value)
Definition Networking.h:57
Networking & AddSecurityGroupIds(Aws::String &&value)
Definition Networking.h:79
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue