AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkingRequest.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 NetworkingRequest();
40
41
43
51 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
52 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
53 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
54 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
55 inline NetworkingRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
56 inline NetworkingRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
57 inline NetworkingRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
58 inline NetworkingRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
59 inline NetworkingRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
61
63
67 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
68 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
69 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
70 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
72 inline NetworkingRequest& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
73 inline NetworkingRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
74 inline NetworkingRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
75 inline NetworkingRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
77 private:
78
79 Aws::Vector<Aws::String> m_subnetIds;
80 bool m_subnetIdsHasBeenSet = false;
81
82 Aws::Vector<Aws::String> m_securityGroupIds;
83 bool m_securityGroupIdsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace PCS
88} // namespace Aws
NetworkingRequest & AddSecurityGroupIds(Aws::String &&value)
AWS_PCS_API NetworkingRequest(Aws::Utils::Json::JsonView jsonValue)
NetworkingRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
NetworkingRequest & AddSubnetIds(const Aws::String &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
AWS_PCS_API NetworkingRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
NetworkingRequest & AddSubnetIds(Aws::String &&value)
NetworkingRequest & AddSubnetIds(const char *value)
NetworkingRequest & AddSecurityGroupIds(const Aws::String &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
NetworkingRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
NetworkingRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
NetworkingRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
AWS_PCS_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkingRequest & AddSecurityGroupIds(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue