/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace ForecastService { namespace Model { /** */ class DescribeMonitorRequest : public ForecastServiceRequest { public: AWS_FORECASTSERVICE_API DescribeMonitorRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeMonitor"; } AWS_FORECASTSERVICE_API Aws::String SerializePayload() const override; AWS_FORECASTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the monitor resource to describe.

*/ inline const Aws::String& GetMonitorArn() const{ return m_monitorArn; } /** *

The Amazon Resource Name (ARN) of the monitor resource to describe.

*/ inline bool MonitorArnHasBeenSet() const { return m_monitorArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the monitor resource to describe.

*/ inline void SetMonitorArn(const Aws::String& value) { m_monitorArnHasBeenSet = true; m_monitorArn = value; } /** *

The Amazon Resource Name (ARN) of the monitor resource to describe.

*/ inline void SetMonitorArn(Aws::String&& value) { m_monitorArnHasBeenSet = true; m_monitorArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the monitor resource to describe.

*/ inline void SetMonitorArn(const char* value) { m_monitorArnHasBeenSet = true; m_monitorArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the monitor resource to describe.

*/ inline DescribeMonitorRequest& WithMonitorArn(const Aws::String& value) { SetMonitorArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the monitor resource to describe.

*/ inline DescribeMonitorRequest& WithMonitorArn(Aws::String&& value) { SetMonitorArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the monitor resource to describe.

*/ inline DescribeMonitorRequest& WithMonitorArn(const char* value) { SetMonitorArn(value); return *this;} private: Aws::String m_monitorArn; bool m_monitorArnHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws