/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include In IPAM, a scope is the highest-level container within IPAM. An IPAM contains
* two default scopes. Each scope represents the IP space for a single network. The
* private scope is intended for all private IP address space. The public scope is
* intended for all public IP address space. Scopes enable you to reuse IP
* addresses across multiple unconnected networks without causing IP address
* overlap or conflict. For more information, see How
* IPAM works in the Amazon VPC IPAM User Guide.See
* Also:
AWS API
* Reference
The Amazon Web Services account ID of the owner of the scope.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The Amazon Web Services account ID of the owner of the scope.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The Amazon Web Services account ID of the owner of the scope.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The Amazon Web Services account ID of the owner of the scope.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The Amazon Web Services account ID of the owner of the scope.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The Amazon Web Services account ID of the owner of the scope.
*/ inline IpamScope& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The Amazon Web Services account ID of the owner of the scope.
*/ inline IpamScope& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The Amazon Web Services account ID of the owner of the scope.
*/ inline IpamScope& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *The ID of the scope.
*/ inline const Aws::String& GetIpamScopeId() const{ return m_ipamScopeId; } /** *The ID of the scope.
*/ inline bool IpamScopeIdHasBeenSet() const { return m_ipamScopeIdHasBeenSet; } /** *The ID of the scope.
*/ inline void SetIpamScopeId(const Aws::String& value) { m_ipamScopeIdHasBeenSet = true; m_ipamScopeId = value; } /** *The ID of the scope.
*/ inline void SetIpamScopeId(Aws::String&& value) { m_ipamScopeIdHasBeenSet = true; m_ipamScopeId = std::move(value); } /** *The ID of the scope.
*/ inline void SetIpamScopeId(const char* value) { m_ipamScopeIdHasBeenSet = true; m_ipamScopeId.assign(value); } /** *The ID of the scope.
*/ inline IpamScope& WithIpamScopeId(const Aws::String& value) { SetIpamScopeId(value); return *this;} /** *The ID of the scope.
*/ inline IpamScope& WithIpamScopeId(Aws::String&& value) { SetIpamScopeId(std::move(value)); return *this;} /** *The ID of the scope.
*/ inline IpamScope& WithIpamScopeId(const char* value) { SetIpamScopeId(value); return *this;} /** *The Amazon Resource Name (ARN) of the scope.
*/ inline const Aws::String& GetIpamScopeArn() const{ return m_ipamScopeArn; } /** *The Amazon Resource Name (ARN) of the scope.
*/ inline bool IpamScopeArnHasBeenSet() const { return m_ipamScopeArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the scope.
*/ inline void SetIpamScopeArn(const Aws::String& value) { m_ipamScopeArnHasBeenSet = true; m_ipamScopeArn = value; } /** *The Amazon Resource Name (ARN) of the scope.
*/ inline void SetIpamScopeArn(Aws::String&& value) { m_ipamScopeArnHasBeenSet = true; m_ipamScopeArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the scope.
*/ inline void SetIpamScopeArn(const char* value) { m_ipamScopeArnHasBeenSet = true; m_ipamScopeArn.assign(value); } /** *The Amazon Resource Name (ARN) of the scope.
*/ inline IpamScope& WithIpamScopeArn(const Aws::String& value) { SetIpamScopeArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the scope.
*/ inline IpamScope& WithIpamScopeArn(Aws::String&& value) { SetIpamScopeArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the scope.
*/ inline IpamScope& WithIpamScopeArn(const char* value) { SetIpamScopeArn(value); return *this;} /** *The ARN of the IPAM.
*/ inline const Aws::String& GetIpamArn() const{ return m_ipamArn; } /** *The ARN of the IPAM.
*/ inline bool IpamArnHasBeenSet() const { return m_ipamArnHasBeenSet; } /** *The ARN of the IPAM.
*/ inline void SetIpamArn(const Aws::String& value) { m_ipamArnHasBeenSet = true; m_ipamArn = value; } /** *The ARN of the IPAM.
*/ inline void SetIpamArn(Aws::String&& value) { m_ipamArnHasBeenSet = true; m_ipamArn = std::move(value); } /** *The ARN of the IPAM.
*/ inline void SetIpamArn(const char* value) { m_ipamArnHasBeenSet = true; m_ipamArn.assign(value); } /** *The ARN of the IPAM.
*/ inline IpamScope& WithIpamArn(const Aws::String& value) { SetIpamArn(value); return *this;} /** *The ARN of the IPAM.
*/ inline IpamScope& WithIpamArn(Aws::String&& value) { SetIpamArn(std::move(value)); return *this;} /** *The ARN of the IPAM.
*/ inline IpamScope& WithIpamArn(const char* value) { SetIpamArn(value); return *this;} /** *The Amazon Web Services Region of the IPAM scope.
*/ inline const Aws::String& GetIpamRegion() const{ return m_ipamRegion; } /** *The Amazon Web Services Region of the IPAM scope.
*/ inline bool IpamRegionHasBeenSet() const { return m_ipamRegionHasBeenSet; } /** *The Amazon Web Services Region of the IPAM scope.
*/ inline void SetIpamRegion(const Aws::String& value) { m_ipamRegionHasBeenSet = true; m_ipamRegion = value; } /** *The Amazon Web Services Region of the IPAM scope.
*/ inline void SetIpamRegion(Aws::String&& value) { m_ipamRegionHasBeenSet = true; m_ipamRegion = std::move(value); } /** *The Amazon Web Services Region of the IPAM scope.
*/ inline void SetIpamRegion(const char* value) { m_ipamRegionHasBeenSet = true; m_ipamRegion.assign(value); } /** *The Amazon Web Services Region of the IPAM scope.
*/ inline IpamScope& WithIpamRegion(const Aws::String& value) { SetIpamRegion(value); return *this;} /** *The Amazon Web Services Region of the IPAM scope.
*/ inline IpamScope& WithIpamRegion(Aws::String&& value) { SetIpamRegion(std::move(value)); return *this;} /** *The Amazon Web Services Region of the IPAM scope.
*/ inline IpamScope& WithIpamRegion(const char* value) { SetIpamRegion(value); return *this;} /** *The type of the scope.
*/ inline const IpamScopeType& GetIpamScopeType() const{ return m_ipamScopeType; } /** *The type of the scope.
*/ inline bool IpamScopeTypeHasBeenSet() const { return m_ipamScopeTypeHasBeenSet; } /** *The type of the scope.
*/ inline void SetIpamScopeType(const IpamScopeType& value) { m_ipamScopeTypeHasBeenSet = true; m_ipamScopeType = value; } /** *The type of the scope.
*/ inline void SetIpamScopeType(IpamScopeType&& value) { m_ipamScopeTypeHasBeenSet = true; m_ipamScopeType = std::move(value); } /** *The type of the scope.
*/ inline IpamScope& WithIpamScopeType(const IpamScopeType& value) { SetIpamScopeType(value); return *this;} /** *The type of the scope.
*/ inline IpamScope& WithIpamScopeType(IpamScopeType&& value) { SetIpamScopeType(std::move(value)); return *this;} /** *Defines if the scope is the default scope or not.
*/ inline bool GetIsDefault() const{ return m_isDefault; } /** *Defines if the scope is the default scope or not.
*/ inline bool IsDefaultHasBeenSet() const { return m_isDefaultHasBeenSet; } /** *Defines if the scope is the default scope or not.
*/ inline void SetIsDefault(bool value) { m_isDefaultHasBeenSet = true; m_isDefault = value; } /** *Defines if the scope is the default scope or not.
*/ inline IpamScope& WithIsDefault(bool value) { SetIsDefault(value); return *this;} /** *The description of the scope.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the scope.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the scope.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the scope.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the scope.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the scope.
*/ inline IpamScope& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the scope.
*/ inline IpamScope& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the scope.
*/ inline IpamScope& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The number of pools in the scope.
*/ inline int GetPoolCount() const{ return m_poolCount; } /** *The number of pools in the scope.
*/ inline bool PoolCountHasBeenSet() const { return m_poolCountHasBeenSet; } /** *The number of pools in the scope.
*/ inline void SetPoolCount(int value) { m_poolCountHasBeenSet = true; m_poolCount = value; } /** *The number of pools in the scope.
*/ inline IpamScope& WithPoolCount(int value) { SetPoolCount(value); return *this;} /** *The state of the IPAM scope.
*/ inline const IpamScopeState& GetState() const{ return m_state; } /** *The state of the IPAM scope.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the IPAM scope.
*/ inline void SetState(const IpamScopeState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the IPAM scope.
*/ inline void SetState(IpamScopeState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the IPAM scope.
*/ inline IpamScope& WithState(const IpamScopeState& value) { SetState(value); return *this;} /** *The state of the IPAM scope.
*/ inline IpamScope& WithState(IpamScopeState&& value) { SetState(std::move(value)); return *this;} /** *The key/value combination of a tag assigned to the resource. Use the tag key
* in the filter name and the tag value as the filter value. For example, to find
* all resources that have a tag with the key Owner
and the value
* TeamA
, specify tag:Owner
for the filter name and
* TeamA
for the filter value.
The key/value combination of a tag assigned to the resource. Use the tag key
* in the filter name and the tag value as the filter value. For example, to find
* all resources that have a tag with the key Owner
and the value
* TeamA
, specify tag:Owner
for the filter name and
* TeamA
for the filter value.
The key/value combination of a tag assigned to the resource. Use the tag key
* in the filter name and the tag value as the filter value. For example, to find
* all resources that have a tag with the key Owner
and the value
* TeamA
, specify tag:Owner
for the filter name and
* TeamA
for the filter value.
The key/value combination of a tag assigned to the resource. Use the tag key
* in the filter name and the tag value as the filter value. For example, to find
* all resources that have a tag with the key Owner
and the value
* TeamA
, specify tag:Owner
for the filter name and
* TeamA
for the filter value.
The key/value combination of a tag assigned to the resource. Use the tag key
* in the filter name and the tag value as the filter value. For example, to find
* all resources that have a tag with the key Owner
and the value
* TeamA
, specify tag:Owner
for the filter name and
* TeamA
for the filter value.
The key/value combination of a tag assigned to the resource. Use the tag key
* in the filter name and the tag value as the filter value. For example, to find
* all resources that have a tag with the key Owner
and the value
* TeamA
, specify tag:Owner
for the filter name and
* TeamA
for the filter value.
The key/value combination of a tag assigned to the resource. Use the tag key
* in the filter name and the tag value as the filter value. For example, to find
* all resources that have a tag with the key Owner
and the value
* TeamA
, specify tag:Owner
for the filter name and
* TeamA
for the filter value.
The key/value combination of a tag assigned to the resource. Use the tag key
* in the filter name and the tag value as the filter value. For example, to find
* all resources that have a tag with the key Owner
and the value
* TeamA
, specify tag:Owner
for the filter name and
* TeamA
for the filter value.