AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingMaintenanceAction.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.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 Lightsail
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LIGHTSAIL_API PendingMaintenanceAction();
39 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetAction() const{ return m_action; }
47 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
48 inline void SetAction(const Aws::String& value) { m_actionHasBeenSet = true; m_action = value; }
49 inline void SetAction(Aws::String&& value) { m_actionHasBeenSet = true; m_action = std::move(value); }
50 inline void SetAction(const char* value) { m_actionHasBeenSet = true; m_action.assign(value); }
51 inline PendingMaintenanceAction& WithAction(const Aws::String& value) { SetAction(value); return *this;}
52 inline PendingMaintenanceAction& WithAction(Aws::String&& value) { SetAction(std::move(value)); return *this;}
53 inline PendingMaintenanceAction& WithAction(const char* value) { SetAction(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline PendingMaintenanceAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline PendingMaintenanceAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline PendingMaintenanceAction& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
74 inline const Aws::Utils::DateTime& GetCurrentApplyDate() const{ return m_currentApplyDate; }
75 inline bool CurrentApplyDateHasBeenSet() const { return m_currentApplyDateHasBeenSet; }
76 inline void SetCurrentApplyDate(const Aws::Utils::DateTime& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = value; }
77 inline void SetCurrentApplyDate(Aws::Utils::DateTime&& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = std::move(value); }
81 private:
82
83 Aws::String m_action;
84 bool m_actionHasBeenSet = false;
85
86 Aws::String m_description;
87 bool m_descriptionHasBeenSet = false;
88
89 Aws::Utils::DateTime m_currentApplyDate;
90 bool m_currentApplyDateHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Lightsail
95} // namespace Aws
void SetCurrentApplyDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithDescription(Aws::String &&value)
AWS_LIGHTSAIL_API PendingMaintenanceAction & operator=(Aws::Utils::Json::JsonView jsonValue)
PendingMaintenanceAction & WithCurrentApplyDate(Aws::Utils::DateTime &&value)
PendingMaintenanceAction & WithDescription(const char *value)
PendingMaintenanceAction & WithDescription(const Aws::String &value)
const Aws::Utils::DateTime & GetCurrentApplyDate() const
PendingMaintenanceAction & WithAction(const char *value)
AWS_LIGHTSAIL_API PendingMaintenanceAction(Aws::Utils::Json::JsonView jsonValue)
void SetCurrentApplyDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithAction(Aws::String &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
PendingMaintenanceAction & WithCurrentApplyDate(const Aws::Utils::DateTime &value)
PendingMaintenanceAction & WithAction(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue