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

The full description of your new node group.

*/ inline const Nodegroup& GetNodegroup() const{ return m_nodegroup; } /** *

The full description of your new node group.

*/ inline void SetNodegroup(const Nodegroup& value) { m_nodegroup = value; } /** *

The full description of your new node group.

*/ inline void SetNodegroup(Nodegroup&& value) { m_nodegroup = std::move(value); } /** *

The full description of your new node group.

*/ inline CreateNodegroupResult& WithNodegroup(const Nodegroup& value) { SetNodegroup(value); return *this;} /** *

The full description of your new node group.

*/ inline CreateNodegroupResult& WithNodegroup(Nodegroup&& value) { SetNodegroup(std::move(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 CreateNodegroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateNodegroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateNodegroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Nodegroup m_nodegroup; Aws::String m_requestId; }; } // namespace Model } // namespace EKS } // namespace Aws