AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ReportPlan.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backup/model/ReportSetting.h>
10#include <aws/backup/model/ReportDeliveryChannel.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 Backup
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_BACKUP_API ReportPlan() = default;
39 AWS_BACKUP_API ReportPlan(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetReportPlanArn() const { return m_reportPlanArn; }
50 inline bool ReportPlanArnHasBeenSet() const { return m_reportPlanArnHasBeenSet; }
51 template<typename ReportPlanArnT = Aws::String>
52 void SetReportPlanArn(ReportPlanArnT&& value) { m_reportPlanArnHasBeenSet = true; m_reportPlanArn = std::forward<ReportPlanArnT>(value); }
53 template<typename ReportPlanArnT = Aws::String>
54 ReportPlan& WithReportPlanArn(ReportPlanArnT&& value) { SetReportPlanArn(std::forward<ReportPlanArnT>(value)); return *this;}
56
58
63 inline const Aws::String& GetReportPlanName() const { return m_reportPlanName; }
64 inline bool ReportPlanNameHasBeenSet() const { return m_reportPlanNameHasBeenSet; }
65 template<typename ReportPlanNameT = Aws::String>
66 void SetReportPlanName(ReportPlanNameT&& value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName = std::forward<ReportPlanNameT>(value); }
67 template<typename ReportPlanNameT = Aws::String>
68 ReportPlan& WithReportPlanName(ReportPlanNameT&& value) { SetReportPlanName(std::forward<ReportPlanNameT>(value)); return *this;}
70
72
76 inline const Aws::String& GetReportPlanDescription() const { return m_reportPlanDescription; }
77 inline bool ReportPlanDescriptionHasBeenSet() const { return m_reportPlanDescriptionHasBeenSet; }
78 template<typename ReportPlanDescriptionT = Aws::String>
79 void SetReportPlanDescription(ReportPlanDescriptionT&& value) { m_reportPlanDescriptionHasBeenSet = true; m_reportPlanDescription = std::forward<ReportPlanDescriptionT>(value); }
80 template<typename ReportPlanDescriptionT = Aws::String>
81 ReportPlan& WithReportPlanDescription(ReportPlanDescriptionT&& value) { SetReportPlanDescription(std::forward<ReportPlanDescriptionT>(value)); return *this;}
83
85
94 inline const ReportSetting& GetReportSetting() const { return m_reportSetting; }
95 inline bool ReportSettingHasBeenSet() const { return m_reportSettingHasBeenSet; }
96 template<typename ReportSettingT = ReportSetting>
97 void SetReportSetting(ReportSettingT&& value) { m_reportSettingHasBeenSet = true; m_reportSetting = std::forward<ReportSettingT>(value); }
98 template<typename ReportSettingT = ReportSetting>
99 ReportPlan& WithReportSetting(ReportSettingT&& value) { SetReportSetting(std::forward<ReportSettingT>(value)); return *this;}
101
103
108 inline const ReportDeliveryChannel& GetReportDeliveryChannel() const { return m_reportDeliveryChannel; }
109 inline bool ReportDeliveryChannelHasBeenSet() const { return m_reportDeliveryChannelHasBeenSet; }
110 template<typename ReportDeliveryChannelT = ReportDeliveryChannel>
111 void SetReportDeliveryChannel(ReportDeliveryChannelT&& value) { m_reportDeliveryChannelHasBeenSet = true; m_reportDeliveryChannel = std::forward<ReportDeliveryChannelT>(value); }
112 template<typename ReportDeliveryChannelT = ReportDeliveryChannel>
113 ReportPlan& WithReportDeliveryChannel(ReportDeliveryChannelT&& value) { SetReportDeliveryChannel(std::forward<ReportDeliveryChannelT>(value)); return *this;}
115
117
122 inline const Aws::String& GetDeploymentStatus() const { return m_deploymentStatus; }
123 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
124 template<typename DeploymentStatusT = Aws::String>
125 void SetDeploymentStatus(DeploymentStatusT&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::forward<DeploymentStatusT>(value); }
126 template<typename DeploymentStatusT = Aws::String>
127 ReportPlan& WithDeploymentStatus(DeploymentStatusT&& value) { SetDeploymentStatus(std::forward<DeploymentStatusT>(value)); return *this;}
129
131
137 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
138 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
139 template<typename CreationTimeT = Aws::Utils::DateTime>
140 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
141 template<typename CreationTimeT = Aws::Utils::DateTime>
142 ReportPlan& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
144
146
153 inline const Aws::Utils::DateTime& GetLastAttemptedExecutionTime() const { return m_lastAttemptedExecutionTime; }
154 inline bool LastAttemptedExecutionTimeHasBeenSet() const { return m_lastAttemptedExecutionTimeHasBeenSet; }
155 template<typename LastAttemptedExecutionTimeT = Aws::Utils::DateTime>
156 void SetLastAttemptedExecutionTime(LastAttemptedExecutionTimeT&& value) { m_lastAttemptedExecutionTimeHasBeenSet = true; m_lastAttemptedExecutionTime = std::forward<LastAttemptedExecutionTimeT>(value); }
157 template<typename LastAttemptedExecutionTimeT = Aws::Utils::DateTime>
158 ReportPlan& WithLastAttemptedExecutionTime(LastAttemptedExecutionTimeT&& value) { SetLastAttemptedExecutionTime(std::forward<LastAttemptedExecutionTimeT>(value)); return *this;}
160
162
169 inline const Aws::Utils::DateTime& GetLastSuccessfulExecutionTime() const { return m_lastSuccessfulExecutionTime; }
170 inline bool LastSuccessfulExecutionTimeHasBeenSet() const { return m_lastSuccessfulExecutionTimeHasBeenSet; }
171 template<typename LastSuccessfulExecutionTimeT = Aws::Utils::DateTime>
172 void SetLastSuccessfulExecutionTime(LastSuccessfulExecutionTimeT&& value) { m_lastSuccessfulExecutionTimeHasBeenSet = true; m_lastSuccessfulExecutionTime = std::forward<LastSuccessfulExecutionTimeT>(value); }
173 template<typename LastSuccessfulExecutionTimeT = Aws::Utils::DateTime>
174 ReportPlan& WithLastSuccessfulExecutionTime(LastSuccessfulExecutionTimeT&& value) { SetLastSuccessfulExecutionTime(std::forward<LastSuccessfulExecutionTimeT>(value)); return *this;}
176 private:
177
178 Aws::String m_reportPlanArn;
179 bool m_reportPlanArnHasBeenSet = false;
180
181 Aws::String m_reportPlanName;
182 bool m_reportPlanNameHasBeenSet = false;
183
184 Aws::String m_reportPlanDescription;
185 bool m_reportPlanDescriptionHasBeenSet = false;
186
187 ReportSetting m_reportSetting;
188 bool m_reportSettingHasBeenSet = false;
189
190 ReportDeliveryChannel m_reportDeliveryChannel;
191 bool m_reportDeliveryChannelHasBeenSet = false;
192
193 Aws::String m_deploymentStatus;
194 bool m_deploymentStatusHasBeenSet = false;
195
196 Aws::Utils::DateTime m_creationTime{};
197 bool m_creationTimeHasBeenSet = false;
198
199 Aws::Utils::DateTime m_lastAttemptedExecutionTime{};
200 bool m_lastAttemptedExecutionTimeHasBeenSet = false;
201
202 Aws::Utils::DateTime m_lastSuccessfulExecutionTime{};
203 bool m_lastSuccessfulExecutionTimeHasBeenSet = false;
204 };
205
206} // namespace Model
207} // namespace Backup
208} // namespace Aws
bool ReportSettingHasBeenSet() const
Definition ReportPlan.h:95
const Aws::String & GetReportPlanName() const
Definition ReportPlan.h:63
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BACKUP_API ReportPlan & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUP_API ReportPlan()=default
bool DeploymentStatusHasBeenSet() const
Definition ReportPlan.h:123
ReportPlan & WithReportDeliveryChannel(ReportDeliveryChannelT &&value)
Definition ReportPlan.h:113
ReportPlan & WithReportPlanArn(ReportPlanArnT &&value)
Definition ReportPlan.h:54
void SetCreationTime(CreationTimeT &&value)
Definition ReportPlan.h:140
ReportPlan & WithDeploymentStatus(DeploymentStatusT &&value)
Definition ReportPlan.h:127
const Aws::String & GetDeploymentStatus() const
Definition ReportPlan.h:122
bool ReportPlanNameHasBeenSet() const
Definition ReportPlan.h:64
void SetReportSetting(ReportSettingT &&value)
Definition ReportPlan.h:97
bool ReportPlanDescriptionHasBeenSet() const
Definition ReportPlan.h:77
ReportPlan & WithReportPlanName(ReportPlanNameT &&value)
Definition ReportPlan.h:68
ReportPlan & WithReportSetting(ReportSettingT &&value)
Definition ReportPlan.h:99
bool LastAttemptedExecutionTimeHasBeenSet() const
Definition ReportPlan.h:154
bool ReportDeliveryChannelHasBeenSet() const
Definition ReportPlan.h:109
void SetLastSuccessfulExecutionTime(LastSuccessfulExecutionTimeT &&value)
Definition ReportPlan.h:172
void SetReportDeliveryChannel(ReportDeliveryChannelT &&value)
Definition ReportPlan.h:111
ReportPlan & WithReportPlanDescription(ReportPlanDescriptionT &&value)
Definition ReportPlan.h:81
void SetReportPlanDescription(ReportPlanDescriptionT &&value)
Definition ReportPlan.h:79
const Aws::Utils::DateTime & GetCreationTime() const
Definition ReportPlan.h:137
void SetDeploymentStatus(DeploymentStatusT &&value)
Definition ReportPlan.h:125
const ReportSetting & GetReportSetting() const
Definition ReportPlan.h:94
void SetReportPlanName(ReportPlanNameT &&value)
Definition ReportPlan.h:66
const Aws::String & GetReportPlanArn() const
Definition ReportPlan.h:49
AWS_BACKUP_API ReportPlan(Aws::Utils::Json::JsonView jsonValue)
ReportPlan & WithCreationTime(CreationTimeT &&value)
Definition ReportPlan.h:142
const Aws::Utils::DateTime & GetLastAttemptedExecutionTime() const
Definition ReportPlan.h:153
const Aws::Utils::DateTime & GetLastSuccessfulExecutionTime() const
Definition ReportPlan.h:169
void SetLastAttemptedExecutionTime(LastAttemptedExecutionTimeT &&value)
Definition ReportPlan.h:156
void SetReportPlanArn(ReportPlanArnT &&value)
Definition ReportPlan.h:52
bool ReportPlanArnHasBeenSet() const
Definition ReportPlan.h:50
ReportPlan & WithLastAttemptedExecutionTime(LastAttemptedExecutionTimeT &&value)
Definition ReportPlan.h:158
bool LastSuccessfulExecutionTimeHasBeenSet() const
Definition ReportPlan.h:170
ReportPlan & WithLastSuccessfulExecutionTime(LastSuccessfulExecutionTimeT &&value)
Definition ReportPlan.h:174
const ReportDeliveryChannel & GetReportDeliveryChannel() const
Definition ReportPlan.h:108
const Aws::String & GetReportPlanDescription() const
Definition ReportPlan.h:76
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue