AWS SDK for C++

AWS SDK for C++ Version 1.11.744

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
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
29 public:
30 AWS_INSPECTOR2_API Ec2Configuration() = default;
31 AWS_INSPECTOR2_API Ec2Configuration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline Ec2ScanMode GetScanMode() const { return m_scanMode; }
40 inline bool ScanModeHasBeenSet() const { return m_scanModeHasBeenSet; }
41 inline void SetScanMode(Ec2ScanMode value) {
42 m_scanModeHasBeenSet = true;
43 m_scanMode = value;
44 }
46 SetScanMode(value);
47 return *this;
48 }
50 private:
52 bool m_scanModeHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace Inspector2
57} // namespace Aws
AWS_INSPECTOR2_API Ec2Configuration()=default
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)
Ec2Configuration & WithScanMode(Ec2ScanMode value)
Aws::Utils::Json::JsonValue JsonValue