AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
DeleteAnalysisResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.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 DeleteAnalysisResult() = default;
29
31
34 inline int GetStatus() const { return m_status; }
35 inline void SetStatus(int value) {
36 m_statusHasBeenSet = true;
37 m_status = value;
38 }
39 inline DeleteAnalysisResult& WithStatus(int value) {
40 SetStatus(value);
41 return *this;
42 }
44
46
49 inline const Aws::String& GetArn() const { return m_arn; }
50 template <typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) {
52 m_arnHasBeenSet = true;
53 m_arn = std::forward<ArnT>(value);
54 }
55 template <typename ArnT = Aws::String>
57 SetArn(std::forward<ArnT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::String& GetAnalysisId() const { return m_analysisId; }
67 template <typename AnalysisIdT = Aws::String>
68 void SetAnalysisId(AnalysisIdT&& value) {
69 m_analysisIdHasBeenSet = true;
70 m_analysisId = std::forward<AnalysisIdT>(value);
71 }
72 template <typename AnalysisIdT = Aws::String>
73 DeleteAnalysisResult& WithAnalysisId(AnalysisIdT&& value) {
74 SetAnalysisId(std::forward<AnalysisIdT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::Utils::DateTime& GetDeletionTime() const { return m_deletionTime; }
84 template <typename DeletionTimeT = Aws::Utils::DateTime>
85 void SetDeletionTime(DeletionTimeT&& value) {
86 m_deletionTimeHasBeenSet = true;
87 m_deletionTime = std::forward<DeletionTimeT>(value);
88 }
89 template <typename DeletionTimeT = Aws::Utils::DateTime>
90 DeleteAnalysisResult& WithDeletionTime(DeletionTimeT&& value) {
91 SetDeletionTime(std::forward<DeletionTimeT>(value));
92 return *this;
93 }
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template <typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) {
101 m_requestIdHasBeenSet = true;
102 m_requestId = std::forward<RequestIdT>(value);
103 }
104 template <typename RequestIdT = Aws::String>
105 DeleteAnalysisResult& WithRequestId(RequestIdT&& value) {
106 SetRequestId(std::forward<RequestIdT>(value));
107 return *this;
108 }
110 private:
111 int m_status{0};
112
113 Aws::String m_arn;
114
115 Aws::String m_analysisId;
116
117 Aws::Utils::DateTime m_deletionTime{};
118
119 Aws::String m_requestId;
120 bool m_statusHasBeenSet = false;
121 bool m_arnHasBeenSet = false;
122 bool m_analysisIdHasBeenSet = false;
123 bool m_deletionTimeHasBeenSet = false;
124 bool m_requestIdHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace QuickSight
129} // 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_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