AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Inspector2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_INSPECTOR2_API Ec2ConfigurationState();
38 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Ec2ScanModeState& GetScanModeState() const{ return m_scanModeState; }
47 inline bool ScanModeStateHasBeenSet() const { return m_scanModeStateHasBeenSet; }
48 inline void SetScanModeState(const Ec2ScanModeState& value) { m_scanModeStateHasBeenSet = true; m_scanModeState = value; }
49 inline void SetScanModeState(Ec2ScanModeState&& value) { m_scanModeStateHasBeenSet = true; m_scanModeState = std::move(value); }
50 inline Ec2ConfigurationState& WithScanModeState(const Ec2ScanModeState& value) { SetScanModeState(value); return *this;}
51 inline Ec2ConfigurationState& WithScanModeState(Ec2ScanModeState&& value) { SetScanModeState(std::move(value)); return *this;}
53 private:
54
55 Ec2ScanModeState m_scanModeState;
56 bool m_scanModeStateHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Inspector2
61} // namespace Aws
const Ec2ScanModeState & GetScanModeState() const
void SetScanModeState(const Ec2ScanModeState &value)
Ec2ConfigurationState & WithScanModeState(const Ec2ScanModeState &value)
AWS_INSPECTOR2_API Ec2ConfigurationState & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
Ec2ConfigurationState & WithScanModeState(Ec2ScanModeState &&value)
AWS_INSPECTOR2_API Ec2ConfigurationState(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue