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/eks/EKS_EXPORTS.h> 8 #include <aws/eks/model/Addon.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 EKS 24 { 25 namespace Model 26 { 27 class AWS_EKS_API DescribeAddonResult 28 { 29 public: 30 DescribeAddonResult(); 31 DescribeAddonResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 32 DescribeAddonResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 33 34 35 GetAddon()36 inline const Addon& GetAddon() const{ return m_addon; } 37 38 SetAddon(const Addon & value)39 inline void SetAddon(const Addon& value) { m_addon = value; } 40 41 SetAddon(Addon && value)42 inline void SetAddon(Addon&& value) { m_addon = std::move(value); } 43 44 WithAddon(const Addon & value)45 inline DescribeAddonResult& WithAddon(const Addon& value) { SetAddon(value); return *this;} 46 47 WithAddon(Addon && value)48 inline DescribeAddonResult& WithAddon(Addon&& value) { SetAddon(std::move(value)); return *this;} 49 50 private: 51 52 Addon m_addon; 53 }; 54 55 } // namespace Model 56 } // namespace EKS 57 } // namespace Aws 58