/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a summary of the monitor properties used in the ListMonitors
* operation. To get a complete set of properties, call the DescribeMonitor
* operation, and provide the listed MonitorArn
.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the monitor resource.
*/ inline const Aws::String& GetMonitorArn() const{ return m_monitorArn; } /** *The Amazon Resource Name (ARN) of the monitor resource.
*/ inline bool MonitorArnHasBeenSet() const { return m_monitorArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the monitor resource.
*/ inline void SetMonitorArn(const Aws::String& value) { m_monitorArnHasBeenSet = true; m_monitorArn = value; } /** *The Amazon Resource Name (ARN) of the monitor resource.
*/ inline void SetMonitorArn(Aws::String&& value) { m_monitorArnHasBeenSet = true; m_monitorArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the monitor resource.
*/ inline void SetMonitorArn(const char* value) { m_monitorArnHasBeenSet = true; m_monitorArn.assign(value); } /** *The Amazon Resource Name (ARN) of the monitor resource.
*/ inline MonitorSummary& WithMonitorArn(const Aws::String& value) { SetMonitorArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the monitor resource.
*/ inline MonitorSummary& WithMonitorArn(Aws::String&& value) { SetMonitorArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the monitor resource.
*/ inline MonitorSummary& WithMonitorArn(const char* value) { SetMonitorArn(value); return *this;} /** *The name of the monitor resource.
*/ inline const Aws::String& GetMonitorName() const{ return m_monitorName; } /** *The name of the monitor resource.
*/ inline bool MonitorNameHasBeenSet() const { return m_monitorNameHasBeenSet; } /** *The name of the monitor resource.
*/ inline void SetMonitorName(const Aws::String& value) { m_monitorNameHasBeenSet = true; m_monitorName = value; } /** *The name of the monitor resource.
*/ inline void SetMonitorName(Aws::String&& value) { m_monitorNameHasBeenSet = true; m_monitorName = std::move(value); } /** *The name of the monitor resource.
*/ inline void SetMonitorName(const char* value) { m_monitorNameHasBeenSet = true; m_monitorName.assign(value); } /** *The name of the monitor resource.
*/ inline MonitorSummary& WithMonitorName(const Aws::String& value) { SetMonitorName(value); return *this;} /** *The name of the monitor resource.
*/ inline MonitorSummary& WithMonitorName(Aws::String&& value) { SetMonitorName(std::move(value)); return *this;} /** *The name of the monitor resource.
*/ inline MonitorSummary& WithMonitorName(const char* value) { SetMonitorName(value); return *this;} /** *The Amazon Resource Name (ARN) of the predictor being monitored.
*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *The Amazon Resource Name (ARN) of the predictor being monitored.
*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the predictor being monitored.
*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *The Amazon Resource Name (ARN) of the predictor being monitored.
*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the predictor being monitored.
*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *The Amazon Resource Name (ARN) of the predictor being monitored.
*/ inline MonitorSummary& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the predictor being monitored.
*/ inline MonitorSummary& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the predictor being monitored.
*/ inline MonitorSummary& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} /** *The status of the monitor. States include:
* ACTIVE
ACTIVE_STOPPING
,
* ACTIVE_STOPPED
UPDATE_IN_PROGRESS
*
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The status of the monitor. States include:
* ACTIVE
ACTIVE_STOPPING
,
* ACTIVE_STOPPED
UPDATE_IN_PROGRESS
*
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The status of the monitor. States include:
* ACTIVE
ACTIVE_STOPPING
,
* ACTIVE_STOPPED
UPDATE_IN_PROGRESS
*
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The status of the monitor. States include:
* ACTIVE
ACTIVE_STOPPING
,
* ACTIVE_STOPPED
UPDATE_IN_PROGRESS
*
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The status of the monitor. States include:
* ACTIVE
ACTIVE_STOPPING
,
* ACTIVE_STOPPED
UPDATE_IN_PROGRESS
*
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The status of the monitor. States include:
* ACTIVE
ACTIVE_STOPPING
,
* ACTIVE_STOPPED
UPDATE_IN_PROGRESS
*
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The status of the monitor. States include:
* ACTIVE
ACTIVE_STOPPING
,
* ACTIVE_STOPPED
UPDATE_IN_PROGRESS
*
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
The status of the monitor. States include:
* ACTIVE
ACTIVE_STOPPING
,
* ACTIVE_STOPPED
UPDATE_IN_PROGRESS
*
CREATE_PENDING
,
* CREATE_IN_PROGRESS
, CREATE_FAILED
* DELETE_PENDING
, DELETE_IN_PROGRESS
,
* DELETE_FAILED
When the monitor resource was created.
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *When the monitor resource was created.
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *When the monitor resource was created.
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *When the monitor resource was created.
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *When the monitor resource was created.
*/ inline MonitorSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *When the monitor resource was created.
*/ inline MonitorSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The last time the monitor resource was modified. The timestamp depends on the * status of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
STOPPED
- When the
* resource stopped.
ACTIVE
or
* CREATE_FAILED
- When the monitor creation finished or failed.
The last time the monitor resource was modified. The timestamp depends on the * status of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
STOPPED
- When the
* resource stopped.
ACTIVE
or
* CREATE_FAILED
- When the monitor creation finished or failed.
The last time the monitor resource was modified. The timestamp depends on the * status of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
STOPPED
- When the
* resource stopped.
ACTIVE
or
* CREATE_FAILED
- When the monitor creation finished or failed.
The last time the monitor resource was modified. The timestamp depends on the * status of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
STOPPED
- When the
* resource stopped.
ACTIVE
or
* CREATE_FAILED
- When the monitor creation finished or failed.
The last time the monitor resource was modified. The timestamp depends on the * status of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
STOPPED
- When the
* resource stopped.
ACTIVE
or
* CREATE_FAILED
- When the monitor creation finished or failed.
The last time the monitor resource was modified. The timestamp depends on the * status of the job:
CREATE_PENDING
- The
* CreationTime
.
CREATE_IN_PROGRESS
-
* The current timestamp.
STOPPED
- When the
* resource stopped.
ACTIVE
or
* CREATE_FAILED
- When the monitor creation finished or failed.