AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTopicResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/TopicDetails.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
29 {
30 public:
31 AWS_QUICKSIGHT_API DescribeTopicResult();
34
35
37
40 inline const Aws::String& GetArn() const{ return m_arn; }
41 inline void SetArn(const Aws::String& value) { m_arn = value; }
42 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
43 inline void SetArn(const char* value) { m_arn.assign(value); }
44 inline DescribeTopicResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
45 inline DescribeTopicResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
46 inline DescribeTopicResult& WithArn(const char* value) { SetArn(value); return *this;}
48
50
54 inline const Aws::String& GetTopicId() const{ return m_topicId; }
55 inline void SetTopicId(const Aws::String& value) { m_topicId = value; }
56 inline void SetTopicId(Aws::String&& value) { m_topicId = std::move(value); }
57 inline void SetTopicId(const char* value) { m_topicId.assign(value); }
58 inline DescribeTopicResult& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;}
59 inline DescribeTopicResult& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;}
60 inline DescribeTopicResult& WithTopicId(const char* value) { SetTopicId(value); return *this;}
62
64
67 inline const TopicDetails& GetTopic() const{ return m_topic; }
68 inline void SetTopic(const TopicDetails& value) { m_topic = value; }
69 inline void SetTopic(TopicDetails&& value) { m_topic = std::move(value); }
70 inline DescribeTopicResult& WithTopic(const TopicDetails& value) { SetTopic(value); return *this;}
71 inline DescribeTopicResult& WithTopic(TopicDetails&& value) { SetTopic(std::move(value)); return *this;}
73
75
76 inline const Aws::String& GetRequestId() const{ return m_requestId; }
77 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
78 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
79 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
80 inline DescribeTopicResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
81 inline DescribeTopicResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
82 inline DescribeTopicResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
84
86
89 inline int GetStatus() const{ return m_status; }
90 inline void SetStatus(int value) { m_status = value; }
91 inline DescribeTopicResult& WithStatus(int value) { SetStatus(value); return *this;}
93 private:
94
95 Aws::String m_arn;
96
97 Aws::String m_topicId;
98
99 TopicDetails m_topic;
100
101 Aws::String m_requestId;
102
103 int m_status;
104 };
105
106} // namespace Model
107} // namespace QuickSight
108} // namespace Aws
DescribeTopicResult & WithTopicId(const Aws::String &value)
void SetRequestId(const Aws::String &value)
DescribeTopicResult & WithStatus(int value)
DescribeTopicResult & WithTopicId(Aws::String &&value)
DescribeTopicResult & WithArn(const char *value)
DescribeTopicResult & WithTopicId(const char *value)
DescribeTopicResult & WithRequestId(const Aws::String &value)
DescribeTopicResult & WithArn(Aws::String &&value)
AWS_QUICKSIGHT_API DescribeTopicResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTopicResult & WithRequestId(const char *value)
DescribeTopicResult & WithTopic(TopicDetails &&value)
AWS_QUICKSIGHT_API DescribeTopicResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTopicResult & WithTopic(const TopicDetails &value)
DescribeTopicResult & WithRequestId(Aws::String &&value)
DescribeTopicResult & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue