AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CancelIngestionResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
28 {
29 public:
30 AWS_QUICKSIGHT_API CancelIngestionResult() = default;
33
34
36
39 inline const Aws::String& GetArn() const { return m_arn; }
40 template<typename ArnT = Aws::String>
41 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
42 template<typename ArnT = Aws::String>
43 CancelIngestionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
45
47
50 inline const Aws::String& GetIngestionId() const { return m_ingestionId; }
51 template<typename IngestionIdT = Aws::String>
52 void SetIngestionId(IngestionIdT&& value) { m_ingestionIdHasBeenSet = true; m_ingestionId = std::forward<IngestionIdT>(value); }
53 template<typename IngestionIdT = Aws::String>
54 CancelIngestionResult& WithIngestionId(IngestionIdT&& value) { SetIngestionId(std::forward<IngestionIdT>(value)); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const { return m_requestId; }
60 template<typename RequestIdT = Aws::String>
61 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
62 template<typename RequestIdT = Aws::String>
63 CancelIngestionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
65
67
70 inline int GetStatus() const { return m_status; }
71 inline void SetStatus(int value) { m_statusHasBeenSet = true; m_status = value; }
72 inline CancelIngestionResult& WithStatus(int value) { SetStatus(value); return *this;}
74 private:
75
76 Aws::String m_arn;
77 bool m_arnHasBeenSet = false;
78
79 Aws::String m_ingestionId;
80 bool m_ingestionIdHasBeenSet = false;
81
82 Aws::String m_requestId;
83 bool m_requestIdHasBeenSet = false;
84
85 int m_status{0};
86 bool m_statusHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace QuickSight
91} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue