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

The ARN of the alert.

*/ inline const Aws::String& GetAlertArn() const{ return m_alertArn; } /** *

The ARN of the alert.

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

The ARN of the alert.

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

The ARN of the alert.

*/ inline void SetAlertArn(const char* value) { m_alertArn.assign(value); } /** *

The ARN of the alert.

*/ inline CreateAlertResult& WithAlertArn(const Aws::String& value) { SetAlertArn(value); return *this;} /** *

The ARN of the alert.

*/ inline CreateAlertResult& WithAlertArn(Aws::String&& value) { SetAlertArn(std::move(value)); return *this;} /** *

The ARN of the alert.

*/ inline CreateAlertResult& WithAlertArn(const char* value) { SetAlertArn(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 CreateAlertResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateAlertResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateAlertResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_alertArn; Aws::String m_requestId; }; } // namespace Model } // namespace LookoutMetrics } // namespace Aws