AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeTopicPermissionsResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/ResourcePermission.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QUICKSIGHT_API DescribeTopicPermissionsResult();
35
36
38
42 inline const Aws::String& GetTopicId() const{ return m_topicId; }
43 inline void SetTopicId(const Aws::String& value) { m_topicId = value; }
44 inline void SetTopicId(Aws::String&& value) { m_topicId = std::move(value); }
45 inline void SetTopicId(const char* value) { m_topicId.assign(value); }
46 inline DescribeTopicPermissionsResult& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;}
47 inline DescribeTopicPermissionsResult& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;}
48 inline DescribeTopicPermissionsResult& WithTopicId(const char* value) { SetTopicId(value); return *this;}
50
52
55 inline const Aws::String& GetTopicArn() const{ return m_topicArn; }
56 inline void SetTopicArn(const Aws::String& value) { m_topicArn = value; }
57 inline void SetTopicArn(Aws::String&& value) { m_topicArn = std::move(value); }
58 inline void SetTopicArn(const char* value) { m_topicArn.assign(value); }
59 inline DescribeTopicPermissionsResult& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
60 inline DescribeTopicPermissionsResult& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
61 inline DescribeTopicPermissionsResult& WithTopicArn(const char* value) { SetTopicArn(value); return *this;}
63
65
68 inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
69 inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
70 inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
73 inline DescribeTopicPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
74 inline DescribeTopicPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
76
78
81 inline int GetStatus() const{ return m_status; }
82 inline void SetStatus(int value) { m_status = value; }
83 inline DescribeTopicPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline DescribeTopicPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline DescribeTopicPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline DescribeTopicPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_topicId;
99
100 Aws::String m_topicArn;
101
103
104 int m_status;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
DescribeTopicPermissionsResult & WithTopicArn(Aws::String &&value)
AWS_QUICKSIGHT_API DescribeTopicPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTopicPermissionsResult & AddPermissions(const ResourcePermission &value)
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
DescribeTopicPermissionsResult & WithRequestId(const Aws::String &value)
DescribeTopicPermissionsResult & WithTopicId(Aws::String &&value)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
DescribeTopicPermissionsResult & WithRequestId(Aws::String &&value)
DescribeTopicPermissionsResult & AddPermissions(ResourcePermission &&value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
DescribeTopicPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
DescribeTopicPermissionsResult & WithTopicId(const Aws::String &value)
DescribeTopicPermissionsResult & WithRequestId(const char *value)
DescribeTopicPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
DescribeTopicPermissionsResult & WithTopicId(const char *value)
DescribeTopicPermissionsResult & WithTopicArn(const char *value)
AWS_QUICKSIGHT_API DescribeTopicPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeTopicPermissionsResult & WithTopicArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue