AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeThemePermissionsResult.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 DescribeThemePermissionsResult();
35
36
38
41 inline const Aws::String& GetThemeId() const{ return m_themeId; }
42 inline void SetThemeId(const Aws::String& value) { m_themeId = value; }
43 inline void SetThemeId(Aws::String&& value) { m_themeId = std::move(value); }
44 inline void SetThemeId(const char* value) { m_themeId.assign(value); }
45 inline DescribeThemePermissionsResult& WithThemeId(const Aws::String& value) { SetThemeId(value); return *this;}
46 inline DescribeThemePermissionsResult& WithThemeId(Aws::String&& value) { SetThemeId(std::move(value)); return *this;}
47 inline DescribeThemePermissionsResult& WithThemeId(const char* value) { SetThemeId(value); return *this;}
49
51
54 inline const Aws::String& GetThemeArn() const{ return m_themeArn; }
55 inline void SetThemeArn(const Aws::String& value) { m_themeArn = value; }
56 inline void SetThemeArn(Aws::String&& value) { m_themeArn = std::move(value); }
57 inline void SetThemeArn(const char* value) { m_themeArn.assign(value); }
58 inline DescribeThemePermissionsResult& WithThemeArn(const Aws::String& value) { SetThemeArn(value); return *this;}
59 inline DescribeThemePermissionsResult& WithThemeArn(Aws::String&& value) { SetThemeArn(std::move(value)); return *this;}
60 inline DescribeThemePermissionsResult& WithThemeArn(const char* value) { SetThemeArn(value); return *this;}
62
64
67 inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
68 inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
69 inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
72 inline DescribeThemePermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
73 inline DescribeThemePermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline DescribeThemePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline DescribeThemePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline DescribeThemePermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86
88
91 inline int GetStatus() const{ return m_status; }
92 inline void SetStatus(int value) { m_status = value; }
93 inline DescribeThemePermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
95 private:
96
97 Aws::String m_themeId;
98
99 Aws::String m_themeArn;
100
102
103 Aws::String m_requestId;
104
105 int m_status;
106 };
107
108} // namespace Model
109} // namespace QuickSight
110} // namespace Aws
DescribeThemePermissionsResult & AddPermissions(ResourcePermission &&value)
DescribeThemePermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
AWS_QUICKSIGHT_API DescribeThemePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeThemePermissionsResult & AddPermissions(const ResourcePermission &value)
DescribeThemePermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
DescribeThemePermissionsResult & WithThemeId(Aws::String &&value)
DescribeThemePermissionsResult & WithThemeArn(Aws::String &&value)
DescribeThemePermissionsResult & WithThemeId(const char *value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
DescribeThemePermissionsResult & WithThemeArn(const char *value)
DescribeThemePermissionsResult & WithRequestId(const char *value)
DescribeThemePermissionsResult & WithThemeId(const Aws::String &value)
DescribeThemePermissionsResult & WithRequestId(const Aws::String &value)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
DescribeThemePermissionsResult & WithRequestId(Aws::String &&value)
DescribeThemePermissionsResult & WithThemeArn(const Aws::String &value)
AWS_QUICKSIGHT_API DescribeThemePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue