7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/SnapshotJobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/quicksight/model/SnapshotJobResult.h>
12#include <aws/quicksight/model/SnapshotJobErrorInfo.h>
17template<
typename RESULT_TYPE>
18class AmazonWebServiceResult;
46 template<
typename ArnT = Aws::String>
47 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
48 template<
typename ArnT = Aws::String>
68 template<
typename CreatedTimeT = Aws::Utils::DateTime>
69 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
70 template<
typename CreatedTimeT = Aws::Utils::DateTime>
79 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
80 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
81 template<
typename LastUpdatedTimeT = Aws::Utils::DateTime>
92 template<
typename ResultT = SnapshotJobResult>
93 void SetResult(ResultT&& value) { m_resultHasBeenSet =
true; m_result = std::forward<ResultT>(value); }
94 template<
typename ResultT = SnapshotJobResult>
103 template<
typename ErrorInfoT = SnapshotJobErrorInfo>
104 void SetErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet =
true; m_errorInfo = std::forward<ErrorInfoT>(value); }
105 template<
typename ErrorInfoT = SnapshotJobErrorInfo>
112 template<
typename RequestIdT = Aws::String>
113 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
114 template<
typename RequestIdT = Aws::String>
123 inline void SetStatus(
int value) { m_statusHasBeenSet =
true; m_status = value; }
129 bool m_arnHasBeenSet =
false;
132 bool m_jobStatusHasBeenSet =
false;
135 bool m_createdTimeHasBeenSet =
false;
138 bool m_lastUpdatedTimeHasBeenSet =
false;
140 SnapshotJobResult m_result;
141 bool m_resultHasBeenSet =
false;
143 SnapshotJobErrorInfo m_errorInfo;
144 bool m_errorInfoHasBeenSet =
false;
147 bool m_requestIdHasBeenSet =
false;
150 bool m_statusHasBeenSet =
false;
DescribeDashboardSnapshotJobResultResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
DescribeDashboardSnapshotJobResultResult & WithResult(ResultT &&value)
void SetArn(ArnT &&value)
void SetStatus(int value)
const Aws::Utils::DateTime & GetLastUpdatedTime() const
DescribeDashboardSnapshotJobResultResult & WithJobStatus(SnapshotJobStatus value)
const Aws::String & GetRequestId() const
void SetJobStatus(SnapshotJobStatus value)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
const SnapshotJobErrorInfo & GetErrorInfo() const
const Aws::Utils::DateTime & GetCreatedTime() const
AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDashboardSnapshotJobResultResult & WithCreatedTime(CreatedTimeT &&value)
DescribeDashboardSnapshotJobResultResult & WithRequestId(RequestIdT &&value)
void SetCreatedTime(CreatedTimeT &&value)
DescribeDashboardSnapshotJobResultResult & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResultResult()=default
void SetRequestId(RequestIdT &&value)
DescribeDashboardSnapshotJobResultResult & WithErrorInfo(ErrorInfoT &&value)
AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SnapshotJobStatus GetJobStatus() const
const SnapshotJobResult & GetResult() const
void SetResult(ResultT &&value)
void SetErrorInfo(ErrorInfoT &&value)
const Aws::String & GetArn() const
DescribeDashboardSnapshotJobResultResult & WithStatus(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue