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

The ARN of the metric stream.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the metric stream.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The ARN of the metric stream.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The ARN of the metric stream.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The ARN of the metric stream.

*/ inline PutMetricStreamResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the metric stream.

*/ inline PutMetricStreamResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the metric stream.

*/ inline PutMetricStreamResult& WithArn(const char* value) { SetArn(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 PutMetricStreamResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline PutMetricStreamResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_arn; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudWatch } // namespace Aws