AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
37
38
40
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline void SetArn(const Aws::String& value) { m_arn = value; }
47 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
48 inline void SetArn(const char* value) { m_arn.assign(value); }
49 inline DescribeDashboardSnapshotJobResultResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
50 inline DescribeDashboardSnapshotJobResultResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
51 inline DescribeDashboardSnapshotJobResultResult& WithArn(const char* value) { SetArn(value); return *this;}
53
55
60 inline const SnapshotJobStatus& GetJobStatus() const{ return m_jobStatus; }
61 inline void SetJobStatus(const SnapshotJobStatus& value) { m_jobStatus = value; }
62 inline void SetJobStatus(SnapshotJobStatus&& value) { m_jobStatus = std::move(value); }
64 inline DescribeDashboardSnapshotJobResultResult& WithJobStatus(SnapshotJobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
66
68
71 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
72 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
73 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
77
79
82 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
83 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTime = value; }
84 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTime = std::move(value); }
88
90
95 inline const SnapshotJobResult& GetResult() const{ return m_result; }
96 inline void SetResult(const SnapshotJobResult& value) { m_result = value; }
97 inline void SetResult(SnapshotJobResult&& value) { m_result = std::move(value); }
99 inline DescribeDashboardSnapshotJobResultResult& WithResult(SnapshotJobResult&& value) { SetResult(std::move(value)); return *this;}
101
103
106 inline const SnapshotJobErrorInfo& GetErrorInfo() const{ return m_errorInfo; }
107 inline void SetErrorInfo(const SnapshotJobErrorInfo& value) { m_errorInfo = value; }
108 inline void SetErrorInfo(SnapshotJobErrorInfo&& value) { m_errorInfo = std::move(value); }
112
114
115 inline const Aws::String& GetRequestId() const{ return m_requestId; }
116 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
117 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
118 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
120 inline DescribeDashboardSnapshotJobResultResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
121 inline DescribeDashboardSnapshotJobResultResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
123
125
128 inline int GetStatus() const{ return m_status; }
129 inline void SetStatus(int value) { m_status = value; }
130 inline DescribeDashboardSnapshotJobResultResult& WithStatus(int value) { SetStatus(value); return *this;}
132 private:
133
134 Aws::String m_arn;
135
136 SnapshotJobStatus m_jobStatus;
137
138 Aws::Utils::DateTime m_createdTime;
139
140 Aws::Utils::DateTime m_lastUpdatedTime;
141
142 SnapshotJobResult m_result;
143
144 SnapshotJobErrorInfo m_errorInfo;
145
146 Aws::String m_requestId;
147
148 int m_status;
149 };
150
151} // namespace Model
152} // namespace QuickSight
153} // namespace Aws
DescribeDashboardSnapshotJobResultResult & WithCreatedTime(const Aws::Utils::DateTime &value)
DescribeDashboardSnapshotJobResultResult & WithErrorInfo(const SnapshotJobErrorInfo &value)
DescribeDashboardSnapshotJobResultResult & WithJobStatus(const SnapshotJobStatus &value)
DescribeDashboardSnapshotJobResultResult & WithRequestId(Aws::String &&value)
DescribeDashboardSnapshotJobResultResult & WithErrorInfo(SnapshotJobErrorInfo &&value)
DescribeDashboardSnapshotJobResultResult & WithArn(Aws::String &&value)
DescribeDashboardSnapshotJobResultResult & WithJobStatus(SnapshotJobStatus &&value)
DescribeDashboardSnapshotJobResultResult & WithArn(const Aws::String &value)
AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDashboardSnapshotJobResultResult & WithRequestId(const char *value)
DescribeDashboardSnapshotJobResultResult & WithResult(const SnapshotJobResult &value)
DescribeDashboardSnapshotJobResultResult & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
DescribeDashboardSnapshotJobResultResult & WithResult(SnapshotJobResult &&value)
DescribeDashboardSnapshotJobResultResult & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
DescribeDashboardSnapshotJobResultResult & WithCreatedTime(Aws::Utils::DateTime &&value)
AWS_QUICKSIGHT_API DescribeDashboardSnapshotJobResultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDashboardSnapshotJobResultResult & WithRequestId(const Aws::String &value)
DescribeDashboardSnapshotJobResultResult & WithArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue