AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Ec2Configuration.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/Ec2ScanMode.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 Ec2Configuration();
36 AWS_INSPECTOR2_API Ec2Configuration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Ec2ScanMode& GetScanMode() const{ return m_scanMode; }
46 inline bool ScanModeHasBeenSet() const { return m_scanModeHasBeenSet; }
47 inline void SetScanMode(const Ec2ScanMode& value) { m_scanModeHasBeenSet = true; m_scanMode = value; }
48 inline void SetScanMode(Ec2ScanMode&& value) { m_scanModeHasBeenSet = true; m_scanMode = std::move(value); }
49 inline Ec2Configuration& WithScanMode(const Ec2ScanMode& value) { SetScanMode(value); return *this;}
50 inline Ec2Configuration& WithScanMode(Ec2ScanMode&& value) { SetScanMode(std::move(value)); return *this;}
52 private:
53
54 Ec2ScanMode m_scanMode;
55 bool m_scanModeHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace Inspector2
60} // namespace Aws
Ec2Configuration & WithScanMode(Ec2ScanMode &&value)
void SetScanMode(const Ec2ScanMode &value)
AWS_INSPECTOR2_API Ec2Configuration(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API Ec2Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Ec2ScanMode & GetScanMode() const
Ec2Configuration & WithScanMode(const Ec2ScanMode &value)
Aws::Utils::Json::JsonValue JsonValue