AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputVpcRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_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 MediaLive
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_MEDIALIVE_API InputVpcRequest();
43 AWS_MEDIALIVE_API InputVpcRequest(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
55 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
56 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
57 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
58 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
60 inline InputVpcRequest& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
61 inline InputVpcRequest& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
62 inline InputVpcRequest& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
63 inline InputVpcRequest& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
65
67
72 inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
73 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
74 inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
75 inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
76 inline InputVpcRequest& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
77 inline InputVpcRequest& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
78 inline InputVpcRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
79 inline InputVpcRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
80 inline InputVpcRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
82 private:
83
84 Aws::Vector<Aws::String> m_securityGroupIds;
85 bool m_securityGroupIdsHasBeenSet = false;
86
87 Aws::Vector<Aws::String> m_subnetIds;
88 bool m_subnetIdsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace MediaLive
93} // namespace Aws
AWS_MEDIALIVE_API InputVpcRequest(Aws::Utils::Json::JsonView jsonValue)
InputVpcRequest & AddSubnetIds(Aws::String &&value)
InputVpcRequest & AddSubnetIds(const char *value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
InputVpcRequest & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputVpcRequest & AddSecurityGroupIds(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
InputVpcRequest & AddSubnetIds(const Aws::String &value)
InputVpcRequest & WithSubnetIds(Aws::Vector< Aws::String > &&value)
AWS_MEDIALIVE_API InputVpcRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
InputVpcRequest & AddSecurityGroupIds(const Aws::String &value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
InputVpcRequest & AddSecurityGroupIds(const char *value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
InputVpcRequest & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
InputVpcRequest & WithSecurityGroupIds(Aws::Vector< Aws::String > &&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