AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DbServerPatchingDetails.h
1
6#pragma once
7#include <aws/odb/Odb_EXPORTS.h>
8#include <aws/odb/model/DbServerPatchingStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.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 odb
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_ODB_API DbServerPatchingDetails() = default;
41
42
44
47 inline int GetEstimatedPatchDuration() const { return m_estimatedPatchDuration; }
48 inline bool EstimatedPatchDurationHasBeenSet() const { return m_estimatedPatchDurationHasBeenSet; }
49 inline void SetEstimatedPatchDuration(int value) { m_estimatedPatchDurationHasBeenSet = true; m_estimatedPatchDuration = value; }
52
54
59 inline DbServerPatchingStatus GetPatchingStatus() const { return m_patchingStatus; }
60 inline bool PatchingStatusHasBeenSet() const { return m_patchingStatusHasBeenSet; }
61 inline void SetPatchingStatus(DbServerPatchingStatus value) { m_patchingStatusHasBeenSet = true; m_patchingStatus = value; }
64
66
69 inline const Aws::String& GetTimePatchingEnded() const { return m_timePatchingEnded; }
70 inline bool TimePatchingEndedHasBeenSet() const { return m_timePatchingEndedHasBeenSet; }
71 template<typename TimePatchingEndedT = Aws::String>
72 void SetTimePatchingEnded(TimePatchingEndedT&& value) { m_timePatchingEndedHasBeenSet = true; m_timePatchingEnded = std::forward<TimePatchingEndedT>(value); }
73 template<typename TimePatchingEndedT = Aws::String>
74 DbServerPatchingDetails& WithTimePatchingEnded(TimePatchingEndedT&& value) { SetTimePatchingEnded(std::forward<TimePatchingEndedT>(value)); return *this;}
76
78
81 inline const Aws::String& GetTimePatchingStarted() const { return m_timePatchingStarted; }
82 inline bool TimePatchingStartedHasBeenSet() const { return m_timePatchingStartedHasBeenSet; }
83 template<typename TimePatchingStartedT = Aws::String>
84 void SetTimePatchingStarted(TimePatchingStartedT&& value) { m_timePatchingStartedHasBeenSet = true; m_timePatchingStarted = std::forward<TimePatchingStartedT>(value); }
85 template<typename TimePatchingStartedT = Aws::String>
86 DbServerPatchingDetails& WithTimePatchingStarted(TimePatchingStartedT&& value) { SetTimePatchingStarted(std::forward<TimePatchingStartedT>(value)); return *this;}
88 private:
89
90 int m_estimatedPatchDuration{0};
91 bool m_estimatedPatchDurationHasBeenSet = false;
92
94 bool m_patchingStatusHasBeenSet = false;
95
96 Aws::String m_timePatchingEnded;
97 bool m_timePatchingEndedHasBeenSet = false;
98
99 Aws::String m_timePatchingStarted;
100 bool m_timePatchingStartedHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace odb
105} // namespace Aws
AWS_ODB_API DbServerPatchingDetails()=default
DbServerPatchingDetails & WithPatchingStatus(DbServerPatchingStatus value)
AWS_ODB_API DbServerPatchingDetails(Aws::Utils::Json::JsonView jsonValue)
DbServerPatchingDetails & WithTimePatchingStarted(TimePatchingStartedT &&value)
DbServerPatchingDetails & WithTimePatchingEnded(TimePatchingEndedT &&value)
DbServerPatchingDetails & WithEstimatedPatchDuration(int value)
AWS_ODB_API DbServerPatchingDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ODB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPatchingStatus(DbServerPatchingStatus value)
void SetTimePatchingStarted(TimePatchingStartedT &&value)
DbServerPatchingStatus GetPatchingStatus() const
void SetTimePatchingEnded(TimePatchingEndedT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue