AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ExportInfo.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
10#include <aws/discovery/model/ExportStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ApplicationDiscoveryService {
22namespace Model {
23
31 public:
32 AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo() = default;
33 AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetExportId() const { return m_exportId; }
42 inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; }
43 template <typename ExportIdT = Aws::String>
44 void SetExportId(ExportIdT&& value) {
45 m_exportIdHasBeenSet = true;
46 m_exportId = std::forward<ExportIdT>(value);
47 }
48 template <typename ExportIdT = Aws::String>
49 ExportInfo& WithExportId(ExportIdT&& value) {
50 SetExportId(std::forward<ExportIdT>(value));
51 return *this;
52 }
54
56
59 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
60 inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; }
61 inline void SetExportStatus(ExportStatus value) {
62 m_exportStatusHasBeenSet = true;
63 m_exportStatus = value;
64 }
66 SetExportStatus(value);
67 return *this;
68 }
70
72
75 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
76 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
77 template <typename StatusMessageT = Aws::String>
78 void SetStatusMessage(StatusMessageT&& value) {
79 m_statusMessageHasBeenSet = true;
80 m_statusMessage = std::forward<StatusMessageT>(value);
81 }
82 template <typename StatusMessageT = Aws::String>
83 ExportInfo& WithStatusMessage(StatusMessageT&& value) {
84 SetStatusMessage(std::forward<StatusMessageT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetConfigurationsDownloadUrl() const { return m_configurationsDownloadUrl; }
95 inline bool ConfigurationsDownloadUrlHasBeenSet() const { return m_configurationsDownloadUrlHasBeenSet; }
96 template <typename ConfigurationsDownloadUrlT = Aws::String>
97 void SetConfigurationsDownloadUrl(ConfigurationsDownloadUrlT&& value) {
98 m_configurationsDownloadUrlHasBeenSet = true;
99 m_configurationsDownloadUrl = std::forward<ConfigurationsDownloadUrlT>(value);
100 }
101 template <typename ConfigurationsDownloadUrlT = Aws::String>
102 ExportInfo& WithConfigurationsDownloadUrl(ConfigurationsDownloadUrlT&& value) {
103 SetConfigurationsDownloadUrl(std::forward<ConfigurationsDownloadUrlT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::Utils::DateTime& GetExportRequestTime() const { return m_exportRequestTime; }
113 inline bool ExportRequestTimeHasBeenSet() const { return m_exportRequestTimeHasBeenSet; }
114 template <typename ExportRequestTimeT = Aws::Utils::DateTime>
115 void SetExportRequestTime(ExportRequestTimeT&& value) {
116 m_exportRequestTimeHasBeenSet = true;
117 m_exportRequestTime = std::forward<ExportRequestTimeT>(value);
118 }
119 template <typename ExportRequestTimeT = Aws::Utils::DateTime>
120 ExportInfo& WithExportRequestTime(ExportRequestTimeT&& value) {
121 SetExportRequestTime(std::forward<ExportRequestTimeT>(value));
122 return *this;
123 }
125
127
133 inline bool GetIsTruncated() const { return m_isTruncated; }
134 inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
135 inline void SetIsTruncated(bool value) {
136 m_isTruncatedHasBeenSet = true;
137 m_isTruncated = value;
138 }
139 inline ExportInfo& WithIsTruncated(bool value) {
140 SetIsTruncated(value);
141 return *this;
142 }
144
146
151 inline const Aws::Utils::DateTime& GetRequestedStartTime() const { return m_requestedStartTime; }
152 inline bool RequestedStartTimeHasBeenSet() const { return m_requestedStartTimeHasBeenSet; }
153 template <typename RequestedStartTimeT = Aws::Utils::DateTime>
154 void SetRequestedStartTime(RequestedStartTimeT&& value) {
155 m_requestedStartTimeHasBeenSet = true;
156 m_requestedStartTime = std::forward<RequestedStartTimeT>(value);
157 }
158 template <typename RequestedStartTimeT = Aws::Utils::DateTime>
159 ExportInfo& WithRequestedStartTime(RequestedStartTimeT&& value) {
160 SetRequestedStartTime(std::forward<RequestedStartTimeT>(value));
161 return *this;
162 }
164
166
171 inline const Aws::Utils::DateTime& GetRequestedEndTime() const { return m_requestedEndTime; }
172 inline bool RequestedEndTimeHasBeenSet() const { return m_requestedEndTimeHasBeenSet; }
173 template <typename RequestedEndTimeT = Aws::Utils::DateTime>
174 void SetRequestedEndTime(RequestedEndTimeT&& value) {
175 m_requestedEndTimeHasBeenSet = true;
176 m_requestedEndTime = std::forward<RequestedEndTimeT>(value);
177 }
178 template <typename RequestedEndTimeT = Aws::Utils::DateTime>
179 ExportInfo& WithRequestedEndTime(RequestedEndTimeT&& value) {
180 SetRequestedEndTime(std::forward<RequestedEndTimeT>(value));
181 return *this;
182 }
184 private:
185 Aws::String m_exportId;
186
187 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
188
189 Aws::String m_statusMessage;
190
191 Aws::String m_configurationsDownloadUrl;
192
193 Aws::Utils::DateTime m_exportRequestTime{};
194
195 bool m_isTruncated{false};
196
197 Aws::Utils::DateTime m_requestedStartTime{};
198
199 Aws::Utils::DateTime m_requestedEndTime{};
200 bool m_exportIdHasBeenSet = false;
201 bool m_exportStatusHasBeenSet = false;
202 bool m_statusMessageHasBeenSet = false;
203 bool m_configurationsDownloadUrlHasBeenSet = false;
204 bool m_exportRequestTimeHasBeenSet = false;
205 bool m_isTruncatedHasBeenSet = false;
206 bool m_requestedStartTimeHasBeenSet = false;
207 bool m_requestedEndTimeHasBeenSet = false;
208};
209
210} // namespace Model
211} // namespace ApplicationDiscoveryService
212} // namespace Aws
void SetRequestedEndTime(RequestedEndTimeT &&value)
Definition ExportInfo.h:174
const Aws::Utils::DateTime & GetExportRequestTime() const
Definition ExportInfo.h:112
ExportInfo & WithStatusMessage(StatusMessageT &&value)
Definition ExportInfo.h:83
void SetExportRequestTime(ExportRequestTimeT &&value)
Definition ExportInfo.h:115
AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo()=default
void SetRequestedStartTime(RequestedStartTimeT &&value)
Definition ExportInfo.h:154
void SetStatusMessage(StatusMessageT &&value)
Definition ExportInfo.h:78
const Aws::Utils::DateTime & GetRequestedEndTime() const
Definition ExportInfo.h:171
ExportInfo & WithRequestedEndTime(RequestedEndTimeT &&value)
Definition ExportInfo.h:179
const Aws::Utils::DateTime & GetRequestedStartTime() const
Definition ExportInfo.h:151
ExportInfo & WithRequestedStartTime(RequestedStartTimeT &&value)
Definition ExportInfo.h:159
void SetConfigurationsDownloadUrl(ConfigurationsDownloadUrlT &&value)
Definition ExportInfo.h:97
ExportInfo & WithExportRequestTime(ExportRequestTimeT &&value)
Definition ExportInfo.h:120
AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConfigurationsDownloadUrl() const
Definition ExportInfo.h:94
AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportInfo & WithExportId(ExportIdT &&value)
Definition ExportInfo.h:49
ExportInfo & WithExportStatus(ExportStatus value)
Definition ExportInfo.h:65
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ExportInfo & WithConfigurationsDownloadUrl(ConfigurationsDownloadUrlT &&value)
Definition ExportInfo.h:102
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue