/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about an archive rule.See Also:
AWS
* API Reference
The name of the archive rule.
*/ inline const Aws::String& GetRuleName() const{ return m_ruleName; } /** *The name of the archive rule.
*/ inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; } /** *The name of the archive rule.
*/ inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; } /** *The name of the archive rule.
*/ inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); } /** *The name of the archive rule.
*/ inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); } /** *The name of the archive rule.
*/ inline ArchiveRuleSummary& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;} /** *The name of the archive rule.
*/ inline ArchiveRuleSummary& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;} /** *The name of the archive rule.
*/ inline ArchiveRuleSummary& WithRuleName(const char* value) { SetRuleName(value); return *this;} /** *A filter used to define the archive rule.
*/ inline const Aws::MapA filter used to define the archive rule.
*/ inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; } /** *A filter used to define the archive rule.
*/ inline void SetFilter(const Aws::MapA filter used to define the archive rule.
*/ inline void SetFilter(Aws::MapA filter used to define the archive rule.
*/ inline ArchiveRuleSummary& WithFilter(const Aws::MapA filter used to define the archive rule.
*/ inline ArchiveRuleSummary& WithFilter(Aws::MapA filter used to define the archive rule.
*/ inline ArchiveRuleSummary& AddFilter(const Aws::String& key, const Criterion& value) { m_filterHasBeenSet = true; m_filter.emplace(key, value); return *this; } /** *A filter used to define the archive rule.
*/ inline ArchiveRuleSummary& AddFilter(Aws::String&& key, const Criterion& value) { m_filterHasBeenSet = true; m_filter.emplace(std::move(key), value); return *this; } /** *A filter used to define the archive rule.
*/ inline ArchiveRuleSummary& AddFilter(const Aws::String& key, Criterion&& value) { m_filterHasBeenSet = true; m_filter.emplace(key, std::move(value)); return *this; } /** *A filter used to define the archive rule.
*/ inline ArchiveRuleSummary& AddFilter(Aws::String&& key, Criterion&& value) { m_filterHasBeenSet = true; m_filter.emplace(std::move(key), std::move(value)); return *this; } /** *A filter used to define the archive rule.
*/ inline ArchiveRuleSummary& AddFilter(const char* key, Criterion&& value) { m_filterHasBeenSet = true; m_filter.emplace(key, std::move(value)); return *this; } /** *A filter used to define the archive rule.
*/ inline ArchiveRuleSummary& AddFilter(const char* key, const Criterion& value) { m_filterHasBeenSet = true; m_filter.emplace(key, value); return *this; } /** *The time at which the archive rule was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time at which the archive rule was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time at which the archive rule was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time at which the archive rule was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time at which the archive rule was created.
*/ inline ArchiveRuleSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time at which the archive rule was created.
*/ inline ArchiveRuleSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The time at which the archive rule was last updated.
*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *The time at which the archive rule was last updated.
*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *The time at which the archive rule was last updated.
*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *The time at which the archive rule was last updated.
*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *The time at which the archive rule was last updated.
*/ inline ArchiveRuleSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *The time at which the archive rule was last updated.
*/ inline ArchiveRuleSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_ruleName; bool m_ruleNameHasBeenSet = false; Aws::Map