AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EcrConfiguration.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/EcrPullDateRescanDuration.h>
9#include <aws/inspector2/model/EcrRescanDuration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Inspector2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_INSPECTOR2_API EcrConfiguration();
37 AWS_INSPECTOR2_API EcrConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const EcrPullDateRescanDuration& GetPullDateRescanDuration() const{ return m_pullDateRescanDuration; }
47 inline bool PullDateRescanDurationHasBeenSet() const { return m_pullDateRescanDurationHasBeenSet; }
48 inline void SetPullDateRescanDuration(const EcrPullDateRescanDuration& value) { m_pullDateRescanDurationHasBeenSet = true; m_pullDateRescanDuration = value; }
49 inline void SetPullDateRescanDuration(EcrPullDateRescanDuration&& value) { m_pullDateRescanDurationHasBeenSet = true; m_pullDateRescanDuration = std::move(value); }
53
55
58 inline const EcrRescanDuration& GetRescanDuration() const{ return m_rescanDuration; }
59 inline bool RescanDurationHasBeenSet() const { return m_rescanDurationHasBeenSet; }
60 inline void SetRescanDuration(const EcrRescanDuration& value) { m_rescanDurationHasBeenSet = true; m_rescanDuration = value; }
61 inline void SetRescanDuration(EcrRescanDuration&& value) { m_rescanDurationHasBeenSet = true; m_rescanDuration = std::move(value); }
62 inline EcrConfiguration& WithRescanDuration(const EcrRescanDuration& value) { SetRescanDuration(value); return *this;}
63 inline EcrConfiguration& WithRescanDuration(EcrRescanDuration&& value) { SetRescanDuration(std::move(value)); return *this;}
65 private:
66
67 EcrPullDateRescanDuration m_pullDateRescanDuration;
68 bool m_pullDateRescanDurationHasBeenSet = false;
69
70 EcrRescanDuration m_rescanDuration;
71 bool m_rescanDurationHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Inspector2
76} // namespace Aws
EcrConfiguration & WithRescanDuration(EcrRescanDuration &&value)
EcrConfiguration & WithPullDateRescanDuration(EcrPullDateRescanDuration &&value)
void SetRescanDuration(EcrRescanDuration &&value)
void SetPullDateRescanDuration(const EcrPullDateRescanDuration &value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
EcrConfiguration & WithPullDateRescanDuration(const EcrPullDateRescanDuration &value)
const EcrRescanDuration & GetRescanDuration() const
void SetPullDateRescanDuration(EcrPullDateRescanDuration &&value)
EcrConfiguration & WithRescanDuration(const EcrRescanDuration &value)
void SetRescanDuration(const EcrRescanDuration &value)
const EcrPullDateRescanDuration & GetPullDateRescanDuration() const
AWS_INSPECTOR2_API EcrConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API EcrConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue