AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkOriginConfiguration.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/VpcConfiguration.h>
9#include <aws/accessanalyzer/model/InternetConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace AccessAnalyzer
23{
24namespace Model
25{
26
41 {
42 public:
43 AWS_ACCESSANALYZER_API NetworkOriginConfiguration();
44 AWS_ACCESSANALYZER_API NetworkOriginConfiguration(Aws::Utils::Json::JsonView jsonValue);
46 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
51 inline const VpcConfiguration& GetVpcConfiguration() const{ return m_vpcConfiguration; }
52 inline bool VpcConfigurationHasBeenSet() const { return m_vpcConfigurationHasBeenSet; }
53 inline void SetVpcConfiguration(const VpcConfiguration& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = value; }
54 inline void SetVpcConfiguration(VpcConfiguration&& value) { m_vpcConfigurationHasBeenSet = true; m_vpcConfiguration = std::move(value); }
56 inline NetworkOriginConfiguration& WithVpcConfiguration(VpcConfiguration&& value) { SetVpcConfiguration(std::move(value)); return *this;}
58
60
64 inline const InternetConfiguration& GetInternetConfiguration() const{ return m_internetConfiguration; }
65 inline bool InternetConfigurationHasBeenSet() const { return m_internetConfigurationHasBeenSet; }
66 inline void SetInternetConfiguration(const InternetConfiguration& value) { m_internetConfigurationHasBeenSet = true; m_internetConfiguration = value; }
67 inline void SetInternetConfiguration(InternetConfiguration&& value) { m_internetConfigurationHasBeenSet = true; m_internetConfiguration = std::move(value); }
71 private:
72
73 VpcConfiguration m_vpcConfiguration;
74 bool m_vpcConfigurationHasBeenSet = false;
75
76 InternetConfiguration m_internetConfiguration;
77 bool m_internetConfigurationHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace AccessAnalyzer
82} // namespace Aws
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkOriginConfiguration & WithInternetConfiguration(const InternetConfiguration &value)
void SetInternetConfiguration(const InternetConfiguration &value)
NetworkOriginConfiguration & WithVpcConfiguration(VpcConfiguration &&value)
AWS_ACCESSANALYZER_API NetworkOriginConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ACCESSANALYZER_API NetworkOriginConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkOriginConfiguration & WithVpcConfiguration(const VpcConfiguration &value)
NetworkOriginConfiguration & WithInternetConfiguration(InternetConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue