AWS SDK for C++  1.9.158
AWS SDK for C++
VpcConfiguration.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 Firehose
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
58  inline const Aws::Vector<Aws::String>& GetSubnetIds() const{ return m_subnetIds; }
59 
76  inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; }
77 
94  inline void SetSubnetIds(const Aws::Vector<Aws::String>& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; }
95 
112  inline void SetSubnetIds(Aws::Vector<Aws::String>&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); }
113 
130  inline VpcConfiguration& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
131 
148  inline VpcConfiguration& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
149 
166  inline VpcConfiguration& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
167 
184  inline VpcConfiguration& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
185 
202  inline VpcConfiguration& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
203 
204 
223  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
224 
243  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
244 
263  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
264 
283  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
284 
303  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
304 
323  inline VpcConfiguration& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
324 
343  inline VpcConfiguration& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
344 
363  inline VpcConfiguration& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
364 
365 
379  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
380 
394  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
395 
409  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
410 
424  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
425 
439  inline VpcConfiguration& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
440 
454  inline VpcConfiguration& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
455 
469  inline VpcConfiguration& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
470 
484  inline VpcConfiguration& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
485 
499  inline VpcConfiguration& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
500 
501  private:
502 
503  Aws::Vector<Aws::String> m_subnetIds;
504  bool m_subnetIdsHasBeenSet;
505 
506  Aws::String m_roleARN;
507  bool m_roleARNHasBeenSet;
508 
509  Aws::Vector<Aws::String> m_securityGroupIds;
510  bool m_securityGroupIdsHasBeenSet;
511  };
512 
513 } // namespace Model
514 } // namespace Firehose
515 } // namespace Aws
Aws::Firehose::Model::VpcConfiguration::AddSubnetIds
VpcConfiguration & AddSubnetIds(Aws::String &&value)
Definition: VpcConfiguration.h:184
Aws::Firehose::Model::VpcConfiguration::WithSubnetIds
VpcConfiguration & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfiguration.h:148
Aws::Firehose::Model::VpcConfiguration::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfiguration.h:112
Aws::Firehose::Model::VpcConfiguration::WithSecurityGroupIds
VpcConfiguration & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfiguration.h:439
Aws::Firehose::Model::VpcConfiguration::WithRoleARN
VpcConfiguration & WithRoleARN(const Aws::String &value)
Definition: VpcConfiguration.h:323
Aws::Firehose::Model::VpcConfiguration::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfiguration.h:409
Aws::Firehose::Model::VpcConfiguration::SetRoleARN
void SetRoleARN(const char *value)
Definition: VpcConfiguration.h:303
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Firehose::Model::VpcConfiguration::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfiguration.h:94
Aws::Firehose::Model::VpcConfiguration::operator=
VpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWSVector.h
Aws::Firehose::Model::VpcConfiguration::AddSubnetIds
VpcConfiguration & AddSubnetIds(const char *value)
Definition: VpcConfiguration.h:202
Aws::Firehose::Model::VpcConfiguration::GetRoleARN
const Aws::String & GetRoleARN() const
Definition: VpcConfiguration.h:223
Aws::Firehose::Model::VpcConfiguration::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: VpcConfiguration.h:394
Aws::Firehose::Model::VpcConfiguration::AddSecurityGroupIds
VpcConfiguration & AddSecurityGroupIds(const char *value)
Definition: VpcConfiguration.h:499
Aws::Firehose::Model::VpcConfiguration::WithRoleARN
VpcConfiguration & WithRoleARN(const char *value)
Definition: VpcConfiguration.h:363
Aws::Firehose::Model::VpcConfiguration::VpcConfiguration
VpcConfiguration()
Aws::Firehose::Model::VpcConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::VpcConfiguration::AddSubnetIds
VpcConfiguration & AddSubnetIds(const Aws::String &value)
Definition: VpcConfiguration.h:166
Aws::Firehose::Model::VpcConfiguration::SetRoleARN
void SetRoleARN(Aws::String &&value)
Definition: VpcConfiguration.h:283
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::VpcConfiguration
Definition: VpcConfiguration.h:34
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::VpcConfiguration::VpcConfiguration
VpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::VpcConfiguration::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: VpcConfiguration.h:379
Aws::Firehose::Model::VpcConfiguration::RoleARNHasBeenSet
bool RoleARNHasBeenSet() const
Definition: VpcConfiguration.h:243
Firehose_EXPORTS.h
Aws::Firehose::Model::VpcConfiguration::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: VpcConfiguration.h:58
Aws::Firehose::Model::VpcConfiguration::AddSecurityGroupIds
VpcConfiguration & AddSecurityGroupIds(const Aws::String &value)
Definition: VpcConfiguration.h:469
Aws::Firehose::Model::VpcConfiguration::WithSubnetIds
VpcConfiguration & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfiguration.h:130
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::VpcConfiguration::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfiguration.h:424
Aws::Firehose::Model::VpcConfiguration::AddSecurityGroupIds
VpcConfiguration & AddSecurityGroupIds(Aws::String &&value)
Definition: VpcConfiguration.h:484
Aws::Firehose::Model::VpcConfiguration::WithSecurityGroupIds
VpcConfiguration & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfiguration.h:454
Aws::Firehose::Model::VpcConfiguration::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: VpcConfiguration.h:76
Aws::Firehose::Model::VpcConfiguration::WithRoleARN
VpcConfiguration & WithRoleARN(Aws::String &&value)
Definition: VpcConfiguration.h:343
Aws::Firehose::Model::VpcConfiguration::SetRoleARN
void SetRoleARN(const Aws::String &value)
Definition: VpcConfiguration.h:263