AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateAnalysisPermissionsResult.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 UpdateAnalysisPermissionsResult();
35
36
38
41 inline const Aws::String& GetAnalysisArn() const{ return m_analysisArn; }
42 inline void SetAnalysisArn(const Aws::String& value) { m_analysisArn = value; }
43 inline void SetAnalysisArn(Aws::String&& value) { m_analysisArn = std::move(value); }
44 inline void SetAnalysisArn(const char* value) { m_analysisArn.assign(value); }
45 inline UpdateAnalysisPermissionsResult& WithAnalysisArn(const Aws::String& value) { SetAnalysisArn(value); return *this;}
46 inline UpdateAnalysisPermissionsResult& WithAnalysisArn(Aws::String&& value) { SetAnalysisArn(std::move(value)); return *this;}
47 inline UpdateAnalysisPermissionsResult& WithAnalysisArn(const char* value) { SetAnalysisArn(value); return *this;}
49
51
54 inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
55 inline void SetAnalysisId(const Aws::String& value) { m_analysisId = value; }
56 inline void SetAnalysisId(Aws::String&& value) { m_analysisId = std::move(value); }
57 inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); }
58 inline UpdateAnalysisPermissionsResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
59 inline UpdateAnalysisPermissionsResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
60 inline UpdateAnalysisPermissionsResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
62
64
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 UpdateAnalysisPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
74 inline UpdateAnalysisPermissionsResult& 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 UpdateAnalysisPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
84 inline UpdateAnalysisPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
85 inline UpdateAnalysisPermissionsResult& 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 UpdateAnalysisPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
96 private:
97
98 Aws::String m_analysisArn;
99
100 Aws::String m_analysisId;
101
103
104 Aws::String m_requestId;
105
106 int m_status;
107 };
108
109} // namespace Model
110} // namespace QuickSight
111} // namespace Aws
UpdateAnalysisPermissionsResult & WithAnalysisId(const Aws::String &value)
UpdateAnalysisPermissionsResult & WithRequestId(Aws::String &&value)
UpdateAnalysisPermissionsResult & WithPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateAnalysisPermissionsResult & AddPermissions(const ResourcePermission &value)
AWS_QUICKSIGHT_API UpdateAnalysisPermissionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPermissions(const Aws::Vector< ResourcePermission > &value)
UpdateAnalysisPermissionsResult & WithAnalysisArn(Aws::String &&value)
UpdateAnalysisPermissionsResult & AddPermissions(ResourcePermission &&value)
AWS_QUICKSIGHT_API UpdateAnalysisPermissionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateAnalysisPermissionsResult & WithRequestId(const Aws::String &value)
UpdateAnalysisPermissionsResult & WithRequestId(const char *value)
UpdateAnalysisPermissionsResult & WithAnalysisId(const char *value)
UpdateAnalysisPermissionsResult & WithPermissions(Aws::Vector< ResourcePermission > &&value)
const Aws::Vector< ResourcePermission > & GetPermissions() const
UpdateAnalysisPermissionsResult & WithAnalysisId(Aws::String &&value)
UpdateAnalysisPermissionsResult & WithAnalysisArn(const char *value)
UpdateAnalysisPermissionsResult & WithAnalysisArn(const Aws::String &value)
void SetPermissions(Aws::Vector< 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