AWS SDK for C++

AWS SDK for C++ Version 1.11.750

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
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 EcrConfigurationState() = default;
33 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const EcrRescanDurationState& GetRescanDurationState() const { return m_rescanDurationState; }
41 inline bool RescanDurationStateHasBeenSet() const { return m_rescanDurationStateHasBeenSet; }
42 template <typename RescanDurationStateT = EcrRescanDurationState>
43 void SetRescanDurationState(RescanDurationStateT&& value) {
44 m_rescanDurationStateHasBeenSet = true;
45 m_rescanDurationState = std::forward<RescanDurationStateT>(value);
46 }
47 template <typename RescanDurationStateT = EcrRescanDurationState>
48 EcrConfigurationState& WithRescanDurationState(RescanDurationStateT&& value) {
49 SetRescanDurationState(std::forward<RescanDurationStateT>(value));
50 return *this;
51 }
53 private:
54 EcrRescanDurationState m_rescanDurationState;
55 bool m_rescanDurationStateHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace Inspector2
60} // 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