/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a single version of a managed rule group. See Also:
* AWS
* API Reference
The version name.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The version name.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The version name.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The version name.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The version name.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The version name.
*/ inline ManagedRuleGroupVersion& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The version name.
*/ inline ManagedRuleGroupVersion& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The version name.
*/ inline ManagedRuleGroupVersion& WithName(const char* value) { SetName(value); return *this;} /** *The date and time that the managed rule group owner updated the rule group * version information.
*/ inline const Aws::Utils::DateTime& GetLastUpdateTimestamp() const{ return m_lastUpdateTimestamp; } /** *The date and time that the managed rule group owner updated the rule group * version information.
*/ inline bool LastUpdateTimestampHasBeenSet() const { return m_lastUpdateTimestampHasBeenSet; } /** *The date and time that the managed rule group owner updated the rule group * version information.
*/ inline void SetLastUpdateTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = value; } /** *The date and time that the managed rule group owner updated the rule group * version information.
*/ inline void SetLastUpdateTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdateTimestampHasBeenSet = true; m_lastUpdateTimestamp = std::move(value); } /** *The date and time that the managed rule group owner updated the rule group * version information.
*/ inline ManagedRuleGroupVersion& WithLastUpdateTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdateTimestamp(value); return *this;} /** *The date and time that the managed rule group owner updated the rule group * version information.
*/ inline ManagedRuleGroupVersion& WithLastUpdateTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdateTimestamp(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTimestamp; bool m_lastUpdateTimestampHasBeenSet = false; }; } // namespace Model } // namespace WAFV2 } // namespace Aws