AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAnalysisPermissionsResult.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& GetAnalysisId() const{ return m_analysisId; }
42 inline void SetAnalysisId(const Aws::String& value) { m_analysisId = value; }
43 inline void SetAnalysisId(Aws::String&& value) { m_analysisId = std::move(value); }
44 inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); }
45 inline DescribeAnalysisPermissionsResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
46 inline DescribeAnalysisPermissionsResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
47 inline DescribeAnalysisPermissionsResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
49
51
55 inline const Aws::String& GetAnalysisArn() const{ return m_analysisArn; }
56 inline void SetAnalysisArn(const Aws::String& value) { m_analysisArn = value; }
57 inline void SetAnalysisArn(Aws::String&& value) { m_analysisArn = std::move(value); }
58 inline void SetAnalysisArn(const char* value) { m_analysisArn.assign(value); }
59 inline DescribeAnalysisPermissionsResult& WithAnalysisArn(const Aws::String& value) { SetAnalysisArn(value); return *this;}
60 inline DescribeAnalysisPermissionsResult& WithAnalysisArn(Aws::String&& value) { SetAnalysisArn(std::move(value)); return *this;}
61 inline DescribeAnalysisPermissionsResult& WithAnalysisArn(const char* value) { SetAnalysisArn(value); return *this;}
63
65
69 inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
70 inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
71 inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
74 inline DescribeAnalysisPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
75 inline DescribeAnalysisPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
77
79
82 inline int GetStatus() const{ return m_status; }
83 inline void SetStatus(int value) { m_status = value; }
84 inline DescribeAnalysisPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline DescribeAnalysisPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline DescribeAnalysisPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline DescribeAnalysisPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_analysisId;
100
101 Aws::String m_analysisArn;
102
104
105 int m_status;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace QuickSight
112} // namespace Aws
DescribeAnalysisPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
DescribeAnalysisPermissionsResult & WithAnalysisArn(Aws::String &&value)
DescribeAnalysisPermissionsResult & WithAnalysisId(Aws::String &&value)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
DescribeAnalysisPermissionsResult & WithAnalysisId(const char *value)
DescribeAnalysisPermissionsResult & AddPermissions(const ResourcePermission &value)
DescribeAnalysisPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
DescribeAnalysisPermissionsResult & WithRequestId(Aws::String &&value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
DescribeAnalysisPermissionsResult & AddPermissions(ResourcePermission &&value)
DescribeAnalysisPermissionsResult & WithAnalysisId(const Aws::String &value)
DescribeAnalysisPermissionsResult & WithRequestId(const char *value)
DescribeAnalysisPermissionsResult & WithAnalysisArn(const char *value)
DescribeAnalysisPermissionsResult & WithRequestId(const Aws::String &value)
AWS_QUICKSIGHT_API DescribeAnalysisPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API DescribeAnalysisPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAnalysisPermissionsResult & WithAnalysisArn(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