/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace IoT { namespace Model { class DescribeAuditSuppressionResult { public: AWS_IOT_API DescribeAuditSuppressionResult(); AWS_IOT_API DescribeAuditSuppressionResult(const Aws::AmazonWebServiceResult& result); AWS_IOT_API DescribeAuditSuppressionResult& operator=(const Aws::AmazonWebServiceResult& result); inline const Aws::String& GetCheckName() const{ return m_checkName; } inline void SetCheckName(const Aws::String& value) { m_checkName = value; } inline void SetCheckName(Aws::String&& value) { m_checkName = std::move(value); } inline void SetCheckName(const char* value) { m_checkName.assign(value); } inline DescribeAuditSuppressionResult& WithCheckName(const Aws::String& value) { SetCheckName(value); return *this;} inline DescribeAuditSuppressionResult& WithCheckName(Aws::String&& value) { SetCheckName(std::move(value)); return *this;} inline DescribeAuditSuppressionResult& WithCheckName(const char* value) { SetCheckName(value); return *this;} inline const ResourceIdentifier& GetResourceIdentifier() const{ return m_resourceIdentifier; } inline void SetResourceIdentifier(const ResourceIdentifier& value) { m_resourceIdentifier = value; } inline void SetResourceIdentifier(ResourceIdentifier&& value) { m_resourceIdentifier = std::move(value); } inline DescribeAuditSuppressionResult& WithResourceIdentifier(const ResourceIdentifier& value) { SetResourceIdentifier(value); return *this;} inline DescribeAuditSuppressionResult& WithResourceIdentifier(ResourceIdentifier&& value) { SetResourceIdentifier(std::move(value)); return *this;} /** *

The epoch timestamp in seconds at which this suppression expires.

*/ inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; } /** *

The epoch timestamp in seconds at which this suppression expires.

*/ inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDate = value; } /** *

The epoch timestamp in seconds at which this suppression expires.

*/ inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDate = std::move(value); } /** *

The epoch timestamp in seconds at which this suppression expires.

*/ inline DescribeAuditSuppressionResult& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;} /** *

The epoch timestamp in seconds at which this suppression expires.

*/ inline DescribeAuditSuppressionResult& WithExpirationDate(Aws::Utils::DateTime&& value) { SetExpirationDate(std::move(value)); return *this;} /** *

Indicates whether a suppression should exist indefinitely or not.

*/ inline bool GetSuppressIndefinitely() const{ return m_suppressIndefinitely; } /** *

Indicates whether a suppression should exist indefinitely or not.

*/ inline void SetSuppressIndefinitely(bool value) { m_suppressIndefinitely = value; } /** *

Indicates whether a suppression should exist indefinitely or not.

*/ inline DescribeAuditSuppressionResult& WithSuppressIndefinitely(bool value) { SetSuppressIndefinitely(value); return *this;} /** *

The description of the audit suppression.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the audit suppression.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The description of the audit suppression.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The description of the audit suppression.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the audit suppression.

*/ inline DescribeAuditSuppressionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the audit suppression.

*/ inline DescribeAuditSuppressionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the audit suppression.

*/ inline DescribeAuditSuppressionResult& WithDescription(const char* value) { SetDescription(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeAuditSuppressionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAuditSuppressionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAuditSuppressionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_checkName; ResourceIdentifier m_resourceIdentifier; Aws::Utils::DateTime m_expirationDate; bool m_suppressIndefinitely; Aws::String m_description; Aws::String m_requestId; }; } // namespace Model } // namespace IoT } // namespace Aws