/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the monitoring of an instance.See Also:
AWS
* API Reference
The ID of the instance.
*/ inline const Aws::String& GetInstanceId() const{ return m_instanceId; } /** *The ID of the instance.
*/ inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; } /** *The ID of the instance.
*/ inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; } /** *The ID of the instance.
*/ inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); } /** *The ID of the instance.
*/ inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); } /** *The ID of the instance.
*/ inline InstanceMonitoring& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;} /** *The ID of the instance.
*/ inline InstanceMonitoring& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;} /** *The ID of the instance.
*/ inline InstanceMonitoring& WithInstanceId(const char* value) { SetInstanceId(value); return *this;} /** *The monitoring for the instance.
*/ inline const Monitoring& GetMonitoring() const{ return m_monitoring; } /** *The monitoring for the instance.
*/ inline bool MonitoringHasBeenSet() const { return m_monitoringHasBeenSet; } /** *The monitoring for the instance.
*/ inline void SetMonitoring(const Monitoring& value) { m_monitoringHasBeenSet = true; m_monitoring = value; } /** *The monitoring for the instance.
*/ inline void SetMonitoring(Monitoring&& value) { m_monitoringHasBeenSet = true; m_monitoring = std::move(value); } /** *The monitoring for the instance.
*/ inline InstanceMonitoring& WithMonitoring(const Monitoring& value) { SetMonitoring(value); return *this;} /** *The monitoring for the instance.
*/ inline InstanceMonitoring& WithMonitoring(Monitoring&& value) { SetMonitoring(std::move(value)); return *this;} private: Aws::String m_instanceId; bool m_instanceIdHasBeenSet = false; Monitoring m_monitoring; bool m_monitoringHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws