AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EcrRescanDurationState.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 <aws/inspector2/model/EcrRescanDurationStatus.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Inspector2
25{
26namespace Model
27{
28
41 {
42 public:
43 AWS_INSPECTOR2_API EcrRescanDurationState();
46 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const EcrPullDateRescanDuration& GetPullDateRescanDuration() const{ return m_pullDateRescanDuration; }
54 inline bool PullDateRescanDurationHasBeenSet() const { return m_pullDateRescanDurationHasBeenSet; }
55 inline void SetPullDateRescanDuration(const EcrPullDateRescanDuration& value) { m_pullDateRescanDurationHasBeenSet = true; m_pullDateRescanDuration = value; }
56 inline void SetPullDateRescanDuration(EcrPullDateRescanDuration&& value) { m_pullDateRescanDurationHasBeenSet = true; m_pullDateRescanDuration = std::move(value); }
60
62
66 inline const EcrRescanDuration& GetRescanDuration() const{ return m_rescanDuration; }
67 inline bool RescanDurationHasBeenSet() const { return m_rescanDurationHasBeenSet; }
68 inline void SetRescanDuration(const EcrRescanDuration& value) { m_rescanDurationHasBeenSet = true; m_rescanDuration = value; }
69 inline void SetRescanDuration(EcrRescanDuration&& value) { m_rescanDurationHasBeenSet = true; m_rescanDuration = std::move(value); }
71 inline EcrRescanDurationState& WithRescanDuration(EcrRescanDuration&& value) { SetRescanDuration(std::move(value)); return *this;}
73
75
78 inline const EcrRescanDurationStatus& GetStatus() const{ return m_status; }
79 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
80 inline void SetStatus(const EcrRescanDurationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
81 inline void SetStatus(EcrRescanDurationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
82 inline EcrRescanDurationState& WithStatus(const EcrRescanDurationStatus& value) { SetStatus(value); return *this;}
83 inline EcrRescanDurationState& WithStatus(EcrRescanDurationStatus&& value) { SetStatus(std::move(value)); return *this;}
85
87
91 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
92 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
93 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; }
94 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); }
95 inline EcrRescanDurationState& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
96 inline EcrRescanDurationState& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
98 private:
99
100 EcrPullDateRescanDuration m_pullDateRescanDuration;
101 bool m_pullDateRescanDurationHasBeenSet = false;
102
103 EcrRescanDuration m_rescanDuration;
104 bool m_rescanDurationHasBeenSet = false;
105
107 bool m_statusHasBeenSet = false;
108
109 Aws::Utils::DateTime m_updatedAt;
110 bool m_updatedAtHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Inspector2
115} // namespace Aws
EcrRescanDurationState & WithUpdatedAt(Aws::Utils::DateTime &&value)
EcrRescanDurationState & WithPullDateRescanDuration(EcrPullDateRescanDuration &&value)
void SetStatus(const EcrRescanDurationStatus &value)
EcrRescanDurationState & WithStatus(EcrRescanDurationStatus &&value)
EcrRescanDurationState & WithPullDateRescanDuration(const EcrPullDateRescanDuration &value)
AWS_INSPECTOR2_API EcrRescanDurationState & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPullDateRescanDuration(const EcrPullDateRescanDuration &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
EcrRescanDurationState & WithRescanDuration(EcrRescanDuration &&value)
void SetRescanDuration(const EcrRescanDuration &value)
EcrRescanDurationState & WithStatus(const EcrRescanDurationStatus &value)
void SetStatus(EcrRescanDurationStatus &&value)
void SetUpdatedAt(Aws::Utils::DateTime &&value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdatedAt(const Aws::Utils::DateTime &value)
const EcrRescanDurationStatus & GetStatus() const
void SetPullDateRescanDuration(EcrPullDateRescanDuration &&value)
const EcrPullDateRescanDuration & GetPullDateRescanDuration() const
EcrRescanDurationState & WithRescanDuration(const EcrRescanDuration &value)
const EcrRescanDuration & GetRescanDuration() const
EcrRescanDurationState & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_INSPECTOR2_API EcrRescanDurationState(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue