219 lines
7.1 KiB
C++
219 lines
7.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/quicksight/QuickSight_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/quicksight/model/ResourcePermission.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace QuickSight
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_QUICKSIGHT_API UpdateAnalysisPermissionsResult
|
|
{
|
|
public:
|
|
UpdateAnalysisPermissionsResult();
|
|
UpdateAnalysisPermissionsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
UpdateAnalysisPermissionsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the analysis that you updated.</p>
|
|
*/
|
|
inline const Aws::String& GetAnalysisArn() const{ return m_analysisArn; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the analysis that you updated.</p>
|
|
*/
|
|
inline void SetAnalysisArn(const Aws::String& value) { m_analysisArn = value; }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the analysis that you updated.</p>
|
|
*/
|
|
inline void SetAnalysisArn(Aws::String&& value) { m_analysisArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the analysis that you updated.</p>
|
|
*/
|
|
inline void SetAnalysisArn(const char* value) { m_analysisArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the analysis that you updated.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithAnalysisArn(const Aws::String& value) { SetAnalysisArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the analysis that you updated.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithAnalysisArn(Aws::String&& value) { SetAnalysisArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The Amazon Resource Name (ARN) of the analysis that you updated.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithAnalysisArn(const char* value) { SetAnalysisArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ID of the analysis that you updated permissions for.</p>
|
|
*/
|
|
inline const Aws::String& GetAnalysisId() const{ return m_analysisId; }
|
|
|
|
/**
|
|
* <p>The ID of the analysis that you updated permissions for.</p>
|
|
*/
|
|
inline void SetAnalysisId(const Aws::String& value) { m_analysisId = value; }
|
|
|
|
/**
|
|
* <p>The ID of the analysis that you updated permissions for.</p>
|
|
*/
|
|
inline void SetAnalysisId(Aws::String&& value) { m_analysisId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ID of the analysis that you updated permissions for.</p>
|
|
*/
|
|
inline void SetAnalysisId(const char* value) { m_analysisId.assign(value); }
|
|
|
|
/**
|
|
* <p>The ID of the analysis that you updated permissions for.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithAnalysisId(const Aws::String& value) { SetAnalysisId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the analysis that you updated permissions for.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithAnalysisId(Aws::String&& value) { SetAnalysisId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ID of the analysis that you updated permissions for.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithAnalysisId(const char* value) { SetAnalysisId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A structure that describes the principals and the resource-level permissions
|
|
* on an analysis.</p>
|
|
*/
|
|
inline const Aws::Vector<ResourcePermission>& GetPermissions() const{ return m_permissions; }
|
|
|
|
/**
|
|
* <p>A structure that describes the principals and the resource-level permissions
|
|
* on an analysis.</p>
|
|
*/
|
|
inline void SetPermissions(const Aws::Vector<ResourcePermission>& value) { m_permissions = value; }
|
|
|
|
/**
|
|
* <p>A structure that describes the principals and the resource-level permissions
|
|
* on an analysis.</p>
|
|
*/
|
|
inline void SetPermissions(Aws::Vector<ResourcePermission>&& value) { m_permissions = std::move(value); }
|
|
|
|
/**
|
|
* <p>A structure that describes the principals and the resource-level permissions
|
|
* on an analysis.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithPermissions(const Aws::Vector<ResourcePermission>& value) { SetPermissions(value); return *this;}
|
|
|
|
/**
|
|
* <p>A structure that describes the principals and the resource-level permissions
|
|
* on an analysis.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithPermissions(Aws::Vector<ResourcePermission>&& value) { SetPermissions(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A structure that describes the principals and the resource-level permissions
|
|
* on an analysis.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& AddPermissions(const ResourcePermission& value) { m_permissions.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>A structure that describes the principals and the resource-level permissions
|
|
* on an analysis.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& AddPermissions(ResourcePermission&& value) { m_permissions.push_back(std::move(value)); return *this; }
|
|
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline const Aws::String& GetRequestId() const{ return m_requestId; }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline void SetRequestId(const char* value) { m_requestId.assign(value); }
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The AWS request ID for this operation.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The HTTP status of the request.</p>
|
|
*/
|
|
inline int GetStatus() const{ return m_status; }
|
|
|
|
/**
|
|
* <p>The HTTP status of the request.</p>
|
|
*/
|
|
inline void SetStatus(int value) { m_status = value; }
|
|
|
|
/**
|
|
* <p>The HTTP status of the request.</p>
|
|
*/
|
|
inline UpdateAnalysisPermissionsResult& WithStatus(int value) { SetStatus(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_analysisArn;
|
|
|
|
Aws::String m_analysisId;
|
|
|
|
Aws::Vector<ResourcePermission> m_permissions;
|
|
|
|
Aws::String m_requestId;
|
|
|
|
int m_status;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace QuickSight
|
|
} // namespace Aws
|