AWS SDK for C++

AWS SDK for C++ Version 1.11.849

Loading...
Searching...
No Matches
UpdateConfigurationInheritance.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/InheritanceMode.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Inspector2 {
20namespace Model {
21
32 public:
33 AWS_INSPECTOR2_API UpdateConfigurationInheritance() = default;
36 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline InheritanceMode GetEc2Configuration() const { return m_ec2Configuration; }
46 inline bool Ec2ConfigurationHasBeenSet() const { return m_ec2ConfigurationHasBeenSet; }
48 m_ec2ConfigurationHasBeenSet = true;
49 m_ec2Configuration = value;
50 }
53 return *this;
54 }
56
58
64 inline InheritanceMode GetEcrConfiguration() const { return m_ecrConfiguration; }
65 inline bool EcrConfigurationHasBeenSet() const { return m_ecrConfigurationHasBeenSet; }
67 m_ecrConfigurationHasBeenSet = true;
68 m_ecrConfiguration = value;
69 }
72 return *this;
73 }
75 private:
76 InheritanceMode m_ec2Configuration{InheritanceMode::NOT_SET};
77
78 InheritanceMode m_ecrConfiguration{InheritanceMode::NOT_SET};
79 bool m_ec2ConfigurationHasBeenSet = false;
80 bool m_ecrConfigurationHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Inspector2
85} // namespace Aws
UpdateConfigurationInheritance & WithEc2Configuration(InheritanceMode value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API UpdateConfigurationInheritance(Aws::Utils::Json::JsonView jsonValue)
UpdateConfigurationInheritance & WithEcrConfiguration(InheritanceMode value)
AWS_INSPECTOR2_API UpdateConfigurationInheritance & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API UpdateConfigurationInheritance()=default
Aws::Utils::Json::JsonValue JsonValue