AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExportId(const Aws::String& value) { m_exportIdHasBeenSet = true; m_exportId = value; }
50 inline void SetExportId(Aws::String&& value) { m_exportIdHasBeenSet = true; m_exportId = std::move(value); }
51 inline void SetExportId(const char* value) { m_exportIdHasBeenSet = true; m_exportId.assign(value); }
52 inline ExportInfo& WithExportId(const Aws::String& value) { SetExportId(value); return *this;}
53 inline ExportInfo& WithExportId(Aws::String&& value) { SetExportId(std::move(value)); return *this;}
54 inline ExportInfo& WithExportId(const char* value) { SetExportId(value); return *this;}
56
58
61 inline const ExportStatus& GetExportStatus() const{ return m_exportStatus; }
62 inline bool ExportStatusHasBeenSet() const { return m_exportStatusHasBeenSet; }
63 inline void SetExportStatus(const ExportStatus& value) { m_exportStatusHasBeenSet = true; m_exportStatus = value; }
64 inline void SetExportStatus(ExportStatus&& value) { m_exportStatusHasBeenSet = true; m_exportStatus = std::move(value); }
65 inline ExportInfo& WithExportStatus(const ExportStatus& value) { SetExportStatus(value); return *this;}
66 inline ExportInfo& WithExportStatus(ExportStatus&& value) { SetExportStatus(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
74 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
75 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
76 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
77 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
78 inline ExportInfo& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
79 inline ExportInfo& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
80 inline ExportInfo& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
82
84
88 inline const Aws::String& GetConfigurationsDownloadUrl() const{ return m_configurationsDownloadUrl; }
89 inline bool ConfigurationsDownloadUrlHasBeenSet() const { return m_configurationsDownloadUrlHasBeenSet; }
90 inline void SetConfigurationsDownloadUrl(const Aws::String& value) { m_configurationsDownloadUrlHasBeenSet = true; m_configurationsDownloadUrl = value; }
91 inline void SetConfigurationsDownloadUrl(Aws::String&& value) { m_configurationsDownloadUrlHasBeenSet = true; m_configurationsDownloadUrl = std::move(value); }
92 inline void SetConfigurationsDownloadUrl(const char* value) { m_configurationsDownloadUrlHasBeenSet = true; m_configurationsDownloadUrl.assign(value); }
94 inline ExportInfo& WithConfigurationsDownloadUrl(Aws::String&& value) { SetConfigurationsDownloadUrl(std::move(value)); return *this;}
95 inline ExportInfo& WithConfigurationsDownloadUrl(const char* value) { SetConfigurationsDownloadUrl(value); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetExportRequestTime() const{ return m_exportRequestTime; }
103 inline bool ExportRequestTimeHasBeenSet() const { return m_exportRequestTimeHasBeenSet; }
104 inline void SetExportRequestTime(const Aws::Utils::DateTime& value) { m_exportRequestTimeHasBeenSet = true; m_exportRequestTime = value; }
105 inline void SetExportRequestTime(Aws::Utils::DateTime&& value) { m_exportRequestTimeHasBeenSet = true; m_exportRequestTime = std::move(value); }
106 inline ExportInfo& WithExportRequestTime(const Aws::Utils::DateTime& value) { SetExportRequestTime(value); return *this;}
107 inline ExportInfo& WithExportRequestTime(Aws::Utils::DateTime&& value) { SetExportRequestTime(std::move(value)); return *this;}
109
111
117 inline bool GetIsTruncated() const{ return m_isTruncated; }
118 inline bool IsTruncatedHasBeenSet() const { return m_isTruncatedHasBeenSet; }
119 inline void SetIsTruncated(bool value) { m_isTruncatedHasBeenSet = true; m_isTruncated = value; }
120 inline ExportInfo& WithIsTruncated(bool value) { SetIsTruncated(value); return *this;}
122
124
129 inline const Aws::Utils::DateTime& GetRequestedStartTime() const{ return m_requestedStartTime; }
130 inline bool RequestedStartTimeHasBeenSet() const { return m_requestedStartTimeHasBeenSet; }
131 inline void SetRequestedStartTime(const Aws::Utils::DateTime& value) { m_requestedStartTimeHasBeenSet = true; m_requestedStartTime = value; }
132 inline void SetRequestedStartTime(Aws::Utils::DateTime&& value) { m_requestedStartTimeHasBeenSet = true; m_requestedStartTime = std::move(value); }
134 inline ExportInfo& WithRequestedStartTime(Aws::Utils::DateTime&& value) { SetRequestedStartTime(std::move(value)); return *this;}
136
138
143 inline const Aws::Utils::DateTime& GetRequestedEndTime() const{ return m_requestedEndTime; }
144 inline bool RequestedEndTimeHasBeenSet() const { return m_requestedEndTimeHasBeenSet; }
145 inline void SetRequestedEndTime(const Aws::Utils::DateTime& value) { m_requestedEndTimeHasBeenSet = true; m_requestedEndTime = value; }
146 inline void SetRequestedEndTime(Aws::Utils::DateTime&& value) { m_requestedEndTimeHasBeenSet = true; m_requestedEndTime = std::move(value); }
147 inline ExportInfo& WithRequestedEndTime(const Aws::Utils::DateTime& value) { SetRequestedEndTime(value); return *this;}
148 inline ExportInfo& WithRequestedEndTime(Aws::Utils::DateTime&& value) { SetRequestedEndTime(std::move(value)); return *this;}
150 private:
151
152 Aws::String m_exportId;
153 bool m_exportIdHasBeenSet = false;
154
155 ExportStatus m_exportStatus;
156 bool m_exportStatusHasBeenSet = false;
157
158 Aws::String m_statusMessage;
159 bool m_statusMessageHasBeenSet = false;
160
161 Aws::String m_configurationsDownloadUrl;
162 bool m_configurationsDownloadUrlHasBeenSet = false;
163
164 Aws::Utils::DateTime m_exportRequestTime;
165 bool m_exportRequestTimeHasBeenSet = false;
166
167 bool m_isTruncated;
168 bool m_isTruncatedHasBeenSet = false;
169
170 Aws::Utils::DateTime m_requestedStartTime;
171 bool m_requestedStartTimeHasBeenSet = false;
172
173 Aws::Utils::DateTime m_requestedEndTime;
174 bool m_requestedEndTimeHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace ApplicationDiscoveryService
179} // namespace Aws
AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo()
ExportInfo & WithConfigurationsDownloadUrl(const Aws::String &value)
Definition ExportInfo.h:93
const Aws::Utils::DateTime & GetExportRequestTime() const
Definition ExportInfo.h:102
void SetExportRequestTime(const Aws::Utils::DateTime &value)
Definition ExportInfo.h:104
void SetStatusMessage(const Aws::String &value)
Definition ExportInfo.h:75
ExportInfo & WithStatusMessage(const Aws::String &value)
Definition ExportInfo.h:78
void SetExportRequestTime(Aws::Utils::DateTime &&value)
Definition ExportInfo.h:105
void SetRequestedEndTime(Aws::Utils::DateTime &&value)
Definition ExportInfo.h:146
void SetConfigurationsDownloadUrl(Aws::String &&value)
Definition ExportInfo.h:91
ExportInfo & WithExportStatus(const ExportStatus &value)
Definition ExportInfo.h:65
ExportInfo & WithConfigurationsDownloadUrl(const char *value)
Definition ExportInfo.h:95
ExportInfo & WithRequestedEndTime(Aws::Utils::DateTime &&value)
Definition ExportInfo.h:148
ExportInfo & WithExportId(const char *value)
Definition ExportInfo.h:54
ExportInfo & WithExportId(const Aws::String &value)
Definition ExportInfo.h:52
const Aws::Utils::DateTime & GetRequestedEndTime() const
Definition ExportInfo.h:143
const Aws::Utils::DateTime & GetRequestedStartTime() const
Definition ExportInfo.h:129
ExportInfo & WithConfigurationsDownloadUrl(Aws::String &&value)
Definition ExportInfo.h:94
ExportInfo & WithRequestedStartTime(Aws::Utils::DateTime &&value)
Definition ExportInfo.h:134
void SetConfigurationsDownloadUrl(const Aws::String &value)
Definition ExportInfo.h:90
ExportInfo & WithStatusMessage(const char *value)
Definition ExportInfo.h:80
ExportInfo & WithExportStatus(ExportStatus &&value)
Definition ExportInfo.h:66
void SetRequestedStartTime(Aws::Utils::DateTime &&value)
Definition ExportInfo.h:132
ExportInfo & WithStatusMessage(Aws::String &&value)
Definition ExportInfo.h:79
void SetRequestedEndTime(const Aws::Utils::DateTime &value)
Definition ExportInfo.h:145
AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo(Aws::Utils::Json::JsonView jsonValue)
void SetRequestedStartTime(const Aws::Utils::DateTime &value)
Definition ExportInfo.h:131
ExportInfo & WithExportRequestTime(const Aws::Utils::DateTime &value)
Definition ExportInfo.h:106
const Aws::String & GetConfigurationsDownloadUrl() const
Definition ExportInfo.h:88
ExportInfo & WithExportId(Aws::String &&value)
Definition ExportInfo.h:53
ExportInfo & WithRequestedStartTime(const Aws::Utils::DateTime &value)
Definition ExportInfo.h:133
ExportInfo & WithExportRequestTime(Aws::Utils::DateTime &&value)
Definition ExportInfo.h:107
AWS_APPLICATIONDISCOVERYSERVICE_API ExportInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetExportId(const Aws::String &value)
Definition ExportInfo.h:49
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetExportStatus(const ExportStatus &value)
Definition ExportInfo.h:63
ExportInfo & WithRequestedEndTime(const Aws::Utils::DateTime &value)
Definition ExportInfo.h:147
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue