AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReportJob.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/backup/model/ReportDestination.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Backup
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_BACKUP_API ReportJob();
39 AWS_BACKUP_API ReportJob(Aws::Utils::Json::JsonView jsonValue);
41 AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
50 inline const Aws::String& GetReportJobId() const{ return m_reportJobId; }
51 inline bool ReportJobIdHasBeenSet() const { return m_reportJobIdHasBeenSet; }
52 inline void SetReportJobId(const Aws::String& value) { m_reportJobIdHasBeenSet = true; m_reportJobId = value; }
53 inline void SetReportJobId(Aws::String&& value) { m_reportJobIdHasBeenSet = true; m_reportJobId = std::move(value); }
54 inline void SetReportJobId(const char* value) { m_reportJobIdHasBeenSet = true; m_reportJobId.assign(value); }
55 inline ReportJob& WithReportJobId(const Aws::String& value) { SetReportJobId(value); return *this;}
56 inline ReportJob& WithReportJobId(Aws::String&& value) { SetReportJobId(std::move(value)); return *this;}
57 inline ReportJob& WithReportJobId(const char* value) { SetReportJobId(value); return *this;}
59
61
65 inline const Aws::String& GetReportPlanArn() const{ return m_reportPlanArn; }
66 inline bool ReportPlanArnHasBeenSet() const { return m_reportPlanArnHasBeenSet; }
67 inline void SetReportPlanArn(const Aws::String& value) { m_reportPlanArnHasBeenSet = true; m_reportPlanArn = value; }
68 inline void SetReportPlanArn(Aws::String&& value) { m_reportPlanArnHasBeenSet = true; m_reportPlanArn = std::move(value); }
69 inline void SetReportPlanArn(const char* value) { m_reportPlanArnHasBeenSet = true; m_reportPlanArn.assign(value); }
70 inline ReportJob& WithReportPlanArn(const Aws::String& value) { SetReportPlanArn(value); return *this;}
71 inline ReportJob& WithReportPlanArn(Aws::String&& value) { SetReportPlanArn(std::move(value)); return *this;}
72 inline ReportJob& WithReportPlanArn(const char* value) { SetReportPlanArn(value); return *this;}
74
76
82 inline const Aws::String& GetReportTemplate() const{ return m_reportTemplate; }
83 inline bool ReportTemplateHasBeenSet() const { return m_reportTemplateHasBeenSet; }
84 inline void SetReportTemplate(const Aws::String& value) { m_reportTemplateHasBeenSet = true; m_reportTemplate = value; }
85 inline void SetReportTemplate(Aws::String&& value) { m_reportTemplateHasBeenSet = true; m_reportTemplate = std::move(value); }
86 inline void SetReportTemplate(const char* value) { m_reportTemplateHasBeenSet = true; m_reportTemplate.assign(value); }
87 inline ReportJob& WithReportTemplate(const Aws::String& value) { SetReportTemplate(value); return *this;}
88 inline ReportJob& WithReportTemplate(Aws::String&& value) { SetReportTemplate(std::move(value)); return *this;}
89 inline ReportJob& WithReportTemplate(const char* value) { SetReportTemplate(value); return *this;}
91
93
99 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
100 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
101 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
102 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
103 inline ReportJob& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
104 inline ReportJob& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
106
108
114 inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; }
115 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
116 inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; }
117 inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); }
118 inline ReportJob& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;}
119 inline ReportJob& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;}
121
123
130 inline const Aws::String& GetStatus() const{ return m_status; }
131 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
132 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
133 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
134 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
135 inline ReportJob& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
136 inline ReportJob& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
137 inline ReportJob& WithStatus(const char* value) { SetStatus(value); return *this;}
139
141
144 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
145 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
146 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
147 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
148 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
149 inline ReportJob& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
150 inline ReportJob& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
151 inline ReportJob& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
153
155
159 inline const ReportDestination& GetReportDestination() const{ return m_reportDestination; }
160 inline bool ReportDestinationHasBeenSet() const { return m_reportDestinationHasBeenSet; }
161 inline void SetReportDestination(const ReportDestination& value) { m_reportDestinationHasBeenSet = true; m_reportDestination = value; }
162 inline void SetReportDestination(ReportDestination&& value) { m_reportDestinationHasBeenSet = true; m_reportDestination = std::move(value); }
163 inline ReportJob& WithReportDestination(const ReportDestination& value) { SetReportDestination(value); return *this;}
164 inline ReportJob& WithReportDestination(ReportDestination&& value) { SetReportDestination(std::move(value)); return *this;}
166 private:
167
168 Aws::String m_reportJobId;
169 bool m_reportJobIdHasBeenSet = false;
170
171 Aws::String m_reportPlanArn;
172 bool m_reportPlanArnHasBeenSet = false;
173
174 Aws::String m_reportTemplate;
175 bool m_reportTemplateHasBeenSet = false;
176
177 Aws::Utils::DateTime m_creationTime;
178 bool m_creationTimeHasBeenSet = false;
179
180 Aws::Utils::DateTime m_completionTime;
181 bool m_completionTimeHasBeenSet = false;
182
183 Aws::String m_status;
184 bool m_statusHasBeenSet = false;
185
186 Aws::String m_statusMessage;
187 bool m_statusMessageHasBeenSet = false;
188
189 ReportDestination m_reportDestination;
190 bool m_reportDestinationHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace Backup
195} // namespace Aws
ReportJob & WithCreationTime(Aws::Utils::DateTime &&value)
Definition ReportJob.h:104
void SetStatus(const Aws::String &value)
Definition ReportJob.h:132
bool ReportPlanArnHasBeenSet() const
Definition ReportJob.h:66
bool ReportDestinationHasBeenSet() const
Definition ReportJob.h:160
void SetCreationTime(const Aws::Utils::DateTime &value)
Definition ReportJob.h:101
AWS_BACKUP_API ReportJob & operator=(Aws::Utils::Json::JsonView jsonValue)
ReportJob & WithStatusMessage(Aws::String &&value)
Definition ReportJob.h:150
void SetReportTemplate(Aws::String &&value)
Definition ReportJob.h:85
ReportJob & WithReportJobId(Aws::String &&value)
Definition ReportJob.h:56
ReportJob & WithStatus(Aws::String &&value)
Definition ReportJob.h:136
ReportJob & WithReportTemplate(Aws::String &&value)
Definition ReportJob.h:88
ReportJob & WithStatus(const char *value)
Definition ReportJob.h:137
void SetReportJobId(const Aws::String &value)
Definition ReportJob.h:52
ReportJob & WithReportPlanArn(const char *value)
Definition ReportJob.h:72
void SetReportDestination(const ReportDestination &value)
Definition ReportJob.h:161
ReportJob & WithCreationTime(const Aws::Utils::DateTime &value)
Definition ReportJob.h:103
void SetStatus(const char *value)
Definition ReportJob.h:134
bool ReportTemplateHasBeenSet() const
Definition ReportJob.h:83
void SetReportTemplate(const Aws::String &value)
Definition ReportJob.h:84
ReportJob & WithReportJobId(const Aws::String &value)
Definition ReportJob.h:55
ReportJob & WithReportPlanArn(Aws::String &&value)
Definition ReportJob.h:71
bool ReportJobIdHasBeenSet() const
Definition ReportJob.h:51
ReportJob & WithReportDestination(ReportDestination &&value)
Definition ReportJob.h:164
ReportJob & WithCompletionTime(Aws::Utils::DateTime &&value)
Definition ReportJob.h:119
const Aws::String & GetReportJobId() const
Definition ReportJob.h:50
ReportJob & WithReportTemplate(const Aws::String &value)
Definition ReportJob.h:87
void SetReportTemplate(const char *value)
Definition ReportJob.h:86
bool CreationTimeHasBeenSet() const
Definition ReportJob.h:100
ReportJob & WithReportTemplate(const char *value)
Definition ReportJob.h:89
void SetCompletionTime(Aws::Utils::DateTime &&value)
Definition ReportJob.h:117
const Aws::String & GetReportPlanArn() const
Definition ReportJob.h:65
void SetReportPlanArn(const char *value)
Definition ReportJob.h:69
void SetStatusMessage(const Aws::String &value)
Definition ReportJob.h:146
void SetReportPlanArn(const Aws::String &value)
Definition ReportJob.h:67
bool StatusMessageHasBeenSet() const
Definition ReportJob.h:145
const Aws::Utils::DateTime & GetCreationTime() const
Definition ReportJob.h:99
const Aws::String & GetReportTemplate() const
Definition ReportJob.h:82
const Aws::String & GetStatusMessage() const
Definition ReportJob.h:144
ReportJob & WithReportDestination(const ReportDestination &value)
Definition ReportJob.h:163
AWS_BACKUP_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetStatus() const
Definition ReportJob.h:130
void SetReportJobId(const char *value)
Definition ReportJob.h:54
AWS_BACKUP_API ReportJob(Aws::Utils::Json::JsonView jsonValue)
void SetReportPlanArn(Aws::String &&value)
Definition ReportJob.h:68
ReportJob & WithReportJobId(const char *value)
Definition ReportJob.h:57
void SetStatusMessage(const char *value)
Definition ReportJob.h:148
ReportJob & WithStatusMessage(const char *value)
Definition ReportJob.h:151
const ReportDestination & GetReportDestination() const
Definition ReportJob.h:159
ReportJob & WithStatus(const Aws::String &value)
Definition ReportJob.h:135
void SetCreationTime(Aws::Utils::DateTime &&value)
Definition ReportJob.h:102
void SetReportDestination(ReportDestination &&value)
Definition ReportJob.h:162
void SetStatusMessage(Aws::String &&value)
Definition ReportJob.h:147
bool CompletionTimeHasBeenSet() const
Definition ReportJob.h:115
void SetCompletionTime(const Aws::Utils::DateTime &value)
Definition ReportJob.h:116
ReportJob & WithStatusMessage(const Aws::String &value)
Definition ReportJob.h:149
ReportJob & WithCompletionTime(const Aws::Utils::DateTime &value)
Definition ReportJob.h:118
void SetReportJobId(Aws::String &&value)
Definition ReportJob.h:53
void SetStatus(Aws::String &&value)
Definition ReportJob.h:133
ReportJob & WithReportPlanArn(const Aws::String &value)
Definition ReportJob.h:70
const Aws::Utils::DateTime & GetCompletionTime() const
Definition ReportJob.h:114
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue