AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
Ec2ConfigurationState.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/Ec2ScanModeState.h>
9#include <aws/inspector2/model/VMScannerState.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Inspector2 {
21namespace Model {
22
30 public:
31 AWS_INSPECTOR2_API Ec2ConfigurationState() = default;
34 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Ec2ScanModeState& GetScanModeState() const { return m_scanModeState; }
42 inline bool ScanModeStateHasBeenSet() const { return m_scanModeStateHasBeenSet; }
43 template <typename ScanModeStateT = Ec2ScanModeState>
44 void SetScanModeState(ScanModeStateT&& value) {
45 m_scanModeStateHasBeenSet = true;
46 m_scanModeState = std::forward<ScanModeStateT>(value);
47 }
48 template <typename ScanModeStateT = Ec2ScanModeState>
49 Ec2ConfigurationState& WithScanModeState(ScanModeStateT&& value) {
50 SetScanModeState(std::forward<ScanModeStateT>(value));
51 return *this;
52 }
54
56
60 inline const VMScannerState& GetVmScannerState() const { return m_vmScannerState; }
61 inline bool VmScannerStateHasBeenSet() const { return m_vmScannerStateHasBeenSet; }
62 template <typename VmScannerStateT = VMScannerState>
63 void SetVmScannerState(VmScannerStateT&& value) {
64 m_vmScannerStateHasBeenSet = true;
65 m_vmScannerState = std::forward<VmScannerStateT>(value);
66 }
67 template <typename VmScannerStateT = VMScannerState>
68 Ec2ConfigurationState& WithVmScannerState(VmScannerStateT&& value) {
69 SetVmScannerState(std::forward<VmScannerStateT>(value));
70 return *this;
71 }
73 private:
74 Ec2ScanModeState m_scanModeState;
75
76 VMScannerState m_vmScannerState;
77 bool m_scanModeStateHasBeenSet = false;
78 bool m_vmScannerStateHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace Inspector2
83} // namespace Aws
const Ec2ScanModeState & GetScanModeState() const
Ec2ConfigurationState & WithScanModeState(ScanModeStateT &&value)
AWS_INSPECTOR2_API Ec2ConfigurationState()=default
Ec2ConfigurationState & WithVmScannerState(VmScannerStateT &&value)
AWS_INSPECTOR2_API Ec2ConfigurationState & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API Ec2ConfigurationState(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue