AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
NetworkConfiguration.h
1
6#pragma once
7#include <aws/mwaa/MWAA_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 MWAA
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_MWAA_API NetworkConfiguration() = default;
43
44
46
51 inline const Aws::Vector<Aws::String>& GetSubnetIds() const { return m_subnetIds; }
52 inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
53 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
54 void SetSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::forward<SubnetIdsT>(value); }
55 template<typename SubnetIdsT = Aws::Vector<Aws::String>>
56 NetworkConfiguration& WithSubnetIds(SubnetIdsT&& value) { SetSubnetIds(std::forward<SubnetIdsT>(value)); return *this;}
57 template<typename SubnetIdsT = Aws::String>
58 NetworkConfiguration& AddSubnetIds(SubnetIdsT&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value)); return *this; }
60
62
67 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const { return m_securityGroupIds; }
68 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
69 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
70 void SetSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::forward<SecurityGroupIdsT>(value); }
71 template<typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
72 NetworkConfiguration& WithSecurityGroupIds(SecurityGroupIdsT&& value) { SetSecurityGroupIds(std::forward<SecurityGroupIdsT>(value)); return *this;}
73 template<typename SecurityGroupIdsT = Aws::String>
74 NetworkConfiguration& AddSecurityGroupIds(SecurityGroupIdsT&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value)); return *this; }
76 private:
77
78 Aws::Vector<Aws::String> m_subnetIds;
79 bool m_subnetIdsHasBeenSet = false;
80
81 Aws::Vector<Aws::String> m_securityGroupIds;
82 bool m_securityGroupIdsHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace MWAA
87} // namespace Aws
NetworkConfiguration & AddSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_MWAA_API NetworkConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
AWS_MWAA_API NetworkConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkConfiguration & AddSubnetIds(SubnetIdsT &&value)
NetworkConfiguration & WithSubnetIds(SubnetIdsT &&value)
NetworkConfiguration & WithSecurityGroupIds(SecurityGroupIdsT &&value)
AWS_MWAA_API NetworkConfiguration()=default
const Aws::Vector< Aws::String > & GetSubnetIds() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue