/** * 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 Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { class EnableAwsNetworkPerformanceMetricSubscriptionResponse { public: AWS_EC2_API EnableAwsNetworkPerformanceMetricSubscriptionResponse(); AWS_EC2_API EnableAwsNetworkPerformanceMetricSubscriptionResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API EnableAwsNetworkPerformanceMetricSubscriptionResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

Indicates whether the subscribe action was successful.

*/ inline bool GetOutput() const{ return m_output; } /** *

Indicates whether the subscribe action was successful.

*/ inline void SetOutput(bool value) { m_output = value; } /** *

Indicates whether the subscribe action was successful.

*/ inline EnableAwsNetworkPerformanceMetricSubscriptionResponse& WithOutput(bool value) { SetOutput(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 EnableAwsNetworkPerformanceMetricSubscriptionResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline EnableAwsNetworkPerformanceMetricSubscriptionResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: bool m_output; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws