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

Indicates whether the request succeeded.

*/ inline bool GetReturnValue() const{ return m_returnValue; } /** *

Indicates whether the request succeeded.

*/ inline void SetReturnValue(bool value) { m_returnValue = value; } /** *

Indicates whether the request succeeded.

*/ inline PromoteResourceShareCreatedFromPolicyResult& WithReturnValue(bool value) { SetReturnValue(value); return *this;} private: bool m_returnValue; }; } // namespace Model } // namespace RAM } // namespace Aws