AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTopicPermissionsResult.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 UpdateTopicPermissionsResult();
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 UpdateTopicPermissionsResult& WithTopicId(const Aws::String& value) { SetTopicId(value); return *this;}
47 inline UpdateTopicPermissionsResult& WithTopicId(Aws::String&& value) { SetTopicId(std::move(value)); return *this;}
48 inline UpdateTopicPermissionsResult& 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 UpdateTopicPermissionsResult& WithTopicArn(const Aws::String& value) { SetTopicArn(value); return *this;}
60 inline UpdateTopicPermissionsResult& WithTopicArn(Aws::String&& value) { SetTopicArn(std::move(value)); return *this;}
61 inline UpdateTopicPermissionsResult& 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 UpdateTopicPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
74 inline UpdateTopicPermissionsResult& 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 UpdateTopicPermissionsResult& 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 UpdateTopicPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline UpdateTopicPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline UpdateTopicPermissionsResult& 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
AWS_QUICKSIGHT_API UpdateTopicPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateTopicPermissionsResult & AddPermissions(ResourcePermission &&value)
UpdateTopicPermissionsResult & WithTopicArn(const Aws::String &value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
UpdateTopicPermissionsResult & WithTopicId(const char *value)
UpdateTopicPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
UpdateTopicPermissionsResult & WithTopicId(Aws::String &&value)
AWS_QUICKSIGHT_API UpdateTopicPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateTopicPermissionsResult & WithRequestId(Aws::String &&value)
UpdateTopicPermissionsResult & WithTopicArn(Aws::String &&value)
UpdateTopicPermissionsResult & WithRequestId(const char *value)
UpdateTopicPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
UpdateTopicPermissionsResult & WithTopicArn(const char *value)
UpdateTopicPermissionsResult & WithRequestId(const Aws::String &value)
UpdateTopicPermissionsResult & WithTopicId(const Aws::String &value)
UpdateTopicPermissionsResult & AddPermissions(const ResourcePermission &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