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

Information about the modified target group.

*/ inline const Aws::Vector& GetTargetGroups() const{ return m_targetGroups; } /** *

Information about the modified target group.

*/ inline void SetTargetGroups(const Aws::Vector& value) { m_targetGroups = value; } /** *

Information about the modified target group.

*/ inline void SetTargetGroups(Aws::Vector&& value) { m_targetGroups = std::move(value); } /** *

Information about the modified target group.

*/ inline ModifyTargetGroupResult& WithTargetGroups(const Aws::Vector& value) { SetTargetGroups(value); return *this;} /** *

Information about the modified target group.

*/ inline ModifyTargetGroupResult& WithTargetGroups(Aws::Vector&& value) { SetTargetGroups(std::move(value)); return *this;} /** *

Information about the modified target group.

*/ inline ModifyTargetGroupResult& AddTargetGroups(const TargetGroup& value) { m_targetGroups.push_back(value); return *this; } /** *

Information about the modified target group.

*/ inline ModifyTargetGroupResult& AddTargetGroups(TargetGroup&& value) { m_targetGroups.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline ModifyTargetGroupResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline ModifyTargetGroupResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Vector m_targetGroups; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace ElasticLoadBalancingv2 } // namespace Aws