/** * 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 DAX { namespace Model { class UpdateSubnetGroupResult { public: AWS_DAX_API UpdateSubnetGroupResult(); AWS_DAX_API UpdateSubnetGroupResult(const Aws::AmazonWebServiceResult& result); AWS_DAX_API UpdateSubnetGroupResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The subnet group that has been modified.

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

The subnet group that has been modified.

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

The subnet group that has been modified.

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

The subnet group that has been modified.

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

The subnet group that has been modified.

*/ inline UpdateSubnetGroupResult& WithSubnetGroup(SubnetGroup&& value) { SetSubnetGroup(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 UpdateSubnetGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateSubnetGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateSubnetGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: SubnetGroup m_subnetGroup; Aws::String m_requestId; }; } // namespace Model } // namespace DAX } // namespace Aws