AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
ExportJobSummary.h
1
6#pragma once
7#include <aws/backupsearch/BackupSearch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/backupsearch/model/ExportJobStatus.h>
10#include <aws/core/utils/DateTime.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 BackupSearch
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_BACKUPSEARCH_API ExportJobSummary() = default;
37 AWS_BACKUPSEARCH_API ExportJobSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_BACKUPSEARCH_API ExportJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_BACKUPSEARCH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetExportJobIdentifier() const { return m_exportJobIdentifier; }
47 inline bool ExportJobIdentifierHasBeenSet() const { return m_exportJobIdentifierHasBeenSet; }
48 template<typename ExportJobIdentifierT = Aws::String>
49 void SetExportJobIdentifier(ExportJobIdentifierT&& value) { m_exportJobIdentifierHasBeenSet = true; m_exportJobIdentifier = std::forward<ExportJobIdentifierT>(value); }
50 template<typename ExportJobIdentifierT = Aws::String>
51 ExportJobSummary& WithExportJobIdentifier(ExportJobIdentifierT&& value) { SetExportJobIdentifier(std::forward<ExportJobIdentifierT>(value)); return *this;}
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) { m_exportJobArnHasBeenSet = true; m_exportJobArn = std::forward<ExportJobArnT>(value); }
63 template<typename ExportJobArnT = Aws::String>
64 ExportJobSummary& WithExportJobArn(ExportJobArnT&& value) { SetExportJobArn(std::forward<ExportJobArnT>(value)); return *this;}
66
68
73 inline ExportJobStatus GetStatus() const { return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(ExportJobStatus value) { m_statusHasBeenSet = true; m_status = value; }
76 inline ExportJobSummary& WithStatus(ExportJobStatus value) { SetStatus(value); return *this;}
78
80
83 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
84 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
85 template<typename CreationTimeT = Aws::Utils::DateTime>
86 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
87 template<typename CreationTimeT = Aws::Utils::DateTime>
88 ExportJobSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
90
92
95 inline const Aws::Utils::DateTime& GetCompletionTime() const { return m_completionTime; }
96 inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; }
97 template<typename CompletionTimeT = Aws::Utils::DateTime>
98 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::forward<CompletionTimeT>(value); }
99 template<typename CompletionTimeT = Aws::Utils::DateTime>
100 ExportJobSummary& WithCompletionTime(CompletionTimeT&& value) { SetCompletionTime(std::forward<CompletionTimeT>(value)); return *this;}
102
104
109 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
110 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
111 template<typename StatusMessageT = Aws::String>
112 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
113 template<typename StatusMessageT = Aws::String>
114 ExportJobSummary& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
116
118
122 inline const Aws::String& GetSearchJobArn() const { return m_searchJobArn; }
123 inline bool SearchJobArnHasBeenSet() const { return m_searchJobArnHasBeenSet; }
124 template<typename SearchJobArnT = Aws::String>
125 void SetSearchJobArn(SearchJobArnT&& value) { m_searchJobArnHasBeenSet = true; m_searchJobArn = std::forward<SearchJobArnT>(value); }
126 template<typename SearchJobArnT = Aws::String>
127 ExportJobSummary& WithSearchJobArn(SearchJobArnT&& value) { SetSearchJobArn(std::forward<SearchJobArnT>(value)); return *this;}
129 private:
130
131 Aws::String m_exportJobIdentifier;
132 bool m_exportJobIdentifierHasBeenSet = false;
133
134 Aws::String m_exportJobArn;
135 bool m_exportJobArnHasBeenSet = false;
136
138 bool m_statusHasBeenSet = false;
139
140 Aws::Utils::DateTime m_creationTime{};
141 bool m_creationTimeHasBeenSet = false;
142
143 Aws::Utils::DateTime m_completionTime{};
144 bool m_completionTimeHasBeenSet = false;
145
146 Aws::String m_statusMessage;
147 bool m_statusMessageHasBeenSet = false;
148
149 Aws::String m_searchJobArn;
150 bool m_searchJobArnHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace BackupSearch
155} // 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