/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSOAdmin { namespace Model { class GetInlinePolicyForPermissionSetResult { public: AWS_SSOADMIN_API GetInlinePolicyForPermissionSetResult(); AWS_SSOADMIN_API GetInlinePolicyForPermissionSetResult(const Aws::AmazonWebServiceResult& result); AWS_SSOADMIN_API GetInlinePolicyForPermissionSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The inline policy that is attached to the permission set.

*/ inline const Aws::String& GetInlinePolicy() const{ return m_inlinePolicy; } /** *

The inline policy that is attached to the permission set.

*/ inline void SetInlinePolicy(const Aws::String& value) { m_inlinePolicy = value; } /** *

The inline policy that is attached to the permission set.

*/ inline void SetInlinePolicy(Aws::String&& value) { m_inlinePolicy = std::move(value); } /** *

The inline policy that is attached to the permission set.

*/ inline void SetInlinePolicy(const char* value) { m_inlinePolicy.assign(value); } /** *

The inline policy that is attached to the permission set.

*/ inline GetInlinePolicyForPermissionSetResult& WithInlinePolicy(const Aws::String& value) { SetInlinePolicy(value); return *this;} /** *

The inline policy that is attached to the permission set.

*/ inline GetInlinePolicyForPermissionSetResult& WithInlinePolicy(Aws::String&& value) { SetInlinePolicy(std::move(value)); return *this;} /** *

The inline policy that is attached to the permission set.

*/ inline GetInlinePolicyForPermissionSetResult& WithInlinePolicy(const char* value) { SetInlinePolicy(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 GetInlinePolicyForPermissionSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetInlinePolicyForPermissionSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetInlinePolicyForPermissionSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_inlinePolicy; Aws::String m_requestId; }; } // namespace Model } // namespace SSOAdmin } // namespace Aws