AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReportPlanArn(const Aws::String& value) { m_reportPlanArnHasBeenSet = true; m_reportPlanArn = value; }
52 inline void SetReportPlanArn(Aws::String&& value) { m_reportPlanArnHasBeenSet = true; m_reportPlanArn = std::move(value); }
53 inline void SetReportPlanArn(const char* value) { m_reportPlanArnHasBeenSet = true; m_reportPlanArn.assign(value); }
54 inline ReportPlan& WithReportPlanArn(const Aws::String& value) { SetReportPlanArn(value); return *this;}
55 inline ReportPlan& WithReportPlanArn(Aws::String&& value) { SetReportPlanArn(std::move(value)); return *this;}
56 inline ReportPlan& WithReportPlanArn(const char* value) { SetReportPlanArn(value); return *this;}
58
60
65 inline const Aws::String& GetReportPlanName() const{ return m_reportPlanName; }
66 inline bool ReportPlanNameHasBeenSet() const { return m_reportPlanNameHasBeenSet; }
67 inline void SetReportPlanName(const Aws::String& value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName = value; }
68 inline void SetReportPlanName(Aws::String&& value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName = std::move(value); }
69 inline void SetReportPlanName(const char* value) { m_reportPlanNameHasBeenSet = true; m_reportPlanName.assign(value); }
70 inline ReportPlan& WithReportPlanName(const Aws::String& value) { SetReportPlanName(value); return *this;}
71 inline ReportPlan& WithReportPlanName(Aws::String&& value) { SetReportPlanName(std::move(value)); return *this;}
72 inline ReportPlan& WithReportPlanName(const char* value) { SetReportPlanName(value); return *this;}
74
76
80 inline const Aws::String& GetReportPlanDescription() const{ return m_reportPlanDescription; }
81 inline bool ReportPlanDescriptionHasBeenSet() const { return m_reportPlanDescriptionHasBeenSet; }
82 inline void SetReportPlanDescription(const Aws::String& value) { m_reportPlanDescriptionHasBeenSet = true; m_reportPlanDescription = value; }
83 inline void SetReportPlanDescription(Aws::String&& value) { m_reportPlanDescriptionHasBeenSet = true; m_reportPlanDescription = std::move(value); }
84 inline void SetReportPlanDescription(const char* value) { m_reportPlanDescriptionHasBeenSet = true; m_reportPlanDescription.assign(value); }
85 inline ReportPlan& WithReportPlanDescription(const Aws::String& value) { SetReportPlanDescription(value); return *this;}
86 inline ReportPlan& WithReportPlanDescription(Aws::String&& value) { SetReportPlanDescription(std::move(value)); return *this;}
87 inline ReportPlan& WithReportPlanDescription(const char* value) { SetReportPlanDescription(value); return *this;}
89
91
100 inline const ReportSetting& GetReportSetting() const{ return m_reportSetting; }
101 inline bool ReportSettingHasBeenSet() const { return m_reportSettingHasBeenSet; }
102 inline void SetReportSetting(const ReportSetting& value) { m_reportSettingHasBeenSet = true; m_reportSetting = value; }
103 inline void SetReportSetting(ReportSetting&& value) { m_reportSettingHasBeenSet = true; m_reportSetting = std::move(value); }
104 inline ReportPlan& WithReportSetting(const ReportSetting& value) { SetReportSetting(value); return *this;}
105 inline ReportPlan& WithReportSetting(ReportSetting&& value) { SetReportSetting(std::move(value)); return *this;}
107
109
114 inline const ReportDeliveryChannel& GetReportDeliveryChannel() const{ return m_reportDeliveryChannel; }
115 inline bool ReportDeliveryChannelHasBeenSet() const { return m_reportDeliveryChannelHasBeenSet; }
116 inline void SetReportDeliveryChannel(const ReportDeliveryChannel& value) { m_reportDeliveryChannelHasBeenSet = true; m_reportDeliveryChannel = value; }
117 inline void SetReportDeliveryChannel(ReportDeliveryChannel&& value) { m_reportDeliveryChannelHasBeenSet = true; m_reportDeliveryChannel = std::move(value); }
119 inline ReportPlan& WithReportDeliveryChannel(ReportDeliveryChannel&& value) { SetReportDeliveryChannel(std::move(value)); return *this;}
121
123
128 inline const Aws::String& GetDeploymentStatus() const{ return m_deploymentStatus; }
129 inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; }
130 inline void SetDeploymentStatus(const Aws::String& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; }
131 inline void SetDeploymentStatus(Aws::String&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); }
132 inline void SetDeploymentStatus(const char* value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus.assign(value); }
133 inline ReportPlan& WithDeploymentStatus(const Aws::String& value) { SetDeploymentStatus(value); return *this;}
134 inline ReportPlan& WithDeploymentStatus(Aws::String&& value) { SetDeploymentStatus(std::move(value)); return *this;}
135 inline ReportPlan& WithDeploymentStatus(const char* value) { SetDeploymentStatus(value); return *this;}
137
139
145 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
146 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
147 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
148 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
149 inline ReportPlan& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
150 inline ReportPlan& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
152
154
161 inline const Aws::Utils::DateTime& GetLastAttemptedExecutionTime() const{ return m_lastAttemptedExecutionTime; }
162 inline bool LastAttemptedExecutionTimeHasBeenSet() const { return m_lastAttemptedExecutionTimeHasBeenSet; }
163 inline void SetLastAttemptedExecutionTime(const Aws::Utils::DateTime& value) { m_lastAttemptedExecutionTimeHasBeenSet = true; m_lastAttemptedExecutionTime = value; }
164 inline void SetLastAttemptedExecutionTime(Aws::Utils::DateTime&& value) { m_lastAttemptedExecutionTimeHasBeenSet = true; m_lastAttemptedExecutionTime = std::move(value); }
168
170
177 inline const Aws::Utils::DateTime& GetLastSuccessfulExecutionTime() const{ return m_lastSuccessfulExecutionTime; }
178 inline bool LastSuccessfulExecutionTimeHasBeenSet() const { return m_lastSuccessfulExecutionTimeHasBeenSet; }
179 inline void SetLastSuccessfulExecutionTime(const Aws::Utils::DateTime& value) { m_lastSuccessfulExecutionTimeHasBeenSet = true; m_lastSuccessfulExecutionTime = value; }
180 inline void SetLastSuccessfulExecutionTime(Aws::Utils::DateTime&& value) { m_lastSuccessfulExecutionTimeHasBeenSet = true; m_lastSuccessfulExecutionTime = std::move(value); }
184 private:
185
186 Aws::String m_reportPlanArn;
187 bool m_reportPlanArnHasBeenSet = false;
188
189 Aws::String m_reportPlanName;
190 bool m_reportPlanNameHasBeenSet = false;
191
192 Aws::String m_reportPlanDescription;
193 bool m_reportPlanDescriptionHasBeenSet = false;
194
195 ReportSetting m_reportSetting;
196 bool m_reportSettingHasBeenSet = false;
197
198 ReportDeliveryChannel m_reportDeliveryChannel;
199 bool m_reportDeliveryChannelHasBeenSet = false;
200
201 Aws::String m_deploymentStatus;
202 bool m_deploymentStatusHasBeenSet = false;
203
204 Aws::Utils::DateTime m_creationTime;
205 bool m_creationTimeHasBeenSet = false;
206
207 Aws::Utils::DateTime m_lastAttemptedExecutionTime;
208 bool m_lastAttemptedExecutionTimeHasBeenSet = false;
209
210 Aws::Utils::DateTime m_lastSuccessfulExecutionTime;
211 bool m_lastSuccessfulExecutionTimeHasBeenSet = false;
212 };
213
214} // namespace Model
215} // namespace Backup
216} // namespace Aws
ReportPlan & WithReportPlanName(const char *value)
Definition ReportPlan.h:72
void SetReportSetting(const ReportSetting &value)
Definition ReportPlan.h:102
void SetLastSuccessfulExecutionTime(Aws::Utils::DateTime &&value)
Definition ReportPlan.h:180
ReportPlan & WithReportPlanArn(const Aws::String &value)
Definition ReportPlan.h:54
const Aws::String & GetReportPlanName() const
Definition ReportPlan.h:65
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
void SetReportPlanDescription(Aws::String &&value)
Definition ReportPlan.h:83
void SetReportPlanArn(const Aws::String &value)
Definition ReportPlan.h:51
ReportPlan & WithDeploymentStatus(Aws::String &&value)
Definition ReportPlan.h:134
AWS_BACKUP_API ReportPlan & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportPlan & WithCreationTime(Aws::Utils::DateTime &&value)
Definition ReportPlan.h:150
ReportPlan & WithReportDeliveryChannel(ReportDeliveryChannel &&value)
Definition ReportPlan.h:119
void SetDeploymentStatus(const char *value)
Definition ReportPlan.h:132
void SetReportPlanDescription(const Aws::String &value)
Definition ReportPlan.h:82
bool DeploymentStatusHasBeenSet() const
Definition ReportPlan.h:129
void SetReportPlanName(const Aws::String &value)
Definition ReportPlan.h:67
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition ReportPlan.h:148
const Aws::String & GetDeploymentStatus() const
Definition ReportPlan.h:128
bool ReportPlanNameHasBeenSet() const
Definition ReportPlan.h:66
ReportPlan & WithLastSuccessfulExecutionTime(Aws::Utils::DateTime &&value)
Definition ReportPlan.h:182
void SetLastAttemptedExecutionTime(Aws::Utils::DateTime &&value)
Definition ReportPlan.h:164
bool ReportPlanDescriptionHasBeenSet() const
Definition ReportPlan.h:81
ReportPlan & WithReportDeliveryChannel(const ReportDeliveryChannel &value)
Definition ReportPlan.h:118
void SetReportPlanDescription(const char *value)
Definition ReportPlan.h:84
bool LastAttemptedExecutionTimeHasBeenSet() const
Definition ReportPlan.h:162
bool ReportDeliveryChannelHasBeenSet() const
Definition ReportPlan.h:115
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition ReportPlan.h:147
ReportPlan & WithReportPlanDescription(const Aws::String &value)
Definition ReportPlan.h:85
ReportPlan & WithReportPlanDescription(const char *value)
Definition ReportPlan.h:87
ReportPlan & WithLastAttemptedExecutionTime(Aws::Utils::DateTime &&value)
Definition ReportPlan.h:166
ReportPlan & WithReportSetting(const ReportSetting &value)
Definition ReportPlan.h:104
const Aws::Utils::DateTime & GetCreationTime() const
Definition ReportPlan.h:145
const ReportSetting & GetReportSetting() const
Definition ReportPlan.h:100
ReportPlan & WithReportSetting(ReportSetting &&value)
Definition ReportPlan.h:105
ReportPlan & WithReportPlanName(const Aws::String &value)
Definition ReportPlan.h:70
void SetLastSuccessfulExecutionTime(const Aws::Utils::DateTime &value)
Definition ReportPlan.h:179
const Aws::String & GetReportPlanArn() const
Definition ReportPlan.h:49
ReportPlan & WithReportPlanArn(const char *value)
Definition ReportPlan.h:56
AWS_BACKUP_API ReportPlan(Aws::Utils::Json::JsonView jsonValue)
ReportPlan & WithLastAttemptedExecutionTime(const Aws::Utils::DateTime &value)
Definition ReportPlan.h:165
void SetDeploymentStatus(Aws::String &&value)
Definition ReportPlan.h:131
void SetReportPlanArn(Aws::String &&value)
Definition ReportPlan.h:52
ReportPlan & WithCreationTime(const Aws::Utils::DateTime &value)
Definition ReportPlan.h:149
const Aws::Utils::DateTime & GetLastAttemptedExecutionTime() const
Definition ReportPlan.h:161
const Aws::Utils::DateTime & GetLastSuccessfulExecutionTime() const
Definition ReportPlan.h:177
ReportPlan & WithReportPlanDescription(Aws::String &&value)
Definition ReportPlan.h:86
bool ReportPlanArnHasBeenSet() const
Definition ReportPlan.h:50
void SetReportDeliveryChannel(const ReportDeliveryChannel &value)
Definition ReportPlan.h:116
ReportPlan & WithReportPlanName(Aws::String &&value)
Definition ReportPlan.h:71
void SetLastAttemptedExecutionTime(const Aws::Utils::DateTime &value)
Definition ReportPlan.h:163
void SetReportPlanName(Aws::String &&value)
Definition ReportPlan.h:68
void SetReportPlanArn(const char *value)
Definition ReportPlan.h:53
ReportPlan & WithDeploymentStatus(const char *value)
Definition ReportPlan.h:135
ReportPlan & WithDeploymentStatus(const Aws::String &value)
Definition ReportPlan.h:133
void SetReportDeliveryChannel(ReportDeliveryChannel &&value)
Definition ReportPlan.h:117
ReportPlan & WithLastSuccessfulExecutionTime(const Aws::Utils::DateTime &value)
Definition ReportPlan.h:181
void SetReportSetting(ReportSetting &&value)
Definition ReportPlan.h:103
bool LastSuccessfulExecutionTimeHasBeenSet() const
Definition ReportPlan.h:178
const ReportDeliveryChannel & GetReportDeliveryChannel() const
Definition ReportPlan.h:114
const Aws::String & GetReportPlanDescription() const
Definition ReportPlan.h:80
void SetReportPlanName(const char *value)
Definition ReportPlan.h:69
void SetDeploymentStatus(const Aws::String &value)
Definition ReportPlan.h:130
ReportPlan & WithReportPlanArn(Aws::String &&value)
Definition ReportPlan.h:55
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue