AWS SDK for C++  1.9.153
AWS SDK for C++
VpcConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace AccessAnalyzer
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
48  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
49 
54  inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
55 
60  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
61 
66  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
67 
72  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
73 
78  inline VpcConfiguration& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
79 
84  inline VpcConfiguration& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
85 
90  inline VpcConfiguration& WithVpcId(const char* value) { SetVpcId(value); return *this;}
91 
92  private:
93 
94  Aws::String m_vpcId;
95  bool m_vpcIdHasBeenSet;
96  };
97 
98 } // namespace Model
99 } // namespace AccessAnalyzer
100 } // namespace Aws
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::VpcConfiguration::WithVpcId
VpcConfiguration & WithVpcId(const Aws::String &value)
Definition: VpcConfiguration.h:78
Aws::AccessAnalyzer::Model::VpcConfiguration::operator=
VpcConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::VpcConfiguration::SetVpcId
void SetVpcId(const char *value)
Definition: VpcConfiguration.h:72
Aws::AccessAnalyzer::Model::VpcConfiguration::SetVpcId
void SetVpcId(const Aws::String &value)
Definition: VpcConfiguration.h:60
Aws::AccessAnalyzer::Model::VpcConfiguration::WithVpcId
VpcConfiguration & WithVpcId(const char *value)
Definition: VpcConfiguration.h:90
Aws::AccessAnalyzer::Model::VpcConfiguration::VpcConfiguration
VpcConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::AccessAnalyzer::Model::VpcConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AccessAnalyzer::Model::VpcConfiguration
Definition: VpcConfiguration.h:36
Aws::AccessAnalyzer::Model::VpcConfiguration::SetVpcId
void SetVpcId(Aws::String &&value)
Definition: VpcConfiguration.h:66
Aws::AccessAnalyzer::Model::VpcConfiguration::VpcIdHasBeenSet
bool VpcIdHasBeenSet() const
Definition: VpcConfiguration.h:54
Aws::AccessAnalyzer::Model::VpcConfiguration::WithVpcId
VpcConfiguration & WithVpcId(Aws::String &&value)
Definition: VpcConfiguration.h:84
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AccessAnalyzer::Model::VpcConfiguration::GetVpcId
const Aws::String & GetVpcId() const
Definition: VpcConfiguration.h:48
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AccessAnalyzer::Model::VpcConfiguration::VpcConfiguration
VpcConfiguration()