AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
CancelIngestionResult.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 CancelIngestionResult() = 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
51 inline const Aws::String& GetIngestionId() const { return m_ingestionId; }
52 template <typename IngestionIdT = Aws::String>
53 void SetIngestionId(IngestionIdT&& value) {
54 m_ingestionIdHasBeenSet = true;
55 m_ingestionId = std::forward<IngestionIdT>(value);
56 }
57 template <typename IngestionIdT = Aws::String>
58 CancelIngestionResult& WithIngestionId(IngestionIdT&& value) {
59 SetIngestionId(std::forward<IngestionIdT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
73 CancelIngestionResult& WithRequestId(RequestIdT&& value) {
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78
80
83 inline int GetStatus() const { return m_status; }
84 inline void SetStatus(int value) {
85 m_statusHasBeenSet = true;
86 m_status = value;
87 }
88 inline CancelIngestionResult& WithStatus(int value) {
89 SetStatus(value);
90 return *this;
91 }
93 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
94
95 private:
96 Aws::String m_arn;
97
98 Aws::String m_ingestionId;
99
100 Aws::String m_requestId;
101
102 int m_status{0};
103 Aws::Http::HttpResponseCode m_HttpResponseCode;
104 bool m_arnHasBeenSet = false;
105 bool m_ingestionIdHasBeenSet = false;
106 bool m_requestIdHasBeenSet = false;
107 bool m_statusHasBeenSet = false;
108};
109
110} // namespace Model
111} // namespace QuickSight
112} // namespace Aws
AWS_QUICKSIGHT_API CancelIngestionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API CancelIngestionResult()=default
CancelIngestionResult & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API CancelIngestionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CancelIngestionResult & WithStatus(int value)
CancelIngestionResult & WithIngestionId(IngestionIdT &&value)
CancelIngestionResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue