AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDataSetPermissionsResult.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:
35
36
38
41 inline const Aws::String& GetDataSetArn() const{ return m_dataSetArn; }
42 inline void SetDataSetArn(const Aws::String& value) { m_dataSetArn = value; }
43 inline void SetDataSetArn(Aws::String&& value) { m_dataSetArn = std::move(value); }
44 inline void SetDataSetArn(const char* value) { m_dataSetArn.assign(value); }
45 inline DescribeDataSetPermissionsResult& WithDataSetArn(const Aws::String& value) { SetDataSetArn(value); return *this;}
46 inline DescribeDataSetPermissionsResult& WithDataSetArn(Aws::String&& value) { SetDataSetArn(std::move(value)); return *this;}
47 inline DescribeDataSetPermissionsResult& WithDataSetArn(const char* value) { SetDataSetArn(value); return *this;}
49
51
55 inline const Aws::String& GetDataSetId() const{ return m_dataSetId; }
56 inline void SetDataSetId(const Aws::String& value) { m_dataSetId = value; }
57 inline void SetDataSetId(Aws::String&& value) { m_dataSetId = std::move(value); }
58 inline void SetDataSetId(const char* value) { m_dataSetId.assign(value); }
59 inline DescribeDataSetPermissionsResult& WithDataSetId(const Aws::String& value) { SetDataSetId(value); return *this;}
60 inline DescribeDataSetPermissionsResult& WithDataSetId(Aws::String&& value) { SetDataSetId(std::move(value)); return *this;}
61 inline DescribeDataSetPermissionsResult& WithDataSetId(const char* value) { SetDataSetId(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 DescribeDataSetPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
74 inline DescribeDataSetPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
76
78
79 inline const Aws::String& GetRequestId() const{ return m_requestId; }
80 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
81 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
82 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
83 inline DescribeDataSetPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline DescribeDataSetPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline DescribeDataSetPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
87
89
92 inline int GetStatus() const{ return m_status; }
93 inline void SetStatus(int value) { m_status = value; }
94 inline DescribeDataSetPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
96 private:
97
98 Aws::String m_dataSetArn;
99
100 Aws::String m_dataSetId;
101
103
104 Aws::String m_requestId;
105
106 int m_status;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
DescribeDataSetPermissionsResult & WithRequestId(const Aws::String &value)
DescribeDataSetPermissionsResult & AddPermissions(ResourcePermission &&value)
DescribeDataSetPermissionsResult & WithDataSetId(const Aws::String &value)
DescribeDataSetPermissionsResult & WithDataSetArn(const Aws::String &value)
void SetPermissions(Aws::Vector< ResourcePermission > &&value)
DescribeDataSetPermissionsResult & WithDataSetArn(const char *value)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
DescribeDataSetPermissionsResult & WithRequestId(Aws::String &&value)
DescribeDataSetPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
DescribeDataSetPermissionsResult & WithRequestId(const char *value)
AWS_QUICKSIGHT_API DescribeDataSetPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDataSetPermissionsResult & WithDataSetArn(Aws::String &&value)
DescribeDataSetPermissionsResult & WithDataSetId(const char *value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
DescribeDataSetPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
AWS_QUICKSIGHT_API DescribeDataSetPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDataSetPermissionsResult & AddPermissions(const ResourcePermission &value)
DescribeDataSetPermissionsResult & WithDataSetId(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