AWS SDK for C++

AWS SDK for C++ Version 1.11.782

Loading...
Searching...
No Matches
DeleteAnalysisResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/QuickSight_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
26 public:
27 AWS_QUICKSIGHT_API DeleteAnalysisResult() = default;
30
32
35 inline int GetStatus() const { return m_status; }
36 inline void SetStatus(int value) {
37 m_statusHasBeenSet = true;
38 m_status = value;
39 }
40 inline DeleteAnalysisResult& WithStatus(int value) {
41 SetStatus(value);
42 return *this;
43 }
45
47
50 inline const Aws::String& GetArn() const { return m_arn; }
51 template <typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) {
53 m_arnHasBeenSet = true;
54 m_arn = std::forward<ArnT>(value);
55 }
56 template <typename ArnT = Aws::String>
58 SetArn(std::forward<ArnT>(value));
59 return *this;
60 }
62
64
67 inline const Aws::String& GetAnalysisId() const { return m_analysisId; }
68 template <typename AnalysisIdT = Aws::String>
69 void SetAnalysisId(AnalysisIdT&& value) {
70 m_analysisIdHasBeenSet = true;
71 m_analysisId = std::forward<AnalysisIdT>(value);
72 }
73 template <typename AnalysisIdT = Aws::String>
74 DeleteAnalysisResult& WithAnalysisId(AnalysisIdT&& value) {
75 SetAnalysisId(std::forward<AnalysisIdT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::Utils::DateTime& GetDeletionTime() const { return m_deletionTime; }
85 template <typename DeletionTimeT = Aws::Utils::DateTime>
86 void SetDeletionTime(DeletionTimeT&& value) {
87 m_deletionTimeHasBeenSet = true;
88 m_deletionTime = std::forward<DeletionTimeT>(value);
89 }
90 template <typename DeletionTimeT = Aws::Utils::DateTime>
91 DeleteAnalysisResult& WithDeletionTime(DeletionTimeT&& value) {
92 SetDeletionTime(std::forward<DeletionTimeT>(value));
93 return *this;
94 }
96
98
99 inline const Aws::String& GetRequestId() const { return m_requestId; }
100 template <typename RequestIdT = Aws::String>
101 void SetRequestId(RequestIdT&& value) {
102 m_requestIdHasBeenSet = true;
103 m_requestId = std::forward<RequestIdT>(value);
104 }
105 template <typename RequestIdT = Aws::String>
106 DeleteAnalysisResult& WithRequestId(RequestIdT&& value) {
107 SetRequestId(std::forward<RequestIdT>(value));
108 return *this;
109 }
111 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
112
113 private:
114 int m_status{0};
115
116 Aws::String m_arn;
117
118 Aws::String m_analysisId;
119
120 Aws::Utils::DateTime m_deletionTime{};
121
122 Aws::String m_requestId;
123 Aws::Http::HttpResponseCode m_HttpResponseCode;
124 bool m_statusHasBeenSet = false;
125 bool m_arnHasBeenSet = false;
126 bool m_analysisIdHasBeenSet = false;
127 bool m_deletionTimeHasBeenSet = false;
128 bool m_requestIdHasBeenSet = false;
129};
130
131} // namespace Model
132} // namespace QuickSight
133} // namespace Aws
DeleteAnalysisResult & WithDeletionTime(DeletionTimeT &&value)
const Aws::Utils::DateTime & GetDeletionTime() const
DeleteAnalysisResult & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API DeleteAnalysisResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteAnalysisResult & WithAnalysisId(AnalysisIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_QUICKSIGHT_API DeleteAnalysisResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteAnalysisResult & WithStatus(int value)
AWS_QUICKSIGHT_API DeleteAnalysisResult()=default
DeleteAnalysisResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue