AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDataSourcePermissionsResult.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& GetDataSourceArn() const{ return m_dataSourceArn; }
42 inline void SetDataSourceArn(const Aws::String& value) { m_dataSourceArn = value; }
43 inline void SetDataSourceArn(Aws::String&& value) { m_dataSourceArn = std::move(value); }
44 inline void SetDataSourceArn(const char* value) { m_dataSourceArn.assign(value); }
46 inline DescribeDataSourcePermissionsResult& WithDataSourceArn(Aws::String&& value) { SetDataSourceArn(std::move(value)); return *this;}
47 inline DescribeDataSourcePermissionsResult& WithDataSourceArn(const char* value) { SetDataSourceArn(value); return *this;}
49
51
55 inline const Aws::String& GetDataSourceId() const{ return m_dataSourceId; }
56 inline void SetDataSourceId(const Aws::String& value) { m_dataSourceId = value; }
57 inline void SetDataSourceId(Aws::String&& value) { m_dataSourceId = std::move(value); }
58 inline void SetDataSourceId(const char* value) { m_dataSourceId.assign(value); }
60 inline DescribeDataSourcePermissionsResult& WithDataSourceId(Aws::String&& value) { SetDataSourceId(std::move(value)); return *this;}
61 inline DescribeDataSourcePermissionsResult& WithDataSourceId(const char* value) { SetDataSourceId(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 DescribeDataSourcePermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
74 inline DescribeDataSourcePermissionsResult& 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 DescribeDataSourcePermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline DescribeDataSourcePermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline DescribeDataSourcePermissionsResult& 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 DescribeDataSourcePermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
96 private:
97
98 Aws::String m_dataSourceArn;
99
100 Aws::String m_dataSourceId;
101
103
104 Aws::String m_requestId;
105
106 int m_status;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
DescribeDataSourcePermissionsResult & WithDataSourceArn(const char *value)
DescribeDataSourcePermissionsResult & WithDataSourceArn(Aws::String &&value)
DescribeDataSourcePermissionsResult & WithDataSourceId(Aws::String &&value)
DescribeDataSourcePermissionsResult & WithDataSourceArn(const Aws::String &value)
AWS_QUICKSIGHT_API DescribeDataSourcePermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDataSourcePermissionsResult & AddPermissions(const ResourcePermission &value)
DescribeDataSourcePermissionsResult & WithDataSourceId(const Aws::String &value)
DescribeDataSourcePermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
AWS_QUICKSIGHT_API DescribeDataSourcePermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDataSourcePermissionsResult & WithRequestId(const Aws::String &value)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
DescribeDataSourcePermissionsResult & WithDataSourceId(const char *value)
DescribeDataSourcePermissionsResult & WithRequestId(const char *value)
DescribeDataSourcePermissionsResult & WithRequestId(Aws::String &&value)
DescribeDataSourcePermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
DescribeDataSourcePermissionsResult & AddPermissions(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