AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteTopicResult.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 DeleteTopicResult() = 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 DeleteTopicResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
45
47
51 inline const Aws::String& GetTopicId() const { return m_topicId; }
52 template<typename TopicIdT = Aws::String>
53 void SetTopicId(TopicIdT&& value) { m_topicIdHasBeenSet = true; m_topicId = std::forward<TopicIdT>(value); }
54 template<typename TopicIdT = Aws::String>
55 DeleteTopicResult& WithTopicId(TopicIdT&& value) { SetTopicId(std::forward<TopicIdT>(value)); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 DeleteTopicResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66
68
71 inline int GetStatus() const { return m_status; }
72 inline void SetStatus(int value) { m_statusHasBeenSet = true; m_status = value; }
73 inline DeleteTopicResult& WithStatus(int value) { SetStatus(value); return *this;}
75 private:
76
77 Aws::String m_arn;
78 bool m_arnHasBeenSet = false;
79
80 Aws::String m_topicId;
81 bool m_topicIdHasBeenSet = false;
82
83 Aws::String m_requestId;
84 bool m_requestIdHasBeenSet = false;
85
86 int m_status{0};
87 bool m_statusHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QuickSight
92} // 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