AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateTopicResult.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 CreateTopicResult() = 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 CreateTopicResult& 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 CreateTopicResult& WithTopicId(TopicIdT&& value) { SetTopicId(std::forward<TopicIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetRefreshArn() const { return m_refreshArn; }
63 template<typename RefreshArnT = Aws::String>
64 void SetRefreshArn(RefreshArnT&& value) { m_refreshArnHasBeenSet = true; m_refreshArn = std::forward<RefreshArnT>(value); }
65 template<typename RefreshArnT = Aws::String>
66 CreateTopicResult& WithRefreshArn(RefreshArnT&& value) { SetRefreshArn(std::forward<RefreshArnT>(value)); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const { return m_requestId; }
72 template<typename RequestIdT = Aws::String>
73 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
74 template<typename RequestIdT = Aws::String>
75 CreateTopicResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
77
79
82 inline int GetStatus() const { return m_status; }
83 inline void SetStatus(int value) { m_statusHasBeenSet = true; m_status = value; }
84 inline CreateTopicResult& WithStatus(int value) { SetStatus(value); return *this;}
86 private:
87
88 Aws::String m_arn;
89 bool m_arnHasBeenSet = false;
90
91 Aws::String m_topicId;
92 bool m_topicIdHasBeenSet = false;
93
94 Aws::String m_refreshArn;
95 bool m_refreshArnHasBeenSet = false;
96
97 Aws::String m_requestId;
98 bool m_requestIdHasBeenSet = false;
99
100 int m_status{0};
101 bool m_statusHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace QuickSight
106} // namespace Aws
CreateTopicResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API CreateTopicResult()=default
CreateTopicResult & WithTopicId(TopicIdT &&value)
const Aws::String & GetRefreshArn() const
AWS_QUICKSIGHT_API CreateTopicResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTopicResult & WithArn(ArnT &&value)
AWS_QUICKSIGHT_API CreateTopicResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateTopicResult & WithStatus(int value)
CreateTopicResult & WithRefreshArn(RefreshArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue