AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
DeleteTopicResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
24 public:
25 AWS_QUICKSIGHT_API DeleteTopicResult() = default;
28
30
33 inline const Aws::String& GetArn() const { return m_arn; }
34 template <typename ArnT = Aws::String>
35 void SetArn(ArnT&& value) {
36 m_arnHasBeenSet = true;
37 m_arn = std::forward<ArnT>(value);
38 }
39 template <typename ArnT = Aws::String>
40 DeleteTopicResult& WithArn(ArnT&& value) {
41 SetArn(std::forward<ArnT>(value));
42 return *this;
43 }
45
47
51 inline const Aws::String& GetTopicId() const { return m_topicId; }
52 template <typename TopicIdT = Aws::String>
53 void SetTopicId(TopicIdT&& value) {
54 m_topicIdHasBeenSet = true;
55 m_topicId = std::forward<TopicIdT>(value);
56 }
57 template <typename TopicIdT = Aws::String>
58 DeleteTopicResult& WithTopicId(TopicIdT&& value) {
59 SetTopicId(std::forward<TopicIdT>(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 DeleteTopicResult& 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 DeleteTopicResult& WithStatus(int value) {
89 SetStatus(value);
90 return *this;
91 }
93 private:
94 Aws::String m_arn;
95
96 Aws::String m_topicId;
97
98 Aws::String m_requestId;
99
100 int m_status{0};
101 bool m_arnHasBeenSet = false;
102 bool m_topicIdHasBeenSet = false;
103 bool m_requestIdHasBeenSet = false;
104 bool m_statusHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace QuickSight
109} // namespace Aws
AWS_QUICKSIGHT_API DeleteTopicResult()=default
DeleteTopicResult & WithStatus(int value)
DeleteTopicResult & WithTopicId(TopicIdT &&value)
AWS_QUICKSIGHT_API DeleteTopicResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API DeleteTopicResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteTopicResult & WithRequestId(RequestIdT &&value)
DeleteTopicResult & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue