/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace Route53 { namespace Model { /** *

A string repesenting the status of DNSSEC signing.

See Also:

* AWS * API Reference

*/ class DNSSECStatus { public: AWS_ROUTE53_API DNSSECStatus(); AWS_ROUTE53_API DNSSECStatus(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API DNSSECStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ROUTE53_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

A string that represents the current hosted zone signing status.

*

Status can have one of the following values:

SIGNING
*

DNSSEC signing is enabled for the hosted zone.

NOT_SIGNING
*

DNSSEC signing is not enabled for the hosted zone.

*
DELETING

DNSSEC signing is in the process of being removed for * the hosted zone.

ACTION_NEEDED

There is a problem * with signing in the hosted zone that requires you to take action to resolve. For * example, the customer managed key might have been deleted, or the permissions * for the customer managed key might have been changed.

*
INTERNAL_FAILURE

There was an error during a request. Before * you can continue to work with DNSSEC signing, including with key-signing keys * (KSKs), you must correct the problem by enabling or disabling DNSSEC signing for * the hosted zone.

*/ inline const Aws::String& GetServeSignature() const{ return m_serveSignature; } /** *

A string that represents the current hosted zone signing status.

*

Status can have one of the following values:

SIGNING
*

DNSSEC signing is enabled for the hosted zone.

NOT_SIGNING
*

DNSSEC signing is not enabled for the hosted zone.

*
DELETING

DNSSEC signing is in the process of being removed for * the hosted zone.

ACTION_NEEDED

There is a problem * with signing in the hosted zone that requires you to take action to resolve. For * example, the customer managed key might have been deleted, or the permissions * for the customer managed key might have been changed.

*
INTERNAL_FAILURE

There was an error during a request. Before * you can continue to work with DNSSEC signing, including with key-signing keys * (KSKs), you must correct the problem by enabling or disabling DNSSEC signing for * the hosted zone.

*/ inline bool ServeSignatureHasBeenSet() const { return m_serveSignatureHasBeenSet; } /** *

A string that represents the current hosted zone signing status.

*

Status can have one of the following values:

SIGNING
*

DNSSEC signing is enabled for the hosted zone.

NOT_SIGNING
*

DNSSEC signing is not enabled for the hosted zone.

*
DELETING

DNSSEC signing is in the process of being removed for * the hosted zone.

ACTION_NEEDED

There is a problem * with signing in the hosted zone that requires you to take action to resolve. For * example, the customer managed key might have been deleted, or the permissions * for the customer managed key might have been changed.

*
INTERNAL_FAILURE

There was an error during a request. Before * you can continue to work with DNSSEC signing, including with key-signing keys * (KSKs), you must correct the problem by enabling or disabling DNSSEC signing for * the hosted zone.

*/ inline void SetServeSignature(const Aws::String& value) { m_serveSignatureHasBeenSet = true; m_serveSignature = value; } /** *

A string that represents the current hosted zone signing status.

*

Status can have one of the following values:

SIGNING
*

DNSSEC signing is enabled for the hosted zone.

NOT_SIGNING
*

DNSSEC signing is not enabled for the hosted zone.

*
DELETING

DNSSEC signing is in the process of being removed for * the hosted zone.

ACTION_NEEDED

There is a problem * with signing in the hosted zone that requires you to take action to resolve. For * example, the customer managed key might have been deleted, or the permissions * for the customer managed key might have been changed.

*
INTERNAL_FAILURE

There was an error during a request. Before * you can continue to work with DNSSEC signing, including with key-signing keys * (KSKs), you must correct the problem by enabling or disabling DNSSEC signing for * the hosted zone.

*/ inline void SetServeSignature(Aws::String&& value) { m_serveSignatureHasBeenSet = true; m_serveSignature = std::move(value); } /** *

A string that represents the current hosted zone signing status.

*

Status can have one of the following values:

SIGNING
*

DNSSEC signing is enabled for the hosted zone.

NOT_SIGNING
*

DNSSEC signing is not enabled for the hosted zone.

*
DELETING

DNSSEC signing is in the process of being removed for * the hosted zone.

ACTION_NEEDED

There is a problem * with signing in the hosted zone that requires you to take action to resolve. For * example, the customer managed key might have been deleted, or the permissions * for the customer managed key might have been changed.

*
INTERNAL_FAILURE

There was an error during a request. Before * you can continue to work with DNSSEC signing, including with key-signing keys * (KSKs), you must correct the problem by enabling or disabling DNSSEC signing for * the hosted zone.

*/ inline void SetServeSignature(const char* value) { m_serveSignatureHasBeenSet = true; m_serveSignature.assign(value); } /** *

A string that represents the current hosted zone signing status.

*

Status can have one of the following values:

SIGNING
*

DNSSEC signing is enabled for the hosted zone.

NOT_SIGNING
*

DNSSEC signing is not enabled for the hosted zone.

*
DELETING

DNSSEC signing is in the process of being removed for * the hosted zone.

ACTION_NEEDED

There is a problem * with signing in the hosted zone that requires you to take action to resolve. For * example, the customer managed key might have been deleted, or the permissions * for the customer managed key might have been changed.

*
INTERNAL_FAILURE

There was an error during a request. Before * you can continue to work with DNSSEC signing, including with key-signing keys * (KSKs), you must correct the problem by enabling or disabling DNSSEC signing for * the hosted zone.

*/ inline DNSSECStatus& WithServeSignature(const Aws::String& value) { SetServeSignature(value); return *this;} /** *

A string that represents the current hosted zone signing status.

*

Status can have one of the following values:

SIGNING
*

DNSSEC signing is enabled for the hosted zone.

NOT_SIGNING
*

DNSSEC signing is not enabled for the hosted zone.

*
DELETING

DNSSEC signing is in the process of being removed for * the hosted zone.

ACTION_NEEDED

There is a problem * with signing in the hosted zone that requires you to take action to resolve. For * example, the customer managed key might have been deleted, or the permissions * for the customer managed key might have been changed.

*
INTERNAL_FAILURE

There was an error during a request. Before * you can continue to work with DNSSEC signing, including with key-signing keys * (KSKs), you must correct the problem by enabling or disabling DNSSEC signing for * the hosted zone.

*/ inline DNSSECStatus& WithServeSignature(Aws::String&& value) { SetServeSignature(std::move(value)); return *this;} /** *

A string that represents the current hosted zone signing status.

*

Status can have one of the following values:

SIGNING
*

DNSSEC signing is enabled for the hosted zone.

NOT_SIGNING
*

DNSSEC signing is not enabled for the hosted zone.

*
DELETING

DNSSEC signing is in the process of being removed for * the hosted zone.

ACTION_NEEDED

There is a problem * with signing in the hosted zone that requires you to take action to resolve. For * example, the customer managed key might have been deleted, or the permissions * for the customer managed key might have been changed.

*
INTERNAL_FAILURE

There was an error during a request. Before * you can continue to work with DNSSEC signing, including with key-signing keys * (KSKs), you must correct the problem by enabling or disabling DNSSEC signing for * the hosted zone.

*/ inline DNSSECStatus& WithServeSignature(const char* value) { SetServeSignature(value); return *this;} /** *

The status message provided for the following DNSSEC signing status: * INTERNAL_FAILURE. The status message includes information about * what the problem might be and steps that you can take to correct the issue.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

The status message provided for the following DNSSEC signing status: * INTERNAL_FAILURE. The status message includes information about * what the problem might be and steps that you can take to correct the issue.

*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *

The status message provided for the following DNSSEC signing status: * INTERNAL_FAILURE. The status message includes information about * what the problem might be and steps that you can take to correct the issue.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *

The status message provided for the following DNSSEC signing status: * INTERNAL_FAILURE. The status message includes information about * what the problem might be and steps that you can take to correct the issue.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *

The status message provided for the following DNSSEC signing status: * INTERNAL_FAILURE. The status message includes information about * what the problem might be and steps that you can take to correct the issue.

*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *

The status message provided for the following DNSSEC signing status: * INTERNAL_FAILURE. The status message includes information about * what the problem might be and steps that you can take to correct the issue.

*/ inline DNSSECStatus& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The status message provided for the following DNSSEC signing status: * INTERNAL_FAILURE. The status message includes information about * what the problem might be and steps that you can take to correct the issue.

*/ inline DNSSECStatus& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

The status message provided for the following DNSSEC signing status: * INTERNAL_FAILURE. The status message includes information about * what the problem might be and steps that you can take to correct the issue.

*/ inline DNSSECStatus& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} private: Aws::String m_serveSignature; bool m_serveSignatureHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws