/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An IPv4 CIDR block association.See Also:
AWS
* API Reference
The association ID for the IPv4 CIDR block.
*/ inline const Aws::String& GetAssociationId() const{ return m_associationId; } /** *The association ID for the IPv4 CIDR block.
*/ inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; } /** *The association ID for the IPv4 CIDR block.
*/ inline void SetAssociationId(const Aws::String& value) { m_associationIdHasBeenSet = true; m_associationId = value; } /** *The association ID for the IPv4 CIDR block.
*/ inline void SetAssociationId(Aws::String&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); } /** *The association ID for the IPv4 CIDR block.
*/ inline void SetAssociationId(const char* value) { m_associationIdHasBeenSet = true; m_associationId.assign(value); } /** *The association ID for the IPv4 CIDR block.
*/ inline CidrBlockAssociation& WithAssociationId(const Aws::String& value) { SetAssociationId(value); return *this;} /** *The association ID for the IPv4 CIDR block.
*/ inline CidrBlockAssociation& WithAssociationId(Aws::String&& value) { SetAssociationId(std::move(value)); return *this;} /** *The association ID for the IPv4 CIDR block.
*/ inline CidrBlockAssociation& WithAssociationId(const char* value) { SetAssociationId(value); return *this;} /** *The IPv4 CIDR block.
*/ inline const Aws::String& GetCidrBlock() const{ return m_cidrBlock; } /** *The IPv4 CIDR block.
*/ inline bool CidrBlockHasBeenSet() const { return m_cidrBlockHasBeenSet; } /** *The IPv4 CIDR block.
*/ inline void SetCidrBlock(const Aws::String& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = value; } /** *The IPv4 CIDR block.
*/ inline void SetCidrBlock(Aws::String&& value) { m_cidrBlockHasBeenSet = true; m_cidrBlock = std::move(value); } /** *The IPv4 CIDR block.
*/ inline void SetCidrBlock(const char* value) { m_cidrBlockHasBeenSet = true; m_cidrBlock.assign(value); } /** *The IPv4 CIDR block.
*/ inline CidrBlockAssociation& WithCidrBlock(const Aws::String& value) { SetCidrBlock(value); return *this;} /** *The IPv4 CIDR block.
*/ inline CidrBlockAssociation& WithCidrBlock(Aws::String&& value) { SetCidrBlock(std::move(value)); return *this;} /** *The IPv4 CIDR block.
*/ inline CidrBlockAssociation& WithCidrBlock(const char* value) { SetCidrBlock(value); return *this;} /** *Information about the state of the IPv4 CIDR block.
*/ inline const Aws::String& GetCidrBlockState() const{ return m_cidrBlockState; } /** *Information about the state of the IPv4 CIDR block.
*/ inline bool CidrBlockStateHasBeenSet() const { return m_cidrBlockStateHasBeenSet; } /** *Information about the state of the IPv4 CIDR block.
*/ inline void SetCidrBlockState(const Aws::String& value) { m_cidrBlockStateHasBeenSet = true; m_cidrBlockState = value; } /** *Information about the state of the IPv4 CIDR block.
*/ inline void SetCidrBlockState(Aws::String&& value) { m_cidrBlockStateHasBeenSet = true; m_cidrBlockState = std::move(value); } /** *Information about the state of the IPv4 CIDR block.
*/ inline void SetCidrBlockState(const char* value) { m_cidrBlockStateHasBeenSet = true; m_cidrBlockState.assign(value); } /** *Information about the state of the IPv4 CIDR block.
*/ inline CidrBlockAssociation& WithCidrBlockState(const Aws::String& value) { SetCidrBlockState(value); return *this;} /** *Information about the state of the IPv4 CIDR block.
*/ inline CidrBlockAssociation& WithCidrBlockState(Aws::String&& value) { SetCidrBlockState(std::move(value)); return *this;} /** *Information about the state of the IPv4 CIDR block.
*/ inline CidrBlockAssociation& WithCidrBlockState(const char* value) { SetCidrBlockState(value); return *this;} private: Aws::String m_associationId; bool m_associationIdHasBeenSet = false; Aws::String m_cidrBlock; bool m_cidrBlockHasBeenSet = false; Aws::String m_cidrBlockState; bool m_cidrBlockStateHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws