/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides a list of status information for an instance.See
* Also:
AWS
* API Reference
This value is currently "read replication
."
This value is currently "read replication
."
This value is currently "read replication
."
This value is currently "read replication
."
This value is currently "read replication
."
This value is currently "read replication
."
This value is currently "read replication
."
This value is currently "read replication
."
A Boolean value that is true
if the instance is operating
* normally, or false
if the instance is in an error state.
A Boolean value that is true
if the instance is operating
* normally, or false
if the instance is in an error state.
A Boolean value that is true
if the instance is operating
* normally, or false
if the instance is in an error state.
A Boolean value that is true
if the instance is operating
* normally, or false
if the instance is in an error state.
Status of the instance. For a StatusType
of read replica, the
* values can be replicating
, error, stopped
, or
* terminated
.
Status of the instance. For a StatusType
of read replica, the
* values can be replicating
, error, stopped
, or
* terminated
.
Status of the instance. For a StatusType
of read replica, the
* values can be replicating
, error, stopped
, or
* terminated
.
Status of the instance. For a StatusType
of read replica, the
* values can be replicating
, error, stopped
, or
* terminated
.
Status of the instance. For a StatusType
of read replica, the
* values can be replicating
, error, stopped
, or
* terminated
.
Status of the instance. For a StatusType
of read replica, the
* values can be replicating
, error, stopped
, or
* terminated
.
Status of the instance. For a StatusType
of read replica, the
* values can be replicating
, error, stopped
, or
* terminated
.
Status of the instance. For a StatusType
of read replica, the
* values can be replicating
, error, stopped
, or
* terminated
.
Details of the error if there is an error for the instance. If the instance * is not in an error state, this value is blank.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *Details of the error if there is an error for the instance. If the instance * is not in an error state, this value is blank.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *Details of the error if there is an error for the instance. If the instance * is not in an error state, this value is blank.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *Details of the error if there is an error for the instance. If the instance * is not in an error state, this value is blank.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *Details of the error if there is an error for the instance. If the instance * is not in an error state, this value is blank.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *Details of the error if there is an error for the instance. If the instance * is not in an error state, this value is blank.
*/ inline DBInstanceStatusInfo& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *Details of the error if there is an error for the instance. If the instance * is not in an error state, this value is blank.
*/ inline DBInstanceStatusInfo& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *Details of the error if there is an error for the instance. If the instance * is not in an error state, this value is blank.
*/ inline DBInstanceStatusInfo& WithMessage(const char* value) { SetMessage(value); return *this;} private: Aws::String m_statusType; bool m_statusTypeHasBeenSet = false; bool m_normal; bool m_normalHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace DocDB } // namespace Aws