/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains information about the CIDR collection
* change.See Also:
AWS
* API Reference
Name of the location that is associated with the CIDR collection.
*/ inline const Aws::String& GetLocationName() const{ return m_locationName; } /** *Name of the location that is associated with the CIDR collection.
*/ inline bool LocationNameHasBeenSet() const { return m_locationNameHasBeenSet; } /** *Name of the location that is associated with the CIDR collection.
*/ inline void SetLocationName(const Aws::String& value) { m_locationNameHasBeenSet = true; m_locationName = value; } /** *Name of the location that is associated with the CIDR collection.
*/ inline void SetLocationName(Aws::String&& value) { m_locationNameHasBeenSet = true; m_locationName = std::move(value); } /** *Name of the location that is associated with the CIDR collection.
*/ inline void SetLocationName(const char* value) { m_locationNameHasBeenSet = true; m_locationName.assign(value); } /** *Name of the location that is associated with the CIDR collection.
*/ inline CidrCollectionChange& WithLocationName(const Aws::String& value) { SetLocationName(value); return *this;} /** *Name of the location that is associated with the CIDR collection.
*/ inline CidrCollectionChange& WithLocationName(Aws::String&& value) { SetLocationName(std::move(value)); return *this;} /** *Name of the location that is associated with the CIDR collection.
*/ inline CidrCollectionChange& WithLocationName(const char* value) { SetLocationName(value); return *this;} /** *CIDR collection change action.
*/ inline const CidrCollectionChangeAction& GetAction() const{ return m_action; } /** *CIDR collection change action.
*/ inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } /** *CIDR collection change action.
*/ inline void SetAction(const CidrCollectionChangeAction& value) { m_actionHasBeenSet = true; m_action = value; } /** *CIDR collection change action.
*/ inline void SetAction(CidrCollectionChangeAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } /** *CIDR collection change action.
*/ inline CidrCollectionChange& WithAction(const CidrCollectionChangeAction& value) { SetAction(value); return *this;} /** *CIDR collection change action.
*/ inline CidrCollectionChange& WithAction(CidrCollectionChangeAction&& value) { SetAction(std::move(value)); return *this;} /** *List of CIDR blocks.
*/ inline const Aws::VectorList of CIDR blocks.
*/ inline bool CidrListHasBeenSet() const { return m_cidrListHasBeenSet; } /** *List of CIDR blocks.
*/ inline void SetCidrList(const Aws::VectorList of CIDR blocks.
*/ inline void SetCidrList(Aws::VectorList of CIDR blocks.
*/ inline CidrCollectionChange& WithCidrList(const Aws::VectorList of CIDR blocks.
*/ inline CidrCollectionChange& WithCidrList(Aws::VectorList of CIDR blocks.
*/ inline CidrCollectionChange& AddCidrList(const Aws::String& value) { m_cidrListHasBeenSet = true; m_cidrList.push_back(value); return *this; } /** *List of CIDR blocks.
*/ inline CidrCollectionChange& AddCidrList(Aws::String&& value) { m_cidrListHasBeenSet = true; m_cidrList.push_back(std::move(value)); return *this; } /** *List of CIDR blocks.
*/ inline CidrCollectionChange& AddCidrList(const char* value) { m_cidrListHasBeenSet = true; m_cidrList.push_back(value); return *this; } private: Aws::String m_locationName; bool m_locationNameHasBeenSet = false; CidrCollectionChangeAction m_action; bool m_actionHasBeenSet = false; Aws::Vector