AWS SDK for C++  1.9.153
AWS SDK for C++
NetworkOriginConfiguration.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 AccessAnalyzer
23 {
24 namespace Model
25 {
26 
41  {
42  public:
47 
48 
53  inline const InternetConfiguration& GetInternetConfiguration() const{ return m_internetConfiguration; }
54 
59  inline bool InternetConfigurationHasBeenSet() const { return m_internetConfigurationHasBeenSet; }
60 
65  inline void SetInternetConfiguration(const InternetConfiguration& value) { m_internetConfigurationHasBeenSet = true; m_internetConfiguration = value; }
66 
71  inline void SetInternetConfiguration(InternetConfiguration&& value) { m_internetConfigurationHasBeenSet = true; m_internetConfiguration = std::move(value); }
72 
77  inline NetworkOriginConfiguration& WithInternetConfiguration(const InternetConfiguration& value) { SetInternetConfiguration(value); return *this;}
78 
83  inline NetworkOriginConfiguration& WithInternetConfiguration(InternetConfiguration&& value) { SetInternetConfiguration(std::move(value)); return *this;}
84 
85 
86 
87  inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
88 
89 
90  inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
91 
92 
93  inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
94 
95 
96  inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
97 
98 
99  inline NetworkOriginConfiguration& WithVpcConfiguration(const VpcConfiguration& value) { SetVpcConfiguration(value); return *this;}
100 
101 
102  inline NetworkOriginConfiguration& WithVpcConfiguration(VpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}
103 
104  private:
105 
106  InternetConfiguration m_internetConfiguration;
107  bool m_internetConfigurationHasBeenSet;
108 
109  VpcConfiguration m_vpcConfiguration;
110  bool m_vpcConfigurationHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace AccessAnalyzer
115 } // namespace Aws
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::WithVpcConfiguration
NetworkOriginConfiguration & WithVpcConfiguration(VpcConfiguration &&value)
Definition: NetworkOriginConfiguration.h:102
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::SetVpcConfiguration
void SetVpcConfiguration(VpcConfiguration &&value)
Definition: NetworkOriginConfiguration.h:96
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::operator=
NetworkOriginConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::NetworkOriginConfiguration
NetworkOriginConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::VpcConfigurationHasBeenSet
bool VpcConfigurationHasBeenSet() const
Definition: NetworkOriginConfiguration.h:90
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::SetInternetConfiguration
void SetInternetConfiguration(const InternetConfiguration &value)
Definition: NetworkOriginConfiguration.h:65
Aws::AccessAnalyzer::Model::InternetConfiguration
Definition: InternetConfiguration.h:32
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::GetInternetConfiguration
const InternetConfiguration & GetInternetConfiguration() const
Definition: NetworkOriginConfiguration.h:53
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::WithInternetConfiguration
NetworkOriginConfiguration & WithInternetConfiguration(InternetConfiguration &&value)
Definition: NetworkOriginConfiguration.h:83
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::SetVpcConfiguration
void SetVpcConfiguration(const VpcConfiguration &value)
Definition: NetworkOriginConfiguration.h:93
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::SetInternetConfiguration
void SetInternetConfiguration(InternetConfiguration &&value)
Definition: NetworkOriginConfiguration.h:71
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::InternetConfigurationHasBeenSet
bool InternetConfigurationHasBeenSet() const
Definition: NetworkOriginConfiguration.h:59
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::GetVpcConfiguration
const VpcConfiguration & GetVpcConfiguration() const
Definition: NetworkOriginConfiguration.h:87
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration
Definition: NetworkOriginConfiguration.h:41
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::NetworkOriginConfiguration
NetworkOriginConfiguration()
VpcConfiguration.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
InternetConfiguration.h
Aws::AccessAnalyzer::Model::VpcConfiguration
Definition: VpcConfiguration.h:36
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::WithVpcConfiguration
NetworkOriginConfiguration & WithVpcConfiguration(const VpcConfiguration &value)
Definition: NetworkOriginConfiguration.h:99
Aws::AccessAnalyzer::Model::NetworkOriginConfiguration::WithInternetConfiguration
NetworkOriginConfiguration & WithInternetConfiguration(const InternetConfiguration &value)
Definition: NetworkOriginConfiguration.h:77