/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Minimal high-level information for a firewall rule group. The action
* ListFirewallRuleGroups returns an array of these objects. To
* retrieve full information for a firewall rule group, call
* GetFirewallRuleGroup and ListFirewallRules.See
* Also:
AWS
* API Reference
The ID of the rule group.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID of the rule group.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID of the rule group.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID of the rule group.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID of the rule group.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID of the rule group.
*/ inline FirewallRuleGroupMetadata& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID of the rule group.
*/ inline FirewallRuleGroupMetadata& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID of the rule group.
*/ inline FirewallRuleGroupMetadata& WithId(const char* value) { SetId(value); return *this;} /** *The ARN (Amazon Resource Name) of the rule group.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN (Amazon Resource Name) of the rule group.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN (Amazon Resource Name) of the rule group.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN (Amazon Resource Name) of the rule group.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN (Amazon Resource Name) of the rule group.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN (Amazon Resource Name) of the rule group.
*/ inline FirewallRuleGroupMetadata& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN (Amazon Resource Name) of the rule group.
*/ inline FirewallRuleGroupMetadata& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN (Amazon Resource Name) of the rule group.
*/ inline FirewallRuleGroupMetadata& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the rule group.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the rule group.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the rule group.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the rule group.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the rule group.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the rule group.
*/ inline FirewallRuleGroupMetadata& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the rule group.
*/ inline FirewallRuleGroupMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the rule group.
*/ inline FirewallRuleGroupMetadata& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Web Services account ID for the account that created the rule * group. When a rule group is shared with your account, this is the account that * has shared the rule group with you.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The Amazon Web Services account ID for the account that created the rule * group. When a rule group is shared with your account, this is the account that * has shared the rule group with you.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The Amazon Web Services account ID for the account that created the rule * group. When a rule group is shared with your account, this is the account that * has shared the rule group with you.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The Amazon Web Services account ID for the account that created the rule * group. When a rule group is shared with your account, this is the account that * has shared the rule group with you.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The Amazon Web Services account ID for the account that created the rule * group. When a rule group is shared with your account, this is the account that * has shared the rule group with you.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The Amazon Web Services account ID for the account that created the rule * group. When a rule group is shared with your account, this is the account that * has shared the rule group with you.
*/ inline FirewallRuleGroupMetadata& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The Amazon Web Services account ID for the account that created the rule * group. When a rule group is shared with your account, this is the account that * has shared the rule group with you.
*/ inline FirewallRuleGroupMetadata& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The Amazon Web Services account ID for the account that created the rule * group. When a rule group is shared with your account, this is the account that * has shared the rule group with you.
*/ inline FirewallRuleGroupMetadata& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.
*/ inline const Aws::String& GetCreatorRequestId() const{ return m_creatorRequestId; } /** *A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.
*/ inline bool CreatorRequestIdHasBeenSet() const { return m_creatorRequestIdHasBeenSet; } /** *A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.
*/ inline void SetCreatorRequestId(const Aws::String& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = value; } /** *A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.
*/ inline void SetCreatorRequestId(Aws::String&& value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId = std::move(value); } /** *A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.
*/ inline void SetCreatorRequestId(const char* value) { m_creatorRequestIdHasBeenSet = true; m_creatorRequestId.assign(value); } /** *A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.
*/ inline FirewallRuleGroupMetadata& WithCreatorRequestId(const Aws::String& value) { SetCreatorRequestId(value); return *this;} /** *A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.
*/ inline FirewallRuleGroupMetadata& WithCreatorRequestId(Aws::String&& value) { SetCreatorRequestId(std::move(value)); return *this;} /** *A unique string defined by you to identify the request. This allows you to * retry failed requests without the risk of running the operation twice. This can * be any unique string, for example, a timestamp.
*/ inline FirewallRuleGroupMetadata& WithCreatorRequestId(const char* value) { SetCreatorRequestId(value); return *this;} /** *Whether the rule group is shared with other Amazon Web Services accounts, or * was shared with the current account by another Amazon Web Services account. * Sharing is configured through Resource Access Manager (RAM).
*/ inline const ShareStatus& GetShareStatus() const{ return m_shareStatus; } /** *Whether the rule group is shared with other Amazon Web Services accounts, or * was shared with the current account by another Amazon Web Services account. * Sharing is configured through Resource Access Manager (RAM).
*/ inline bool ShareStatusHasBeenSet() const { return m_shareStatusHasBeenSet; } /** *Whether the rule group is shared with other Amazon Web Services accounts, or * was shared with the current account by another Amazon Web Services account. * Sharing is configured through Resource Access Manager (RAM).
*/ inline void SetShareStatus(const ShareStatus& value) { m_shareStatusHasBeenSet = true; m_shareStatus = value; } /** *Whether the rule group is shared with other Amazon Web Services accounts, or * was shared with the current account by another Amazon Web Services account. * Sharing is configured through Resource Access Manager (RAM).
*/ inline void SetShareStatus(ShareStatus&& value) { m_shareStatusHasBeenSet = true; m_shareStatus = std::move(value); } /** *Whether the rule group is shared with other Amazon Web Services accounts, or * was shared with the current account by another Amazon Web Services account. * Sharing is configured through Resource Access Manager (RAM).
*/ inline FirewallRuleGroupMetadata& WithShareStatus(const ShareStatus& value) { SetShareStatus(value); return *this;} /** *Whether the rule group is shared with other Amazon Web Services accounts, or * was shared with the current account by another Amazon Web Services account. * Sharing is configured through Resource Access Manager (RAM).
*/ inline FirewallRuleGroupMetadata& WithShareStatus(ShareStatus&& value) { SetShareStatus(std::move(value)); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_ownerId; bool m_ownerIdHasBeenSet = false; Aws::String m_creatorRequestId; bool m_creatorRequestIdHasBeenSet = false; ShareStatus m_shareStatus; bool m_shareStatusHasBeenSet = false; }; } // namespace Model } // namespace Route53Resolver } // namespace Aws