AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PendingMaintenanceActionDetails.h
1
6#pragma once
7#include <aws/docdb-elastic/DocDBElastic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace DocDBElastic
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DOCDBELASTIC_API PendingMaintenanceActionDetails() = default;
38 AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetAction() const { return m_action; }
46 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
47 template<typename ActionT = Aws::String>
48 void SetAction(ActionT&& value) { m_actionHasBeenSet = true; m_action = std::forward<ActionT>(value); }
49 template<typename ActionT = Aws::String>
50 PendingMaintenanceActionDetails& WithAction(ActionT&& value) { SetAction(std::forward<ActionT>(value)); return *this;}
52
54
60 inline const Aws::String& GetAutoAppliedAfterDate() const { return m_autoAppliedAfterDate; }
61 inline bool AutoAppliedAfterDateHasBeenSet() const { return m_autoAppliedAfterDateHasBeenSet; }
62 template<typename AutoAppliedAfterDateT = Aws::String>
63 void SetAutoAppliedAfterDate(AutoAppliedAfterDateT&& value) { m_autoAppliedAfterDateHasBeenSet = true; m_autoAppliedAfterDate = std::forward<AutoAppliedAfterDateT>(value); }
64 template<typename AutoAppliedAfterDateT = Aws::String>
65 PendingMaintenanceActionDetails& WithAutoAppliedAfterDate(AutoAppliedAfterDateT&& value) { SetAutoAppliedAfterDate(std::forward<AutoAppliedAfterDateT>(value)); return *this;}
67
69
73 inline const Aws::String& GetCurrentApplyDate() const { return m_currentApplyDate; }
74 inline bool CurrentApplyDateHasBeenSet() const { return m_currentApplyDateHasBeenSet; }
75 template<typename CurrentApplyDateT = Aws::String>
76 void SetCurrentApplyDate(CurrentApplyDateT&& value) { m_currentApplyDateHasBeenSet = true; m_currentApplyDate = std::forward<CurrentApplyDateT>(value); }
77 template<typename CurrentApplyDateT = Aws::String>
78 PendingMaintenanceActionDetails& WithCurrentApplyDate(CurrentApplyDateT&& value) { SetCurrentApplyDate(std::forward<CurrentApplyDateT>(value)); return *this;}
80
82
86 inline const Aws::String& GetDescription() const { return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 template<typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
90 template<typename DescriptionT = Aws::String>
91 PendingMaintenanceActionDetails& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
93
95
101 inline const Aws::String& GetForcedApplyDate() const { return m_forcedApplyDate; }
102 inline bool ForcedApplyDateHasBeenSet() const { return m_forcedApplyDateHasBeenSet; }
103 template<typename ForcedApplyDateT = Aws::String>
104 void SetForcedApplyDate(ForcedApplyDateT&& value) { m_forcedApplyDateHasBeenSet = true; m_forcedApplyDate = std::forward<ForcedApplyDateT>(value); }
105 template<typename ForcedApplyDateT = Aws::String>
106 PendingMaintenanceActionDetails& WithForcedApplyDate(ForcedApplyDateT&& value) { SetForcedApplyDate(std::forward<ForcedApplyDateT>(value)); return *this;}
108
110
114 inline const Aws::String& GetOptInStatus() const { return m_optInStatus; }
115 inline bool OptInStatusHasBeenSet() const { return m_optInStatusHasBeenSet; }
116 template<typename OptInStatusT = Aws::String>
117 void SetOptInStatus(OptInStatusT&& value) { m_optInStatusHasBeenSet = true; m_optInStatus = std::forward<OptInStatusT>(value); }
118 template<typename OptInStatusT = Aws::String>
119 PendingMaintenanceActionDetails& WithOptInStatus(OptInStatusT&& value) { SetOptInStatus(std::forward<OptInStatusT>(value)); return *this;}
121 private:
122
123 Aws::String m_action;
124 bool m_actionHasBeenSet = false;
125
126 Aws::String m_autoAppliedAfterDate;
127 bool m_autoAppliedAfterDateHasBeenSet = false;
128
129 Aws::String m_currentApplyDate;
130 bool m_currentApplyDateHasBeenSet = false;
131
132 Aws::String m_description;
133 bool m_descriptionHasBeenSet = false;
134
135 Aws::String m_forcedApplyDate;
136 bool m_forcedApplyDateHasBeenSet = false;
137
138 Aws::String m_optInStatus;
139 bool m_optInStatusHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace DocDBElastic
144} // namespace Aws
PendingMaintenanceActionDetails & WithAutoAppliedAfterDate(AutoAppliedAfterDateT &&value)
AWS_DOCDBELASTIC_API PendingMaintenanceActionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
PendingMaintenanceActionDetails & WithOptInStatus(OptInStatusT &&value)
AWS_DOCDBELASTIC_API PendingMaintenanceActionDetails()=default
AWS_DOCDBELASTIC_API Aws::Utils::Json::JsonValue Jsonize() const
PendingMaintenanceActionDetails & WithCurrentApplyDate(CurrentApplyDateT &&value)
PendingMaintenanceActionDetails & WithDescription(DescriptionT &&value)
AWS_DOCDBELASTIC_API PendingMaintenanceActionDetails(Aws::Utils::Json::JsonView jsonValue)
PendingMaintenanceActionDetails & WithForcedApplyDate(ForcedApplyDateT &&value)
PendingMaintenanceActionDetails & WithAction(ActionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue