AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
43
44
46
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 NetworkConfiguration& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
56 inline NetworkConfiguration& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
57 inline NetworkConfiguration& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
58 inline NetworkConfiguration& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
59 inline NetworkConfiguration& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
61
63
68 inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
69 inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
70 inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
71 inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
74 inline NetworkConfiguration& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
75 inline NetworkConfiguration& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
76 inline NetworkConfiguration& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
78 private:
79
80 Aws::Vector<Aws::String> m_subnetIds;
81 bool m_subnetIdsHasBeenSet = false;
82
83 Aws::Vector<Aws::String> m_securityGroupIds;
84 bool m_securityGroupIdsHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace MWAA
89} // namespace Aws
NetworkConfiguration & AddSubnetIds(Aws::String &&value)
NetworkConfiguration & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
NetworkConfiguration & AddSecurityGroupIds(const char *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)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
NetworkConfiguration & AddSecurityGroupIds(Aws::String &&value)
AWS_MWAA_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkConfiguration & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
NetworkConfiguration & AddSecurityGroupIds(const Aws::String &value)
NetworkConfiguration & AddSubnetIds(const char *value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
NetworkConfiguration & WithSubnetIds(Aws::Vector< Aws::String > &&value)
NetworkConfiguration & WithSubnetIds(const Aws::Vector< Aws::String > &value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
NetworkConfiguration & AddSubnetIds(const 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