This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-es/include/aws/es/model/InboundCrossClusterSearchConnectionStatus.h

161 lines
7.3 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/es/ElasticsearchService_EXPORTS.h>
#include <aws/es/model/InboundCrossClusterSearchConnectionStatusCode.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace ElasticsearchService
{
namespace Model
{
/**
* <p>Specifies the coonection status of an inbound cross-cluster search
* connection.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/InboundCrossClusterSearchConnectionStatus">AWS
* API Reference</a></p>
*/
class AWS_ELASTICSEARCHSERVICE_API InboundCrossClusterSearchConnectionStatus
{
public:
InboundCrossClusterSearchConnectionStatus();
InboundCrossClusterSearchConnectionStatus(Aws::Utils::Json::JsonView jsonValue);
InboundCrossClusterSearchConnectionStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The state code for inbound connection. This can be one of the following:</p>
* <ul> <li>PENDING_ACCEPTANCE: Inbound connection is not yet accepted by
* destination domain owner.</li> <li>APPROVED: Inbound connection is pending
* acceptance by destination domain owner.</li> <li>REJECTING: Inbound connection
* rejection is in process.</li> <li>REJECTED: Inbound connection is rejected.</li>
* <li>DELETING: Inbound connection deletion is in progress.</li> <li>DELETED:
* Inbound connection is deleted and cannot be used further.</li> </ul>
*/
inline const InboundCrossClusterSearchConnectionStatusCode& GetStatusCode() const{ return m_statusCode; }
/**
* <p>The state code for inbound connection. This can be one of the following:</p>
* <ul> <li>PENDING_ACCEPTANCE: Inbound connection is not yet accepted by
* destination domain owner.</li> <li>APPROVED: Inbound connection is pending
* acceptance by destination domain owner.</li> <li>REJECTING: Inbound connection
* rejection is in process.</li> <li>REJECTED: Inbound connection is rejected.</li>
* <li>DELETING: Inbound connection deletion is in progress.</li> <li>DELETED:
* Inbound connection is deleted and cannot be used further.</li> </ul>
*/
inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
/**
* <p>The state code for inbound connection. This can be one of the following:</p>
* <ul> <li>PENDING_ACCEPTANCE: Inbound connection is not yet accepted by
* destination domain owner.</li> <li>APPROVED: Inbound connection is pending
* acceptance by destination domain owner.</li> <li>REJECTING: Inbound connection
* rejection is in process.</li> <li>REJECTED: Inbound connection is rejected.</li>
* <li>DELETING: Inbound connection deletion is in progress.</li> <li>DELETED:
* Inbound connection is deleted and cannot be used further.</li> </ul>
*/
inline void SetStatusCode(const InboundCrossClusterSearchConnectionStatusCode& value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
/**
* <p>The state code for inbound connection. This can be one of the following:</p>
* <ul> <li>PENDING_ACCEPTANCE: Inbound connection is not yet accepted by
* destination domain owner.</li> <li>APPROVED: Inbound connection is pending
* acceptance by destination domain owner.</li> <li>REJECTING: Inbound connection
* rejection is in process.</li> <li>REJECTED: Inbound connection is rejected.</li>
* <li>DELETING: Inbound connection deletion is in progress.</li> <li>DELETED:
* Inbound connection is deleted and cannot be used further.</li> </ul>
*/
inline void SetStatusCode(InboundCrossClusterSearchConnectionStatusCode&& value) { m_statusCodeHasBeenSet = true; m_statusCode = std::move(value); }
/**
* <p>The state code for inbound connection. This can be one of the following:</p>
* <ul> <li>PENDING_ACCEPTANCE: Inbound connection is not yet accepted by
* destination domain owner.</li> <li>APPROVED: Inbound connection is pending
* acceptance by destination domain owner.</li> <li>REJECTING: Inbound connection
* rejection is in process.</li> <li>REJECTED: Inbound connection is rejected.</li>
* <li>DELETING: Inbound connection deletion is in progress.</li> <li>DELETED:
* Inbound connection is deleted and cannot be used further.</li> </ul>
*/
inline InboundCrossClusterSearchConnectionStatus& WithStatusCode(const InboundCrossClusterSearchConnectionStatusCode& value) { SetStatusCode(value); return *this;}
/**
* <p>The state code for inbound connection. This can be one of the following:</p>
* <ul> <li>PENDING_ACCEPTANCE: Inbound connection is not yet accepted by
* destination domain owner.</li> <li>APPROVED: Inbound connection is pending
* acceptance by destination domain owner.</li> <li>REJECTING: Inbound connection
* rejection is in process.</li> <li>REJECTED: Inbound connection is rejected.</li>
* <li>DELETING: Inbound connection deletion is in progress.</li> <li>DELETED:
* Inbound connection is deleted and cannot be used further.</li> </ul>
*/
inline InboundCrossClusterSearchConnectionStatus& WithStatusCode(InboundCrossClusterSearchConnectionStatusCode&& value) { SetStatusCode(std::move(value)); return *this;}
/**
* <p>Specifies verbose information for the inbound connection status.</p>
*/
inline const Aws::String& GetMessage() const{ return m_message; }
/**
* <p>Specifies verbose information for the inbound connection status.</p>
*/
inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
/**
* <p>Specifies verbose information for the inbound connection status.</p>
*/
inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
/**
* <p>Specifies verbose information for the inbound connection status.</p>
*/
inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
/**
* <p>Specifies verbose information for the inbound connection status.</p>
*/
inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
/**
* <p>Specifies verbose information for the inbound connection status.</p>
*/
inline InboundCrossClusterSearchConnectionStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
/**
* <p>Specifies verbose information for the inbound connection status.</p>
*/
inline InboundCrossClusterSearchConnectionStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
/**
* <p>Specifies verbose information for the inbound connection status.</p>
*/
inline InboundCrossClusterSearchConnectionStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
private:
InboundCrossClusterSearchConnectionStatusCode m_statusCode;
bool m_statusCodeHasBeenSet;
Aws::String m_message;
bool m_messageHasBeenSet;
};
} // namespace Model
} // namespace ElasticsearchService
} // namespace Aws