/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The structure representing the getPolicyResponse
.See
* Also:
AWS
* API Reference
The JSON-formatted resource-based policy attached to the
* ProfilingGroup
.
The JSON-formatted resource-based policy attached to the
* ProfilingGroup
.
The JSON-formatted resource-based policy attached to the
* ProfilingGroup
.
The JSON-formatted resource-based policy attached to the
* ProfilingGroup
.
The JSON-formatted resource-based policy attached to the
* ProfilingGroup
.
The JSON-formatted resource-based policy attached to the
* ProfilingGroup
.
The JSON-formatted resource-based policy attached to the
* ProfilingGroup
.
A unique identifier for the current revision of the returned policy.
*/ inline const Aws::String& GetRevisionId() const{ return m_revisionId; } /** *A unique identifier for the current revision of the returned policy.
*/ inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; } /** *A unique identifier for the current revision of the returned policy.
*/ inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); } /** *A unique identifier for the current revision of the returned policy.
*/ inline void SetRevisionId(const char* value) { m_revisionId.assign(value); } /** *A unique identifier for the current revision of the returned policy.
*/ inline GetPolicyResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} /** *A unique identifier for the current revision of the returned policy.
*/ inline GetPolicyResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} /** *A unique identifier for the current revision of the returned policy.
*/ inline GetPolicyResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_policy; Aws::String m_revisionId; Aws::String m_requestId; }; } // namespace Model } // namespace CodeGuruProfiler } // namespace Aws