1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/ram/RAM_EXPORTS.h> 8 9 namespace Aws 10 { 11 template<typename RESULT_TYPE> 12 class AmazonWebServiceResult; 13 14 namespace Utils 15 { 16 namespace Json 17 { 18 class JsonValue; 19 } // namespace Json 20 } // namespace Utils 21 namespace RAM 22 { 23 namespace Model 24 { 25 class AWS_RAM_API PromoteResourceShareCreatedFromPolicyResult 26 { 27 public: 28 PromoteResourceShareCreatedFromPolicyResult(); 29 PromoteResourceShareCreatedFromPolicyResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 30 PromoteResourceShareCreatedFromPolicyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 31 32 33 /** 34 * <p>Indicates whether the request succeeded.</p> 35 */ GetReturnValue()36 inline bool GetReturnValue() const{ return m_returnValue; } 37 38 /** 39 * <p>Indicates whether the request succeeded.</p> 40 */ SetReturnValue(bool value)41 inline void SetReturnValue(bool value) { m_returnValue = value; } 42 43 /** 44 * <p>Indicates whether the request succeeded.</p> 45 */ WithReturnValue(bool value)46 inline PromoteResourceShareCreatedFromPolicyResult& WithReturnValue(bool value) { SetReturnValue(value); return *this;} 47 48 private: 49 50 bool m_returnValue; 51 }; 52 53 } // namespace Model 54 } // namespace RAM 55 } // namespace Aws 56