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

Represents the output of a CreateSubnetGroup operation.

*/ inline const SubnetGroup& GetSubnetGroup() const{ return m_subnetGroup; } /** *

Represents the output of a CreateSubnetGroup operation.

*/ inline void SetSubnetGroup(const SubnetGroup& value) { m_subnetGroup = value; } /** *

Represents the output of a CreateSubnetGroup operation.

*/ inline void SetSubnetGroup(SubnetGroup&& value) { m_subnetGroup = std::move(value); } /** *

Represents the output of a CreateSubnetGroup operation.

*/ inline CreateSubnetGroupResult& WithSubnetGroup(const SubnetGroup& value) { SetSubnetGroup(value); return *this;} /** *

Represents the output of a CreateSubnetGroup operation.

*/ inline CreateSubnetGroupResult& WithSubnetGroup(SubnetGroup&& value) { SetSubnetGroup(std::move(value)); return *this;} private: SubnetGroup m_subnetGroup; }; } // namespace Model } // namespace DAX } // namespace Aws