AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EcrConfigurationState.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/EcrRescanDurationState.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 EcrConfigurationState() = default;
38 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const EcrRescanDurationState& GetRescanDurationState() const { return m_rescanDurationState; }
47 inline bool RescanDurationStateHasBeenSet() const { return m_rescanDurationStateHasBeenSet; }
48 template<typename RescanDurationStateT = EcrRescanDurationState>
49 void SetRescanDurationState(RescanDurationStateT&& value) { m_rescanDurationStateHasBeenSet = true; m_rescanDurationState = std::forward<RescanDurationStateT>(value); }
50 template<typename RescanDurationStateT = EcrRescanDurationState>
51 EcrConfigurationState& WithRescanDurationState(RescanDurationStateT&& value) { SetRescanDurationState(std::forward<RescanDurationStateT>(value)); return *this;}
53 private:
54
55 EcrRescanDurationState m_rescanDurationState;
56 bool m_rescanDurationStateHasBeenSet = false;
57 };
58
59} // namespace Model
60} // namespace Inspector2
61} // namespace Aws
EcrConfigurationState & WithRescanDurationState(RescanDurationStateT &&value)
AWS_INSPECTOR2_API EcrConfigurationState(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API EcrConfigurationState()=default
const EcrRescanDurationState & GetRescanDurationState() const
void SetRescanDurationState(RescanDurationStateT &&value)
AWS_INSPECTOR2_API EcrConfigurationState & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue