7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/logs/CloudWatchLogs_EXPORTS.h>
9#include <aws/logs/model/ImportFilter.h>
10#include <aws/logs/model/ImportStatistics.h>
11#include <aws/logs/model/ImportStatus.h>
22namespace CloudWatchLogs {
33 AWS_CLOUDWATCHLOGS_API
Import() =
default;
44 template <
typename ImportIdT = Aws::String>
46 m_importIdHasBeenSet =
true;
47 m_importId = std::forward<ImportIdT>(value);
49 template <
typename ImportIdT = Aws::String>
62 template <
typename ImportSourceArnT = Aws::String>
64 m_importSourceArnHasBeenSet =
true;
65 m_importSourceArn = std::forward<ImportSourceArnT>(value);
67 template <
typename ImportSourceArnT = Aws::String>
82 m_importStatusHasBeenSet =
true;
83 m_importStatus = value;
98 template <
typename ImportDestinationArnT = Aws::String>
100 m_importDestinationArnHasBeenSet =
true;
101 m_importDestinationArn = std::forward<ImportDestinationArnT>(value);
103 template <
typename ImportDestinationArnT = Aws::String>
116 template <
typename ImportStatisticsT = ImportStatistics>
118 m_importStatisticsHasBeenSet =
true;
119 m_importStatistics = std::forward<ImportStatisticsT>(value);
121 template <
typename ImportStatisticsT = ImportStatistics>
134 template <
typename ImportFilterT = ImportFilter>
136 m_importFilterHasBeenSet =
true;
137 m_importFilter = std::forward<ImportFilterT>(value);
139 template <
typename ImportFilterT = ImportFilter>
154 m_creationTimeHasBeenSet =
true;
155 m_creationTime = value;
171 m_lastUpdatedTimeHasBeenSet =
true;
172 m_lastUpdatedTime = value;
186 template <
typename ErrorMessageT = Aws::String>
188 m_errorMessageHasBeenSet =
true;
189 m_errorMessage = std::forward<ErrorMessageT>(value);
191 template <
typename ErrorMessageT = Aws::String>
206 ImportStatistics m_importStatistics;
208 ImportFilter m_importFilter;
210 long long m_creationTime{0};
212 long long m_lastUpdatedTime{0};
215 bool m_importIdHasBeenSet =
false;
216 bool m_importSourceArnHasBeenSet =
false;
217 bool m_importStatusHasBeenSet =
false;
218 bool m_importDestinationArnHasBeenSet =
false;
219 bool m_importStatisticsHasBeenSet =
false;
220 bool m_importFilterHasBeenSet =
false;
221 bool m_creationTimeHasBeenSet =
false;
222 bool m_lastUpdatedTimeHasBeenSet =
false;
223 bool m_errorMessageHasBeenSet =
false;
long long GetCreationTime() const
bool ImportIdHasBeenSet() const
void SetImportId(ImportIdT &&value)
bool ImportSourceArnHasBeenSet() const
Import & WithImportDestinationArn(ImportDestinationArnT &&value)
Import & WithImportSourceArn(ImportSourceArnT &&value)
const Aws::String & GetImportSourceArn() const
bool ErrorMessageHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Import()=default
bool ImportStatisticsHasBeenSet() const
Import & WithImportFilter(ImportFilterT &&value)
bool CreationTimeHasBeenSet() const
AWS_CLOUDWATCHLOGS_API Import(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(long long value)
bool ImportFilterHasBeenSet() const
void SetImportStatus(ImportStatus value)
void SetErrorMessage(ErrorMessageT &&value)
void SetImportStatistics(ImportStatisticsT &&value)
Import & WithErrorMessage(ErrorMessageT &&value)
void SetImportDestinationArn(ImportDestinationArnT &&value)
ImportStatus GetImportStatus() const
bool LastUpdatedTimeHasBeenSet() const
Import & WithImportId(ImportIdT &&value)
void SetImportSourceArn(ImportSourceArnT &&value)
void SetImportFilter(ImportFilterT &&value)
const ImportFilter & GetImportFilter() const
const Aws::String & GetImportDestinationArn() const
Import & WithLastUpdatedTime(long long value)
const ImportStatistics & GetImportStatistics() const
long long GetLastUpdatedTime() const
const Aws::String & GetImportId() const
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetErrorMessage() const
Import & WithImportStatus(ImportStatus value)
Import & WithImportStatistics(ImportStatisticsT &&value)
AWS_CLOUDWATCHLOGS_API Import & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCreationTime(long long value)
bool ImportDestinationArnHasBeenSet() const
bool ImportStatusHasBeenSet() const
Import & WithCreationTime(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue