/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The status of an inbound cross-cluster connection for OpenSearch
* Service.See Also:
AWS
* API Reference
The status code for the connection. Can be one of the following:
PENDING_ACCEPTANCE - Inbound connection is not yet accepted by * the remote domain owner.
APPROVED: Inbound connection * is pending acceptance by the remote domain owner.
* PROVISIONING: Inbound connection is being provisioned.
* ACTIVE: Inbound connection is active and ready to use.
* REJECTING: Inbound connection rejection is in process.
* REJECTED: Inbound connection is rejected.
* DELETING: Inbound connection deletion is in progress.
* DELETED: Inbound connection is deleted and can no longer be used.
*The status code for the connection. Can be one of the following:
PENDING_ACCEPTANCE - Inbound connection is not yet accepted by * the remote domain owner.
APPROVED: Inbound connection * is pending acceptance by the remote domain owner.
* PROVISIONING: Inbound connection is being provisioned.
* ACTIVE: Inbound connection is active and ready to use.
* REJECTING: Inbound connection rejection is in process.
* REJECTED: Inbound connection is rejected.
* DELETING: Inbound connection deletion is in progress.
* DELETED: Inbound connection is deleted and can no longer be used.
*The status code for the connection. Can be one of the following:
PENDING_ACCEPTANCE - Inbound connection is not yet accepted by * the remote domain owner.
APPROVED: Inbound connection * is pending acceptance by the remote domain owner.
* PROVISIONING: Inbound connection is being provisioned.
* ACTIVE: Inbound connection is active and ready to use.
* REJECTING: Inbound connection rejection is in process.
* REJECTED: Inbound connection is rejected.
* DELETING: Inbound connection deletion is in progress.
* DELETED: Inbound connection is deleted and can no longer be used.
*The status code for the connection. Can be one of the following:
PENDING_ACCEPTANCE - Inbound connection is not yet accepted by * the remote domain owner.
APPROVED: Inbound connection * is pending acceptance by the remote domain owner.
* PROVISIONING: Inbound connection is being provisioned.
* ACTIVE: Inbound connection is active and ready to use.
* REJECTING: Inbound connection rejection is in process.
* REJECTED: Inbound connection is rejected.
* DELETING: Inbound connection deletion is in progress.
* DELETED: Inbound connection is deleted and can no longer be used.
*The status code for the connection. Can be one of the following:
PENDING_ACCEPTANCE - Inbound connection is not yet accepted by * the remote domain owner.
APPROVED: Inbound connection * is pending acceptance by the remote domain owner.
* PROVISIONING: Inbound connection is being provisioned.
* ACTIVE: Inbound connection is active and ready to use.
* REJECTING: Inbound connection rejection is in process.
* REJECTED: Inbound connection is rejected.
* DELETING: Inbound connection deletion is in progress.
* DELETED: Inbound connection is deleted and can no longer be used.
*The status code for the connection. Can be one of the following:
PENDING_ACCEPTANCE - Inbound connection is not yet accepted by * the remote domain owner.
APPROVED: Inbound connection * is pending acceptance by the remote domain owner.
* PROVISIONING: Inbound connection is being provisioned.
* ACTIVE: Inbound connection is active and ready to use.
* REJECTING: Inbound connection rejection is in process.
* REJECTED: Inbound connection is rejected.
* DELETING: Inbound connection deletion is in progress.
* DELETED: Inbound connection is deleted and can no longer be used.
*Information about the connection.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *Information about the connection.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *Information about the connection.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *Information about the connection.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *Information about the connection.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *Information about the connection.
*/ inline InboundConnectionStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *Information about the connection.
*/ inline InboundConnectionStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *Information about the connection.
*/ inline InboundConnectionStatus& WithMessage(const char* value) { SetMessage(value); return *this;} private: InboundConnectionStatusCode m_statusCode; bool m_statusCodeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws