/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A set of resources to include in a policy.See Also:
AWS API
* Reference
A unique identifier for the resource set. This ID is returned in the * responses to create and list commands. You provide it to operations like update * and delete.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *A unique identifier for the resource set. This ID is returned in the * responses to create and list commands. You provide it to operations like update * and delete.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *A unique identifier for the resource set. This ID is returned in the * responses to create and list commands. You provide it to operations like update * and delete.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *A unique identifier for the resource set. This ID is returned in the * responses to create and list commands. You provide it to operations like update * and delete.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *A unique identifier for the resource set. This ID is returned in the * responses to create and list commands. You provide it to operations like update * and delete.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *A unique identifier for the resource set. This ID is returned in the * responses to create and list commands. You provide it to operations like update * and delete.
*/ inline ResourceSet& WithId(const Aws::String& value) { SetId(value); return *this;} /** *A unique identifier for the resource set. This ID is returned in the * responses to create and list commands. You provide it to operations like update * and delete.
*/ inline ResourceSet& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *A unique identifier for the resource set. This ID is returned in the * responses to create and list commands. You provide it to operations like update * and delete.
*/ inline ResourceSet& WithId(const char* value) { SetId(value); return *this;} /** *The descriptive name of the resource set. You can't change the name of a * resource set after you create it.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The descriptive name of the resource set. You can't change the name of a * resource set after you create it.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The descriptive name of the resource set. You can't change the name of a * resource set after you create it.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The descriptive name of the resource set. You can't change the name of a * resource set after you create it.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The descriptive name of the resource set. You can't change the name of a * resource set after you create it.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The descriptive name of the resource set. You can't change the name of a * resource set after you create it.
*/ inline ResourceSet& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The descriptive name of the resource set. You can't change the name of a * resource set after you create it.
*/ inline ResourceSet& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The descriptive name of the resource set. You can't change the name of a * resource set after you create it.
*/ inline ResourceSet& WithName(const char* value) { SetName(value); return *this;} /** *A description of the resource set.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the resource set.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the resource set.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the resource set.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the resource set.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the resource set.
*/ inline ResourceSet& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the resource set.
*/ inline ResourceSet& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the resource set.
*/ inline ResourceSet& WithDescription(const char* value) { SetDescription(value); return *this;} /** *An optional token that you can use for optimistic locking. Firewall Manager * returns a token to your requests that access the resource set. The token marks * the state of the resource set resource at the time of the request. Update tokens * are not allowed when creating a resource set. After creation, each subsequent * update call to the resource set requires the update token.
To make an * unconditional change to the resource set, omit the token in your update request. * Without the token, Firewall Manager performs your updates regardless of whether * the resource set has changed since you last retrieved it.
To make a
* conditional change to the resource set, provide the token in your update
* request. Firewall Manager uses the token to ensure that the resource set hasn't
* changed since you last retrieved it. If it has changed, the operation fails with
* an InvalidTokenException
. If this happens, retrieve the resource
* set again to get a current copy of it with a new token. Reapply your changes as
* needed, then try the operation again using the new token.
An optional token that you can use for optimistic locking. Firewall Manager * returns a token to your requests that access the resource set. The token marks * the state of the resource set resource at the time of the request. Update tokens * are not allowed when creating a resource set. After creation, each subsequent * update call to the resource set requires the update token.
To make an * unconditional change to the resource set, omit the token in your update request. * Without the token, Firewall Manager performs your updates regardless of whether * the resource set has changed since you last retrieved it.
To make a
* conditional change to the resource set, provide the token in your update
* request. Firewall Manager uses the token to ensure that the resource set hasn't
* changed since you last retrieved it. If it has changed, the operation fails with
* an InvalidTokenException
. If this happens, retrieve the resource
* set again to get a current copy of it with a new token. Reapply your changes as
* needed, then try the operation again using the new token.
An optional token that you can use for optimistic locking. Firewall Manager * returns a token to your requests that access the resource set. The token marks * the state of the resource set resource at the time of the request. Update tokens * are not allowed when creating a resource set. After creation, each subsequent * update call to the resource set requires the update token.
To make an * unconditional change to the resource set, omit the token in your update request. * Without the token, Firewall Manager performs your updates regardless of whether * the resource set has changed since you last retrieved it.
To make a
* conditional change to the resource set, provide the token in your update
* request. Firewall Manager uses the token to ensure that the resource set hasn't
* changed since you last retrieved it. If it has changed, the operation fails with
* an InvalidTokenException
. If this happens, retrieve the resource
* set again to get a current copy of it with a new token. Reapply your changes as
* needed, then try the operation again using the new token.
An optional token that you can use for optimistic locking. Firewall Manager * returns a token to your requests that access the resource set. The token marks * the state of the resource set resource at the time of the request. Update tokens * are not allowed when creating a resource set. After creation, each subsequent * update call to the resource set requires the update token.
To make an * unconditional change to the resource set, omit the token in your update request. * Without the token, Firewall Manager performs your updates regardless of whether * the resource set has changed since you last retrieved it.
To make a
* conditional change to the resource set, provide the token in your update
* request. Firewall Manager uses the token to ensure that the resource set hasn't
* changed since you last retrieved it. If it has changed, the operation fails with
* an InvalidTokenException
. If this happens, retrieve the resource
* set again to get a current copy of it with a new token. Reapply your changes as
* needed, then try the operation again using the new token.
An optional token that you can use for optimistic locking. Firewall Manager * returns a token to your requests that access the resource set. The token marks * the state of the resource set resource at the time of the request. Update tokens * are not allowed when creating a resource set. After creation, each subsequent * update call to the resource set requires the update token.
To make an * unconditional change to the resource set, omit the token in your update request. * Without the token, Firewall Manager performs your updates regardless of whether * the resource set has changed since you last retrieved it.
To make a
* conditional change to the resource set, provide the token in your update
* request. Firewall Manager uses the token to ensure that the resource set hasn't
* changed since you last retrieved it. If it has changed, the operation fails with
* an InvalidTokenException
. If this happens, retrieve the resource
* set again to get a current copy of it with a new token. Reapply your changes as
* needed, then try the operation again using the new token.
An optional token that you can use for optimistic locking. Firewall Manager * returns a token to your requests that access the resource set. The token marks * the state of the resource set resource at the time of the request. Update tokens * are not allowed when creating a resource set. After creation, each subsequent * update call to the resource set requires the update token.
To make an * unconditional change to the resource set, omit the token in your update request. * Without the token, Firewall Manager performs your updates regardless of whether * the resource set has changed since you last retrieved it.
To make a
* conditional change to the resource set, provide the token in your update
* request. Firewall Manager uses the token to ensure that the resource set hasn't
* changed since you last retrieved it. If it has changed, the operation fails with
* an InvalidTokenException
. If this happens, retrieve the resource
* set again to get a current copy of it with a new token. Reapply your changes as
* needed, then try the operation again using the new token.
An optional token that you can use for optimistic locking. Firewall Manager * returns a token to your requests that access the resource set. The token marks * the state of the resource set resource at the time of the request. Update tokens * are not allowed when creating a resource set. After creation, each subsequent * update call to the resource set requires the update token.
To make an * unconditional change to the resource set, omit the token in your update request. * Without the token, Firewall Manager performs your updates regardless of whether * the resource set has changed since you last retrieved it.
To make a
* conditional change to the resource set, provide the token in your update
* request. Firewall Manager uses the token to ensure that the resource set hasn't
* changed since you last retrieved it. If it has changed, the operation fails with
* an InvalidTokenException
. If this happens, retrieve the resource
* set again to get a current copy of it with a new token. Reapply your changes as
* needed, then try the operation again using the new token.
An optional token that you can use for optimistic locking. Firewall Manager * returns a token to your requests that access the resource set. The token marks * the state of the resource set resource at the time of the request. Update tokens * are not allowed when creating a resource set. After creation, each subsequent * update call to the resource set requires the update token.
To make an * unconditional change to the resource set, omit the token in your update request. * Without the token, Firewall Manager performs your updates regardless of whether * the resource set has changed since you last retrieved it.
To make a
* conditional change to the resource set, provide the token in your update
* request. Firewall Manager uses the token to ensure that the resource set hasn't
* changed since you last retrieved it. If it has changed, the operation fails with
* an InvalidTokenException
. If this happens, retrieve the resource
* set again to get a current copy of it with a new token. Reapply your changes as
* needed, then try the operation again using the new token.
Determines the resources that can be associated to the resource set. * Depending on your setting for max results and the number of resource sets, a * single call might not return the full list.
*/ inline const Aws::VectorDetermines the resources that can be associated to the resource set. * Depending on your setting for max results and the number of resource sets, a * single call might not return the full list.
*/ inline bool ResourceTypeListHasBeenSet() const { return m_resourceTypeListHasBeenSet; } /** *Determines the resources that can be associated to the resource set. * Depending on your setting for max results and the number of resource sets, a * single call might not return the full list.
*/ inline void SetResourceTypeList(const Aws::VectorDetermines the resources that can be associated to the resource set. * Depending on your setting for max results and the number of resource sets, a * single call might not return the full list.
*/ inline void SetResourceTypeList(Aws::VectorDetermines the resources that can be associated to the resource set. * Depending on your setting for max results and the number of resource sets, a * single call might not return the full list.
*/ inline ResourceSet& WithResourceTypeList(const Aws::VectorDetermines the resources that can be associated to the resource set. * Depending on your setting for max results and the number of resource sets, a * single call might not return the full list.
*/ inline ResourceSet& WithResourceTypeList(Aws::VectorDetermines the resources that can be associated to the resource set. * Depending on your setting for max results and the number of resource sets, a * single call might not return the full list.
*/ inline ResourceSet& AddResourceTypeList(const Aws::String& value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList.push_back(value); return *this; } /** *Determines the resources that can be associated to the resource set. * Depending on your setting for max results and the number of resource sets, a * single call might not return the full list.
*/ inline ResourceSet& AddResourceTypeList(Aws::String&& value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList.push_back(std::move(value)); return *this; } /** *Determines the resources that can be associated to the resource set. * Depending on your setting for max results and the number of resource sets, a * single call might not return the full list.
*/ inline ResourceSet& AddResourceTypeList(const char* value) { m_resourceTypeListHasBeenSet = true; m_resourceTypeList.push_back(value); return *this; } /** *The last time that the resource set was changed.
*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *The last time that the resource set was changed.
*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *The last time that the resource set was changed.
*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *The last time that the resource set was changed.
*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *The last time that the resource set was changed.
*/ inline ResourceSet& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *The last time that the resource set was changed.
*/ inline ResourceSet& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *Indicates whether the resource set is in or out of an admin's Region * scope.
ACTIVE
- The administrator can manage and
* delete the resource set.
OUT_OF_ADMIN_SCOPE
-
* The administrator can view the resource set, but they can't edit or delete the
* resource set. Existing protections stay in place. Any new resource that come
* into scope of the resource set won't be protected.
Indicates whether the resource set is in or out of an admin's Region * scope.
ACTIVE
- The administrator can manage and
* delete the resource set.
OUT_OF_ADMIN_SCOPE
-
* The administrator can view the resource set, but they can't edit or delete the
* resource set. Existing protections stay in place. Any new resource that come
* into scope of the resource set won't be protected.
Indicates whether the resource set is in or out of an admin's Region * scope.
ACTIVE
- The administrator can manage and
* delete the resource set.
OUT_OF_ADMIN_SCOPE
-
* The administrator can view the resource set, but they can't edit or delete the
* resource set. Existing protections stay in place. Any new resource that come
* into scope of the resource set won't be protected.
Indicates whether the resource set is in or out of an admin's Region * scope.
ACTIVE
- The administrator can manage and
* delete the resource set.
OUT_OF_ADMIN_SCOPE
-
* The administrator can view the resource set, but they can't edit or delete the
* resource set. Existing protections stay in place. Any new resource that come
* into scope of the resource set won't be protected.
Indicates whether the resource set is in or out of an admin's Region * scope.
ACTIVE
- The administrator can manage and
* delete the resource set.
OUT_OF_ADMIN_SCOPE
-
* The administrator can view the resource set, but they can't edit or delete the
* resource set. Existing protections stay in place. Any new resource that come
* into scope of the resource set won't be protected.
Indicates whether the resource set is in or out of an admin's Region * scope.
ACTIVE
- The administrator can manage and
* delete the resource set.
OUT_OF_ADMIN_SCOPE
-
* The administrator can view the resource set, but they can't edit or delete the
* resource set. Existing protections stay in place. Any new resource that come
* into scope of the resource set won't be protected.