AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeDashboardSnapshotJobResultResult.h
1
6#pragma once
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>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
32 {
33 public:
34 AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResultResult() = default;
37
38
40
45 inline const Aws::String& GetArn() const { return m_arn; }
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>
49 DescribeDashboardSnapshotJobResultResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
51
53
58 inline SnapshotJobStatus GetJobStatus() const { return m_jobStatus; }
59 inline void SetJobStatus(SnapshotJobStatus value) { m_jobStatusHasBeenSet = true; m_jobStatus = value; }
62
64
67 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
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>
71 DescribeDashboardSnapshotJobResultResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
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>
82 DescribeDashboardSnapshotJobResultResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
84
86
91 inline const SnapshotJobResult& GetResult() const { return m_result; }
92 template<typename ResultT = SnapshotJobResult>
93 void SetResult(ResultT&& value) { m_resultHasBeenSet = true; m_result = std::forward<ResultT>(value); }
94 template<typename ResultT = SnapshotJobResult>
95 DescribeDashboardSnapshotJobResultResult& WithResult(ResultT&& value) { SetResult(std::forward<ResultT>(value)); return *this;}
97
99
102 inline const SnapshotJobErrorInfo& GetErrorInfo() const { return m_errorInfo; }
103 template<typename ErrorInfoT = SnapshotJobErrorInfo>
104 void SetErrorInfo(ErrorInfoT&& value) { m_errorInfoHasBeenSet = true; m_errorInfo = std::forward<ErrorInfoT>(value); }
105 template<typename ErrorInfoT = SnapshotJobErrorInfo>
106 DescribeDashboardSnapshotJobResultResult& WithErrorInfo(ErrorInfoT&& value) { SetErrorInfo(std::forward<ErrorInfoT>(value)); return *this;}
108
110
111 inline const Aws::String& GetRequestId() const { return m_requestId; }
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>
115 DescribeDashboardSnapshotJobResultResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
117
119
122 inline int GetStatus() const { return m_status; }
123 inline void SetStatus(int value) { m_statusHasBeenSet = true; m_status = value; }
124 inline DescribeDashboardSnapshotJobResultResult& WithStatus(int value) { SetStatus(value); return *this;}
126 private:
127
128 Aws::String m_arn;
129 bool m_arnHasBeenSet = false;
130
132 bool m_jobStatusHasBeenSet = false;
133
134 Aws::Utils::DateTime m_createdTime{};
135 bool m_createdTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_lastUpdatedTime{};
138 bool m_lastUpdatedTimeHasBeenSet = false;
139
140 SnapshotJobResult m_result;
141 bool m_resultHasBeenSet = false;
142
143 SnapshotJobErrorInfo m_errorInfo;
144 bool m_errorInfoHasBeenSet = false;
145
146 Aws::String m_requestId;
147 bool m_requestIdHasBeenSet = false;
148
149 int m_status{0};
150 bool m_statusHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace QuickSight
155} // namespace Aws
DescribeDashboardSnapshotJobResultResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
DescribeDashboardSnapshotJobResultResult & WithResult(ResultT &&value)
DescribeDashboardSnapshotJobResultResult & WithJobStatus(SnapshotJobStatus value)
AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDashboardSnapshotJobResultResult & WithCreatedTime(CreatedTimeT &&value)
DescribeDashboardSnapshotJobResultResult & WithRequestId(RequestIdT &&value)
DescribeDashboardSnapshotJobResultResult & WithErrorInfo(ErrorInfoT &&value)
AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue