AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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/EcrPullDateRescanMode.h>
10#include <aws/inspector2/model/EcrRescanDuration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Inspector2 {
22namespace Model {
23
31 public:
32 AWS_INSPECTOR2_API EcrConfiguration() = default;
33 AWS_INSPECTOR2_API EcrConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline EcrRescanDuration GetRescanDuration() const { return m_rescanDuration; }
42 inline bool RescanDurationHasBeenSet() const { return m_rescanDurationHasBeenSet; }
44 m_rescanDurationHasBeenSet = true;
45 m_rescanDuration = value;
46 }
48 SetRescanDuration(value);
49 return *this;
50 }
52
54
57 inline EcrPullDateRescanDuration GetPullDateRescanDuration() const { return m_pullDateRescanDuration; }
58 inline bool PullDateRescanDurationHasBeenSet() const { return m_pullDateRescanDurationHasBeenSet; }
60 m_pullDateRescanDurationHasBeenSet = true;
61 m_pullDateRescanDuration = value;
62 }
65 return *this;
66 }
68
70
73 inline EcrPullDateRescanMode GetPullDateRescanMode() const { return m_pullDateRescanMode; }
74 inline bool PullDateRescanModeHasBeenSet() const { return m_pullDateRescanModeHasBeenSet; }
76 m_pullDateRescanModeHasBeenSet = true;
77 m_pullDateRescanMode = value;
78 }
81 return *this;
82 }
84 private:
86
88
90 bool m_rescanDurationHasBeenSet = false;
91 bool m_pullDateRescanDurationHasBeenSet = false;
92 bool m_pullDateRescanModeHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace Inspector2
97} // namespace Aws
AWS_INSPECTOR2_API EcrConfiguration()=default
void SetPullDateRescanDuration(EcrPullDateRescanDuration value)
EcrPullDateRescanDuration GetPullDateRescanDuration() const
void SetRescanDuration(EcrRescanDuration value)
EcrConfiguration & WithRescanDuration(EcrRescanDuration value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
EcrPullDateRescanMode GetPullDateRescanMode() const
EcrConfiguration & WithPullDateRescanDuration(EcrPullDateRescanDuration value)
EcrConfiguration & WithPullDateRescanMode(EcrPullDateRescanMode value)
EcrRescanDuration GetRescanDuration() const
AWS_INSPECTOR2_API EcrConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API EcrConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetPullDateRescanMode(EcrPullDateRescanMode value)
Aws::Utils::Json::JsonValue JsonValue