AWS SDK for C++  1.9.106
AWS SDK for C++
NetworkConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MWAA
23 {
24 namespace Model
25 {
26 
36  {
37  public:
42 
43 
51  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
52 
60  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
61 
69  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
70 
78  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
79 
87  inline NetworkConfiguration& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
88 
96  inline NetworkConfiguration& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
97 
105  inline NetworkConfiguration& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
106 
114  inline NetworkConfiguration& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
115 
123  inline NetworkConfiguration& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
124 
125 
131  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
132 
138  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
139 
145  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
146 
152  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
153 
159  inline NetworkConfiguration& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
160 
166  inline NetworkConfiguration& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
167 
173  inline NetworkConfiguration& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
174 
180  inline NetworkConfiguration& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
181 
187  inline NetworkConfiguration& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
188 
189  private:
190 
191  Aws::Vector<Aws::String> m_securityGroupIds;
192  bool m_securityGroupIdsHasBeenSet;
193 
194  Aws::Vector<Aws::String> m_subnetIds;
195  bool m_subnetIdsHasBeenSet;
196  };
197 
198 } // namespace Model
199 } // namespace MWAA
200 } // namespace Aws
Aws::MWAA::Model::NetworkConfiguration::AddSecurityGroupIds
NetworkConfiguration & AddSecurityGroupIds(Aws::String &&value)
Definition: NetworkConfiguration.h:114
Aws::MWAA::Model::NetworkConfiguration::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: NetworkConfiguration.h:152
Aws::MWAA::Model::NetworkConfiguration::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: NetworkConfiguration.h:138
Aws::MWAA::Model::NetworkConfiguration::WithSubnetIds
NetworkConfiguration & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: NetworkConfiguration.h:166
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::MWAA::Model::NetworkConfiguration::AddSubnetIds
NetworkConfiguration & AddSubnetIds(Aws::String &&value)
Definition: NetworkConfiguration.h:180
Aws::MWAA::Model::NetworkConfiguration::operator=
NetworkConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MWAA::Model::NetworkConfiguration::NetworkConfiguration
NetworkConfiguration()
Aws::MWAA::Model::NetworkConfiguration::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: NetworkConfiguration.h:69
Aws::MWAA::Model::NetworkConfiguration::AddSubnetIds
NetworkConfiguration & AddSubnetIds(const Aws::String &value)
Definition: NetworkConfiguration.h:173
Aws::MWAA::Model::NetworkConfiguration::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: NetworkConfiguration.h:145
Aws::MWAA::Model::NetworkConfiguration::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: NetworkConfiguration.h:51
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MWAA::Model::NetworkConfiguration::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: NetworkConfiguration.h:131
Aws::MWAA::Model::NetworkConfiguration::NetworkConfiguration
NetworkConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::MWAA::Model::NetworkConfiguration
Definition: NetworkConfiguration.h:36
Aws::MWAA::Model::NetworkConfiguration::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: NetworkConfiguration.h:78
Aws::MWAA::Model::NetworkConfiguration::AddSecurityGroupIds
NetworkConfiguration & AddSecurityGroupIds(const char *value)
Definition: NetworkConfiguration.h:123
AWS_MWAA_API
#define AWS_MWAA_API
Definition: MWAA_EXPORTS.h:28
Aws::MWAA::Model::NetworkConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MWAA::Model::NetworkConfiguration::AddSecurityGroupIds
NetworkConfiguration & AddSecurityGroupIds(const Aws::String &value)
Definition: NetworkConfiguration.h:105
Aws::MWAA::Model::NetworkConfiguration::WithSecurityGroupIds
NetworkConfiguration & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: NetworkConfiguration.h:96
Aws::MWAA::Model::NetworkConfiguration::WithSubnetIds
NetworkConfiguration & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: NetworkConfiguration.h:159
Aws::MWAA::Model::NetworkConfiguration::AddSubnetIds
NetworkConfiguration & AddSubnetIds(const char *value)
Definition: NetworkConfiguration.h:187
Aws::MWAA::Model::NetworkConfiguration::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: NetworkConfiguration.h:60
Aws::MWAA::Model::NetworkConfiguration::WithSecurityGroupIds
NetworkConfiguration & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: NetworkConfiguration.h:87
MWAA_EXPORTS.h