/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include High-level information about the managed rule group that your own rule group
* is copied from. You can use the the metadata to track version updates made to
* the originating rule group. You can retrieve all objects for a rule group by
* calling DescribeRuleGroup.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the rule group that your own rule group is * copied from.
*/ inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } /** *The Amazon Resource Name (ARN) of the rule group that your own rule group is * copied from.
*/ inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the rule group that your own rule group is * copied from.
*/ inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } /** *The Amazon Resource Name (ARN) of the rule group that your own rule group is * copied from.
*/ inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the rule group that your own rule group is * copied from.
*/ inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } /** *The Amazon Resource Name (ARN) of the rule group that your own rule group is * copied from.
*/ inline SourceMetadata& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the rule group that your own rule group is * copied from.
*/ inline SourceMetadata& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the rule group that your own rule group is * copied from.
*/ inline SourceMetadata& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} /** *The update token of the Amazon Web Services managed rule group that your own * rule group is copied from. To determine the update token for the managed rule * group, call DescribeRuleGroup.
*/ inline const Aws::String& GetSourceUpdateToken() const{ return m_sourceUpdateToken; } /** *The update token of the Amazon Web Services managed rule group that your own * rule group is copied from. To determine the update token for the managed rule * group, call DescribeRuleGroup.
*/ inline bool SourceUpdateTokenHasBeenSet() const { return m_sourceUpdateTokenHasBeenSet; } /** *The update token of the Amazon Web Services managed rule group that your own * rule group is copied from. To determine the update token for the managed rule * group, call DescribeRuleGroup.
*/ inline void SetSourceUpdateToken(const Aws::String& value) { m_sourceUpdateTokenHasBeenSet = true; m_sourceUpdateToken = value; } /** *The update token of the Amazon Web Services managed rule group that your own * rule group is copied from. To determine the update token for the managed rule * group, call DescribeRuleGroup.
*/ inline void SetSourceUpdateToken(Aws::String&& value) { m_sourceUpdateTokenHasBeenSet = true; m_sourceUpdateToken = std::move(value); } /** *The update token of the Amazon Web Services managed rule group that your own * rule group is copied from. To determine the update token for the managed rule * group, call DescribeRuleGroup.
*/ inline void SetSourceUpdateToken(const char* value) { m_sourceUpdateTokenHasBeenSet = true; m_sourceUpdateToken.assign(value); } /** *The update token of the Amazon Web Services managed rule group that your own * rule group is copied from. To determine the update token for the managed rule * group, call DescribeRuleGroup.
*/ inline SourceMetadata& WithSourceUpdateToken(const Aws::String& value) { SetSourceUpdateToken(value); return *this;} /** *The update token of the Amazon Web Services managed rule group that your own * rule group is copied from. To determine the update token for the managed rule * group, call DescribeRuleGroup.
*/ inline SourceMetadata& WithSourceUpdateToken(Aws::String&& value) { SetSourceUpdateToken(std::move(value)); return *this;} /** *The update token of the Amazon Web Services managed rule group that your own * rule group is copied from. To determine the update token for the managed rule * group, call DescribeRuleGroup.
*/ inline SourceMetadata& WithSourceUpdateToken(const char* value) { SetSourceUpdateToken(value); return *this;} private: Aws::String m_sourceArn; bool m_sourceArnHasBeenSet = false; Aws::String m_sourceUpdateToken; bool m_sourceUpdateTokenHasBeenSet = false; }; } // namespace Model } // namespace NetworkFirewall } // namespace Aws