AWS SDK for C++

AWS SDK for C++ Version 1.11.750

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
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 Ec2ConfigurationState() = default;
33 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Ec2ScanModeState& GetScanModeState() const { return m_scanModeState; }
41 inline bool ScanModeStateHasBeenSet() const { return m_scanModeStateHasBeenSet; }
42 template <typename ScanModeStateT = Ec2ScanModeState>
43 void SetScanModeState(ScanModeStateT&& value) {
44 m_scanModeStateHasBeenSet = true;
45 m_scanModeState = std::forward<ScanModeStateT>(value);
46 }
47 template <typename ScanModeStateT = Ec2ScanModeState>
48 Ec2ConfigurationState& WithScanModeState(ScanModeStateT&& value) {
49 SetScanModeState(std::forward<ScanModeStateT>(value));
50 return *this;
51 }
53 private:
54 Ec2ScanModeState m_scanModeState;
55 bool m_scanModeStateHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Inspector2
60} // namespace Aws
const Ec2ScanModeState & GetScanModeState() const
Ec2ConfigurationState & WithScanModeState(ScanModeStateT &&value)
AWS_INSPECTOR2_API Ec2ConfigurationState()=default
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