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/gamelift/GameLift_EXPORTS.h> 8 #include <aws/gamelift/model/Alias.h> 9 #include <utility> 10 11 namespace Aws 12 { 13 template<typename RESULT_TYPE> 14 class AmazonWebServiceResult; 15 16 namespace Utils 17 { 18 namespace Json 19 { 20 class JsonValue; 21 } // namespace Json 22 } // namespace Utils 23 namespace GameLift 24 { 25 namespace Model 26 { 27 /** 28 * <p>Represents the returned data in response to a request 29 * operation.</p><p><h3>See Also:</h3> <a 30 * href="http://docs.aws.amazon.com/goto/WebAPI/gamelift-2015-10-01/DescribeAliasOutput">AWS 31 * API Reference</a></p> 32 */ 33 class AWS_GAMELIFT_API DescribeAliasResult 34 { 35 public: 36 DescribeAliasResult(); 37 DescribeAliasResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 38 DescribeAliasResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 39 40 41 /** 42 * <p>The requested alias resource.</p> 43 */ GetAlias()44 inline const Alias& GetAlias() const{ return m_alias; } 45 46 /** 47 * <p>The requested alias resource.</p> 48 */ SetAlias(const Alias & value)49 inline void SetAlias(const Alias& value) { m_alias = value; } 50 51 /** 52 * <p>The requested alias resource.</p> 53 */ SetAlias(Alias && value)54 inline void SetAlias(Alias&& value) { m_alias = std::move(value); } 55 56 /** 57 * <p>The requested alias resource.</p> 58 */ WithAlias(const Alias & value)59 inline DescribeAliasResult& WithAlias(const Alias& value) { SetAlias(value); return *this;} 60 61 /** 62 * <p>The requested alias resource.</p> 63 */ WithAlias(Alias && value)64 inline DescribeAliasResult& WithAlias(Alias&& value) { SetAlias(std::move(value)); return *this;} 65 66 private: 67 68 Alias m_alias; 69 }; 70 71 } // namespace Model 72 } // namespace GameLift 73 } // namespace Aws 74