/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Filters out specific findings of a Device Defender audit. See
* Also:
AWS
* API Reference
The expiration date (epoch timestamp in seconds) that you want the * suppression to adhere to.
*/ inline const Aws::Utils::DateTime& GetExpirationDate() const{ return m_expirationDate; } /** *The expiration date (epoch timestamp in seconds) that you want the * suppression to adhere to.
*/ inline bool ExpirationDateHasBeenSet() const { return m_expirationDateHasBeenSet; } /** *The expiration date (epoch timestamp in seconds) that you want the * suppression to adhere to.
*/ inline void SetExpirationDate(const Aws::Utils::DateTime& value) { m_expirationDateHasBeenSet = true; m_expirationDate = value; } /** *The expiration date (epoch timestamp in seconds) that you want the * suppression to adhere to.
*/ inline void SetExpirationDate(Aws::Utils::DateTime&& value) { m_expirationDateHasBeenSet = true; m_expirationDate = std::move(value); } /** *The expiration date (epoch timestamp in seconds) that you want the * suppression to adhere to.
*/ inline AuditSuppression& WithExpirationDate(const Aws::Utils::DateTime& value) { SetExpirationDate(value); return *this;} /** *The expiration date (epoch timestamp in seconds) that you want the * suppression to adhere to.
*/ inline AuditSuppression& 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 bool SuppressIndefinitelyHasBeenSet() const { return m_suppressIndefinitelyHasBeenSet; } /** *Indicates whether a suppression should exist indefinitely or not.
*/ inline void SetSuppressIndefinitely(bool value) { m_suppressIndefinitelyHasBeenSet = true; m_suppressIndefinitely = value; } /** *Indicates whether a suppression should exist indefinitely or not.
*/ inline AuditSuppression& 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 bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the audit suppression.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the audit suppression.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the audit suppression.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the audit suppression.
*/ inline AuditSuppression& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the audit suppression.
*/ inline AuditSuppression& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the audit suppression.
*/ inline AuditSuppression& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_checkName; bool m_checkNameHasBeenSet = false; ResourceIdentifier m_resourceIdentifier; bool m_resourceIdentifierHasBeenSet = false; Aws::Utils::DateTime m_expirationDate; bool m_expirationDateHasBeenSet = false; bool m_suppressIndefinitely; bool m_suppressIndefinitelyHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws