AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingMaintenance.h
1
6#pragma once
7#include <aws/m2/MainframeModernization_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/m2/model/MaintenanceSchedule.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 MainframeModernization
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MAINFRAMEMODERNIZATION_API PendingMaintenance();
36 AWS_MAINFRAMEMODERNIZATION_API PendingMaintenance(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MAINFRAMEMODERNIZATION_API PendingMaintenance& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
46 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
47 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
48 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
49 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
50 inline PendingMaintenance& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
51 inline PendingMaintenance& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
52 inline PendingMaintenance& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
54
56
59 inline const MaintenanceSchedule& GetSchedule() const{ return m_schedule; }
60 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
61 inline void SetSchedule(const MaintenanceSchedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
62 inline void SetSchedule(MaintenanceSchedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
63 inline PendingMaintenance& WithSchedule(const MaintenanceSchedule& value) { SetSchedule(value); return *this;}
64 inline PendingMaintenance& WithSchedule(MaintenanceSchedule&& value) { SetSchedule(std::move(value)); return *this;}
66 private:
67
68 Aws::String m_engineVersion;
69 bool m_engineVersionHasBeenSet = false;
70
71 MaintenanceSchedule m_schedule;
72 bool m_scheduleHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace MainframeModernization
77} // namespace Aws
PendingMaintenance & WithEngineVersion(Aws::String &&value)
void SetSchedule(const MaintenanceSchedule &value)
PendingMaintenance & WithSchedule(MaintenanceSchedule &&value)
AWS_MAINFRAMEMODERNIZATION_API PendingMaintenance(Aws::Utils::Json::JsonView jsonValue)
AWS_MAINFRAMEMODERNIZATION_API Aws::Utils::Json::JsonValue Jsonize() const
PendingMaintenance & WithEngineVersion(const char *value)
AWS_MAINFRAMEMODERNIZATION_API PendingMaintenance()
PendingMaintenance & WithEngineVersion(const Aws::String &value)
PendingMaintenance & WithSchedule(const MaintenanceSchedule &value)
AWS_MAINFRAMEMODERNIZATION_API PendingMaintenance & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue