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

The Amazon Resource Name (ARN) of the monitor.

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

The Amazon Resource Name (ARN) of the monitor.

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

The Amazon Resource Name (ARN) of the monitor.

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

The Amazon Resource Name (ARN) of the monitor.

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

The Amazon Resource Name (ARN) of the monitor.

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

The Amazon Resource Name (ARN) of the monitor.

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

The Amazon Resource Name (ARN) of the monitor.

*/ inline CreateMonitorResult& WithArn(const char* value) { SetArn(value); return *this;} /** *

The status of a monitor.

*/ inline const MonitorConfigState& GetStatus() const{ return m_status; } /** *

The status of a monitor.

*/ inline void SetStatus(const MonitorConfigState& value) { m_status = value; } /** *

The status of a monitor.

*/ inline void SetStatus(MonitorConfigState&& value) { m_status = std::move(value); } /** *

The status of a monitor.

*/ inline CreateMonitorResult& WithStatus(const MonitorConfigState& value) { SetStatus(value); return *this;} /** *

The status of a monitor.

*/ inline CreateMonitorResult& WithStatus(MonitorConfigState&& value) { SetStatus(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 CreateMonitorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateMonitorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateMonitorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; MonitorConfigState m_status; Aws::String m_requestId; }; } // namespace Model } // namespace InternetMonitor } // namespace Aws