AWS SDK for C++  1.9.154
AWS SDK for C++
VpcConfigurationDescription.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 VpcConfigurationDescription& WithSubnetIds(const Aws::Vector<Aws::String>& value) { SetSubnetIds(value); return *this;}
131 
148  inline VpcConfigurationDescription& WithSubnetIds(Aws::Vector<Aws::String>&& value) { SetSubnetIds(std::move(value)); return *this;}
149 
166  inline VpcConfigurationDescription& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
167 
184  inline VpcConfigurationDescription& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; }
185 
202  inline VpcConfigurationDescription& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; }
203 
204 
222  inline const Aws::String& GetRoleARN() const{ return m_roleARN; }
223 
241  inline bool RoleARNHasBeenSet() const { return m_roleARNHasBeenSet; }
242 
260  inline void SetRoleARN(const Aws::String& value) { m_roleARNHasBeenSet = true; m_roleARN = value; }
261 
279  inline void SetRoleARN(Aws::String&& value) { m_roleARNHasBeenSet = true; m_roleARN = std::move(value); }
280 
298  inline void SetRoleARN(const char* value) { m_roleARNHasBeenSet = true; m_roleARN.assign(value); }
299 
317  inline VpcConfigurationDescription& WithRoleARN(const Aws::String& value) { SetRoleARN(value); return *this;}
318 
336  inline VpcConfigurationDescription& WithRoleARN(Aws::String&& value) { SetRoleARN(std::move(value)); return *this;}
337 
355  inline VpcConfigurationDescription& WithRoleARN(const char* value) { SetRoleARN(value); return *this;}
356 
357 
371  inline const Aws::Vector<Aws::String>& GetSecurityGroupIds() const{ return m_securityGroupIds; }
372 
386  inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; }
387 
401  inline void SetSecurityGroupIds(const Aws::Vector<Aws::String>& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; }
402 
416  inline void SetSecurityGroupIds(Aws::Vector<Aws::String>&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); }
417 
431  inline VpcConfigurationDescription& WithSecurityGroupIds(const Aws::Vector<Aws::String>& value) { SetSecurityGroupIds(value); return *this;}
432 
446  inline VpcConfigurationDescription& WithSecurityGroupIds(Aws::Vector<Aws::String>&& value) { SetSecurityGroupIds(std::move(value)); return *this;}
447 
461  inline VpcConfigurationDescription& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
462 
476  inline VpcConfigurationDescription& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; }
477 
491  inline VpcConfigurationDescription& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; }
492 
493 
497  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
498 
502  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
503 
507  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
508 
512  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
513 
517  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
518 
522  inline VpcConfigurationDescription& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
523 
527  inline VpcConfigurationDescription& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
528 
532  inline VpcConfigurationDescription& WithVpcId(const char* value) { SetVpcId(value); return *this;}
533 
534  private:
535 
536  Aws::Vector<Aws::String> m_subnetIds;
537  bool m_subnetIdsHasBeenSet;
538 
539  Aws::String m_roleARN;
540  bool m_roleARNHasBeenSet;
541 
542  Aws::Vector<Aws::String> m_securityGroupIds;
543  bool m_securityGroupIdsHasBeenSet;
544 
545  Aws::String m_vpcId;
546  bool m_vpcIdHasBeenSet;
547  };
548 
549 } // namespace Model
550 } // namespace Firehose
551 } // namespace Aws
Aws::Firehose::Model::VpcConfigurationDescription::RoleARNHasBeenSet
bool RoleARNHasBeenSet() const
Definition: VpcConfigurationDescription.h:241
Aws::Firehose::Model::VpcConfigurationDescription::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Firehose::Model::VpcConfigurationDescription::WithRoleARN
VpcConfigurationDescription & WithRoleARN(Aws::String &&value)
Definition: VpcConfigurationDescription.h:336
Aws::Firehose::Model::VpcConfigurationDescription::SecurityGroupIdsHasBeenSet
bool SecurityGroupIdsHasBeenSet() const
Definition: VpcConfigurationDescription.h:386
Aws::Firehose::Model::VpcConfigurationDescription::SetSecurityGroupIds
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigurationDescription.h:416
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Firehose::Model::VpcConfigurationDescription::operator=
VpcConfigurationDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::VpcConfigurationDescription::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: VpcConfigurationDescription.h:502
Aws::Firehose::Model::VpcConfigurationDescription::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: VpcConfigurationDescription.h:512
AWSVector.h
Aws::Firehose::Model::VpcConfigurationDescription::WithRoleARN
VpcConfigurationDescription & WithRoleARN(const Aws::String &value)
Definition: VpcConfigurationDescription.h:317
Aws::Firehose::Model::VpcConfigurationDescription::WithVpcId
VpcConfigurationDescription & WithVpcId(const char *value)
Definition: VpcConfigurationDescription.h:532
Aws::Firehose::Model::VpcConfigurationDescription::GetSubnetIds
const Aws::Vector< Aws::String > & GetSubnetIds() const
Definition: VpcConfigurationDescription.h:58
Aws::Firehose::Model::VpcConfigurationDescription
Definition: VpcConfigurationDescription.h:34
Aws::Firehose::Model::VpcConfigurationDescription::WithSubnetIds
VpcConfigurationDescription & WithSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigurationDescription.h:130
Aws::Firehose::Model::VpcConfigurationDescription::AddSecurityGroupIds
VpcConfigurationDescription & AddSecurityGroupIds(Aws::String &&value)
Definition: VpcConfigurationDescription.h:476
Aws::Firehose::Model::VpcConfigurationDescription::WithVpcId
VpcConfigurationDescription & WithVpcId(Aws::String &&value)
Definition: VpcConfigurationDescription.h:527
Aws::Firehose::Model::VpcConfigurationDescription::GetSecurityGroupIds
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
Definition: VpcConfigurationDescription.h:371
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::VpcConfigurationDescription::SetSubnetIds
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigurationDescription.h:94
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Firehose::Model::VpcConfigurationDescription::SetRoleARN
void SetRoleARN(const char *value)
Definition: VpcConfigurationDescription.h:298
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::VpcConfigurationDescription::WithSubnetIds
VpcConfigurationDescription & WithSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigurationDescription.h:148
Firehose_EXPORTS.h
Aws::Firehose::Model::VpcConfigurationDescription::SetSecurityGroupIds
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigurationDescription.h:401
Aws::Firehose::Model::VpcConfigurationDescription::SetSubnetIds
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigurationDescription.h:112
Aws::Firehose::Model::VpcConfigurationDescription::WithSecurityGroupIds
VpcConfigurationDescription & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
Definition: VpcConfigurationDescription.h:431
Aws::Firehose::Model::VpcConfigurationDescription::AddSecurityGroupIds
VpcConfigurationDescription & AddSecurityGroupIds(const Aws::String &value)
Definition: VpcConfigurationDescription.h:461
Aws::Firehose::Model::VpcConfigurationDescription::AddSubnetIds
VpcConfigurationDescription & AddSubnetIds(Aws::String &&value)
Definition: VpcConfigurationDescription.h:184
Aws::Firehose::Model::VpcConfigurationDescription::WithVpcId
VpcConfigurationDescription & WithVpcId(const Aws::String &value)
Definition: VpcConfigurationDescription.h:522
Aws::Firehose::Model::VpcConfigurationDescription::AddSubnetIds
VpcConfigurationDescription & AddSubnetIds(const char *value)
Definition: VpcConfigurationDescription.h:202
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Firehose::Model::VpcConfigurationDescription::AddSubnetIds
VpcConfigurationDescription & AddSubnetIds(const Aws::String &value)
Definition: VpcConfigurationDescription.h:166
Aws::Firehose::Model::VpcConfigurationDescription::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: VpcConfigurationDescription.h:507
Aws::Firehose::Model::VpcConfigurationDescription::VpcConfigurationDescription
VpcConfigurationDescription(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::VpcConfigurationDescription::SetRoleARN
void SetRoleARN(Aws::String &&value)
Definition: VpcConfigurationDescription.h:279
Aws::Firehose::Model::VpcConfigurationDescription::WithSecurityGroupIds
VpcConfigurationDescription & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
Definition: VpcConfigurationDescription.h:446
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::VpcConfigurationDescription::GetRoleARN
const Aws::String & GetRoleARN() const
Definition: VpcConfigurationDescription.h:222
Aws::Firehose::Model::VpcConfigurationDescription::AddSecurityGroupIds
VpcConfigurationDescription & AddSecurityGroupIds(const char *value)
Definition: VpcConfigurationDescription.h:491
Aws::Firehose::Model::VpcConfigurationDescription::GetVpcId
const Aws::String & GetVpcId() const
Definition: VpcConfigurationDescription.h:497
Aws::Firehose::Model::VpcConfigurationDescription::VpcConfigurationDescription
VpcConfigurationDescription()
Aws::Firehose::Model::VpcConfigurationDescription::WithRoleARN
VpcConfigurationDescription & WithRoleARN(const char *value)
Definition: VpcConfigurationDescription.h:355
Aws::Firehose::Model::VpcConfigurationDescription::SetVpcId
void SetVpcId(const char *value)
Definition: VpcConfigurationDescription.h:517
Aws::Firehose::Model::VpcConfigurationDescription::SetRoleARN
void SetRoleARN(const Aws::String &value)
Definition: VpcConfigurationDescription.h:260
Aws::Firehose::Model::VpcConfigurationDescription::SubnetIdsHasBeenSet
bool SubnetIdsHasBeenSet() const
Definition: VpcConfigurationDescription.h:76