AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
ExportJobSummary.h
1
6#pragma once
7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/backupsearch/model/ExportJobStatus.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace BackupSearch {
22namespace Model {
23
30 public:
31 AWS_BACKUPSEARCH_API ExportJobSummary() = default;
32 AWS_BACKUPSEARCH_API ExportJobSummary(Aws::Utils::Json::JsonView jsonValue);
33 AWS_BACKUPSEARCH_API ExportJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetExportJobIdentifier() const { return m_exportJobIdentifier; }
41 inline bool ExportJobIdentifierHasBeenSet() const { return m_exportJobIdentifierHasBeenSet; }
42 template <typename ExportJobIdentifierT = Aws::String>
43 void SetExportJobIdentifier(ExportJobIdentifierT&& value) {
44 m_exportJobIdentifierHasBeenSet = true;
45 m_exportJobIdentifier = std::forward<ExportJobIdentifierT>(value);
46 }
47 template <typename ExportJobIdentifierT = Aws::String>
48 ExportJobSummary& WithExportJobIdentifier(ExportJobIdentifierT&& value) {
49 SetExportJobIdentifier(std::forward<ExportJobIdentifierT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetExportJobArn() const { return m_exportJobArn; }
60 inline bool ExportJobArnHasBeenSet() const { return m_exportJobArnHasBeenSet; }
61 template <typename ExportJobArnT = Aws::String>
62 void SetExportJobArn(ExportJobArnT&& value) {
63 m_exportJobArnHasBeenSet = true;
64 m_exportJobArn = std::forward<ExportJobArnT>(value);
65 }
66 template <typename ExportJobArnT = Aws::String>
67 ExportJobSummary& WithExportJobArn(ExportJobArnT&& value) {
68 SetExportJobArn(std::forward<ExportJobArnT>(value));
69 return *this;
70 }
72
74
79 inline ExportJobStatus GetStatus() const { return m_status; }
80 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
81 inline void SetStatus(ExportJobStatus value) {
82 m_statusHasBeenSet = true;
83 m_status = value;
84 }
86 SetStatus(value);
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
96 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
97 template <typename CreationTimeT = Aws::Utils::DateTime>
98 void SetCreationTime(CreationTimeT&& value) {
99 m_creationTimeHasBeenSet = true;
100 m_creationTime = std::forward<CreationTimeT>(value);
101 }
102 template <typename CreationTimeT = Aws::Utils::DateTime>
103 ExportJobSummary& WithCreationTime(CreationTimeT&& value) {
104 SetCreationTime(std::forward<CreationTimeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
114 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
115 template <typename CompletionTimeT = Aws::Utils::DateTime>
116 void SetCompletionTime(CompletionTimeT&& value) {
117 m_completionTimeHasBeenSet = true;
118 m_completionTime = std::forward<CompletionTimeT>(value);
119 }
120 template <typename CompletionTimeT = Aws::Utils::DateTime>
121 ExportJobSummary& WithCompletionTime(CompletionTimeT&& value) {
122 SetCompletionTime(std::forward<CompletionTimeT>(value));
123 return *this;
124 }
126
128
133 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
134 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
135 template <typename StatusMessageT = Aws::String>
136 void SetStatusMessage(StatusMessageT&& value) {
137 m_statusMessageHasBeenSet = true;
138 m_statusMessage = std::forward<StatusMessageT>(value);
139 }
140 template <typename StatusMessageT = Aws::String>
141 ExportJobSummary& WithStatusMessage(StatusMessageT&& value) {
142 SetStatusMessage(std::forward<StatusMessageT>(value));
143 return *this;
144 }
146
148
152 inline const Aws::String& GetSearchJobArn() const { return m_searchJobArn; }
153 inline bool SearchJobArnHasBeenSet() const { return m_searchJobArnHasBeenSet; }
154 template <typename SearchJobArnT = Aws::String>
155 void SetSearchJobArn(SearchJobArnT&& value) {
156 m_searchJobArnHasBeenSet = true;
157 m_searchJobArn = std::forward<SearchJobArnT>(value);
158 }
159 template <typename SearchJobArnT = Aws::String>
160 ExportJobSummary& WithSearchJobArn(SearchJobArnT&& value) {
161 SetSearchJobArn(std::forward<SearchJobArnT>(value));
162 return *this;
163 }
165 private:
166 Aws::String m_exportJobIdentifier;
167
168 Aws::String m_exportJobArn;
169
171
172 Aws::Utils::DateTime m_creationTime{};
173
174 Aws::Utils::DateTime m_completionTime{};
175
176 Aws::String m_statusMessage;
177
178 Aws::String m_searchJobArn;
179 bool m_exportJobIdentifierHasBeenSet = false;
180 bool m_exportJobArnHasBeenSet = false;
181 bool m_statusHasBeenSet = false;
182 bool m_creationTimeHasBeenSet = false;
183 bool m_completionTimeHasBeenSet = false;
184 bool m_statusMessageHasBeenSet = false;
185 bool m_searchJobArnHasBeenSet = false;
186};
187
188} // namespace Model
189} // namespace BackupSearch
190} // namespace Aws
const Aws::String & GetStatusMessage() const
void SetCompletionTime(CompletionTimeT &&value)
void SetSearchJobArn(SearchJobArnT &&value)
void SetCreationTime(CreationTimeT &&value)
ExportJobSummary & WithCreationTime(CreationTimeT &&value)
AWS_BACKUPSEARCH_API ExportJobSummary()=default
void SetExportJobArn(ExportJobArnT &&value)
ExportJobSummary & WithExportJobArn(ExportJobArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
ExportJobSummary & WithCompletionTime(CompletionTimeT &&value)
AWS_BACKUPSEARCH_API ExportJobSummary(Aws::Utils::Json::JsonView jsonValue)
ExportJobSummary & WithStatus(ExportJobStatus value)
AWS_BACKUPSEARCH_API ExportJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetExportJobIdentifier() const
const Aws::String & GetExportJobArn() const
const Aws::Utils::DateTime & GetCompletionTime() const
const Aws::String & GetSearchJobArn() const
ExportJobSummary & WithStatusMessage(StatusMessageT &&value)
void SetExportJobIdentifier(ExportJobIdentifierT &&value)
void SetStatusMessage(StatusMessageT &&value)
ExportJobSummary & WithSearchJobArn(SearchJobArnT &&value)
ExportJobSummary & WithExportJobIdentifier(ExportJobIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue