AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Ec2ScanModeState.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/Ec2ScanMode.h>
9#include <aws/inspector2/model/Ec2ScanModeStatus.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 Inspector2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR2_API Ec2ScanModeState();
37 AWS_INSPECTOR2_API Ec2ScanModeState(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Ec2ScanMode& GetScanMode() const{ return m_scanMode; }
47 inline bool ScanModeHasBeenSet() const { return m_scanModeHasBeenSet; }
48 inline void SetScanMode(const Ec2ScanMode& value) { m_scanModeHasBeenSet = true; m_scanMode = value; }
49 inline void SetScanMode(Ec2ScanMode&& value) { m_scanModeHasBeenSet = true; m_scanMode = std::move(value); }
50 inline Ec2ScanModeState& WithScanMode(const Ec2ScanMode& value) { SetScanMode(value); return *this;}
51 inline Ec2ScanModeState& WithScanMode(Ec2ScanMode&& value) { SetScanMode(std::move(value)); return *this;}
53
55
58 inline const Ec2ScanModeStatus& GetScanModeStatus() const{ return m_scanModeStatus; }
59 inline bool ScanModeStatusHasBeenSet() const { return m_scanModeStatusHasBeenSet; }
60 inline void SetScanModeStatus(const Ec2ScanModeStatus& value) { m_scanModeStatusHasBeenSet = true; m_scanModeStatus = value; }
61 inline void SetScanModeStatus(Ec2ScanModeStatus&& value) { m_scanModeStatusHasBeenSet = true; m_scanModeStatus = std::move(value); }
62 inline Ec2ScanModeState& WithScanModeStatus(const Ec2ScanModeStatus& value) { SetScanModeStatus(value); return *this;}
63 inline Ec2ScanModeState& WithScanModeStatus(Ec2ScanModeStatus&& value) { SetScanModeStatus(std::move(value)); return *this;}
65 private:
66
67 Ec2ScanMode m_scanMode;
68 bool m_scanModeHasBeenSet = false;
69
70 Ec2ScanModeStatus m_scanModeStatus;
71 bool m_scanModeStatusHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Inspector2
76} // namespace Aws
Ec2ScanModeState & WithScanModeStatus(const Ec2ScanModeStatus &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API Ec2ScanModeState & operator=(Aws::Utils::Json::JsonView jsonValue)
Ec2ScanModeState & WithScanModeStatus(Ec2ScanModeStatus &&value)
Ec2ScanModeState & WithScanMode(const Ec2ScanMode &value)
void SetScanMode(const Ec2ScanMode &value)
const Ec2ScanModeStatus & GetScanModeStatus() const
void SetScanModeStatus(Ec2ScanModeStatus &&value)
const Ec2ScanMode & GetScanMode() const
Ec2ScanModeState & WithScanMode(Ec2ScanMode &&value)
void SetScanModeStatus(const Ec2ScanModeStatus &value)
AWS_INSPECTOR2_API Ec2ScanModeState(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue