AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
StartDashboardSnapshotJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
25 public:
26 AWS_QUICKSIGHT_API StartDashboardSnapshotJobResult() = default;
29
31
34 inline const Aws::String& GetArn() const { return m_arn; }
35 template <typename ArnT = Aws::String>
36 void SetArn(ArnT&& value) {
37 m_arnHasBeenSet = true;
38 m_arn = std::forward<ArnT>(value);
39 }
40 template <typename ArnT = Aws::String>
42 SetArn(std::forward<ArnT>(value));
43 return *this;
44 }
46
48
52 inline const Aws::String& GetSnapshotJobId() const { return m_snapshotJobId; }
53 template <typename SnapshotJobIdT = Aws::String>
54 void SetSnapshotJobId(SnapshotJobIdT&& value) {
55 m_snapshotJobIdHasBeenSet = true;
56 m_snapshotJobId = std::forward<SnapshotJobIdT>(value);
57 }
58 template <typename SnapshotJobIdT = Aws::String>
60 SetSnapshotJobId(std::forward<SnapshotJobIdT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79
81
84 inline int GetStatus() const { return m_status; }
85 inline void SetStatus(int value) {
86 m_statusHasBeenSet = true;
87 m_status = value;
88 }
90 SetStatus(value);
91 return *this;
92 }
94 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
95
96 private:
97 Aws::String m_arn;
98
99 Aws::String m_snapshotJobId;
100
101 Aws::String m_requestId;
102
103 int m_status{0};
104 Aws::Http::HttpResponseCode m_HttpResponseCode;
105 bool m_arnHasBeenSet = false;
106 bool m_snapshotJobIdHasBeenSet = false;
107 bool m_requestIdHasBeenSet = false;
108 bool m_statusHasBeenSet = false;
109};
110
111} // namespace Model
112} // namespace QuickSight
113} // namespace Aws
StartDashboardSnapshotJobResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API StartDashboardSnapshotJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API StartDashboardSnapshotJobResult()=default
AWS_QUICKSIGHT_API StartDashboardSnapshotJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartDashboardSnapshotJobResult & WithSnapshotJobId(SnapshotJobIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue