AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExportInfo.h
1
6#pragma once
7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/discovery/model/ExportStatus.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 ApplicationDiscoveryService
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo() = default;
38 AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetExportId() const { return m_exportId; }
48 inline bool ExportIdHasBeenSet() const { return m_exportIdHasBeenSet; }
49 template<typename ExportIdT = Aws::String>
50 void SetExportId(ExportIdT&& value) { m_exportIdHasBeenSet = true; m_exportId = std::forward<ExportIdT>(value); }
51 template<typename ExportIdT = Aws::String>
52 ExportInfo& WithExportId(ExportIdT&& value) { SetExportId(std::forward<ExportIdT>(value)); return *this;}
54
56
59 inline ExportStatus GetExportStatus() const { return m_exportStatus; }
60 inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; }
61 inline void SetExportStatus(ExportStatus value) { m_exportStatusHasBeenSet = true; m_exportStatus = value; }
62 inline ExportInfo& WithExportStatus(ExportStatus value) { SetExportStatus(value); return *this;}
64
66
69 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
70 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
71 template<typename StatusMessageT = Aws::String>
72 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::forward<StatusMessageT>(value); }
73 template<typename StatusMessageT = Aws::String>
74 ExportInfo& WithStatusMessage(StatusMessageT&& value) { SetStatusMessage(std::forward<StatusMessageT>(value)); return *this;}
76
78
82 inline const Aws::String& GetConfigurationsDownloadUrl() const { return m_configurationsDownloadUrl; }
83 inline bool ConfigurationsDownloadUrlHasBeenSet() const { return m_configurationsDownloadUrlHasBeenSet; }
84 template<typename ConfigurationsDownloadUrlT = Aws::String>
85 void SetConfigurationsDownloadUrl(ConfigurationsDownloadUrlT&& value) { m_configurationsDownloadUrlHasBeenSet = true; m_configurationsDownloadUrl = std::forward<ConfigurationsDownloadUrlT>(value); }
86 template<typename ConfigurationsDownloadUrlT = Aws::String>
87 ExportInfo& WithConfigurationsDownloadUrl(ConfigurationsDownloadUrlT&& value) { SetConfigurationsDownloadUrl(std::forward<ConfigurationsDownloadUrlT>(value)); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetExportRequestTime() const { return m_exportRequestTime; }
95 inline bool ExportRequestTimeHasBeenSet() const { return m_exportRequestTimeHasBeenSet; }
96 template<typename ExportRequestTimeT = Aws::Utils::DateTime>
97 void SetExportRequestTime(ExportRequestTimeT&& value) { m_exportRequestTimeHasBeenSet = true; m_exportRequestTime = std::forward<ExportRequestTimeT>(value); }
98 template<typename ExportRequestTimeT = Aws::Utils::DateTime>
99 ExportInfo& WithExportRequestTime(ExportRequestTimeT&& value) { SetExportRequestTime(std::forward<ExportRequestTimeT>(value)); return *this;}
101
103
109 inline bool GetIsTruncated() const { return m_isTruncated; }
110 inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
111 inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
112 inline ExportInfo& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
114
116
121 inline const Aws::Utils::DateTime& GetRequestedStartTime() const { return m_requestedStartTime; }
122 inline bool RequestedStartTimeHasBeenSet() const { return m_requestedStartTimeHasBeenSet; }
123 template<typename RequestedStartTimeT = Aws::Utils::DateTime>
124 void SetRequestedStartTime(RequestedStartTimeT&& value) { m_requestedStartTimeHasBeenSet = true; m_requestedStartTime = std::forward<RequestedStartTimeT>(value); }
125 template<typename RequestedStartTimeT = Aws::Utils::DateTime>
126 ExportInfo& WithRequestedStartTime(RequestedStartTimeT&& value) { SetRequestedStartTime(std::forward<RequestedStartTimeT>(value)); return *this;}
128
130
135 inline const Aws::Utils::DateTime& GetRequestedEndTime() const { return m_requestedEndTime; }
136 inline bool RequestedEndTimeHasBeenSet() const { return m_requestedEndTimeHasBeenSet; }
137 template<typename RequestedEndTimeT = Aws::Utils::DateTime>
138 void SetRequestedEndTime(RequestedEndTimeT&& value) { m_requestedEndTimeHasBeenSet = true; m_requestedEndTime = std::forward<RequestedEndTimeT>(value); }
139 template<typename RequestedEndTimeT = Aws::Utils::DateTime>
140 ExportInfo& WithRequestedEndTime(RequestedEndTimeT&& value) { SetRequestedEndTime(std::forward<RequestedEndTimeT>(value)); return *this;}
142 private:
143
144 Aws::String m_exportId;
145 bool m_exportIdHasBeenSet = false;
146
147 ExportStatus m_exportStatus{ExportStatus::NOT_SET};
148 bool m_exportStatusHasBeenSet = false;
149
150 Aws::String m_statusMessage;
151 bool m_statusMessageHasBeenSet = false;
152
153 Aws::String m_configurationsDownloadUrl;
154 bool m_configurationsDownloadUrlHasBeenSet = false;
155
156 Aws::Utils::DateTime m_exportRequestTime{};
157 bool m_exportRequestTimeHasBeenSet = false;
158
159 bool m_isTruncated{false};
160 bool m_isTruncatedHasBeenSet = false;
161
162 Aws::Utils::DateTime m_requestedStartTime{};
163 bool m_requestedStartTimeHasBeenSet = false;
164
165 Aws::Utils::DateTime m_requestedEndTime{};
166 bool m_requestedEndTimeHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace ApplicationDiscoveryService
171} // namespace Aws
void SetRequestedEndTime(RequestedEndTimeT &&value)
Definition ExportInfo.h:138
const Aws::Utils::DateTime & GetExportRequestTime() const
Definition ExportInfo.h:94
ExportInfo & WithStatusMessage(StatusMessageT &&value)
Definition ExportInfo.h:74
void SetExportRequestTime(ExportRequestTimeT &&value)
Definition ExportInfo.h:97
AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo()=default
void SetRequestedStartTime(RequestedStartTimeT &&value)
Definition ExportInfo.h:124
void SetStatusMessage(StatusMessageT &&value)
Definition ExportInfo.h:72
const Aws::Utils::DateTime & GetRequestedEndTime() const
Definition ExportInfo.h:135
ExportInfo & WithRequestedEndTime(RequestedEndTimeT &&value)
Definition ExportInfo.h:140
const Aws::Utils::DateTime & GetRequestedStartTime() const
Definition ExportInfo.h:121
ExportInfo & WithRequestedStartTime(RequestedStartTimeT &&value)
Definition ExportInfo.h:126
void SetConfigurationsDownloadUrl(ConfigurationsDownloadUrlT &&value)
Definition ExportInfo.h:85
ExportInfo & WithExportRequestTime(ExportRequestTimeT &&value)
Definition ExportInfo.h:99
AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetConfigurationsDownloadUrl() const
Definition ExportInfo.h:82
AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ExportInfo & WithExportId(ExportIdT &&value)
Definition ExportInfo.h:52
ExportInfo & WithExportStatus(ExportStatus value)
Definition ExportInfo.h:62
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ExportInfo & WithConfigurationsDownloadUrl(ConfigurationsDownloadUrlT &&value)
Definition ExportInfo.h:87
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue