/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that identifies a CIDR collection.See Also:
* AWS
* API Reference
The ARN of the collection. Can be used to reference the collection in IAM * policy or in another Amazon Web Services account.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the collection. Can be used to reference the collection in IAM * policy or in another Amazon Web Services account.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the collection. Can be used to reference the collection in IAM * policy or in another Amazon Web Services account.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the collection. Can be used to reference the collection in IAM * policy or in another Amazon Web Services account.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the collection. Can be used to reference the collection in IAM * policy or in another Amazon Web Services account.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the collection. Can be used to reference the collection in IAM * policy or in another Amazon Web Services account.
*/ inline CidrCollection& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the collection. Can be used to reference the collection in IAM * policy or in another Amazon Web Services account.
*/ inline CidrCollection& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the collection. Can be used to reference the collection in IAM * policy or in another Amazon Web Services account.
*/ inline CidrCollection& WithArn(const char* value) { SetArn(value); return *this;} /** *The unique ID of the CIDR collection.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique ID of the CIDR collection.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique ID of the CIDR collection.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique ID of the CIDR collection.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique ID of the CIDR collection.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique ID of the CIDR collection.
*/ inline CidrCollection& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique ID of the CIDR collection.
*/ inline CidrCollection& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique ID of the CIDR collection.
*/ inline CidrCollection& WithId(const char* value) { SetId(value); return *this;} /** *The name of a CIDR collection.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of a CIDR collection.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of a CIDR collection.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of a CIDR collection.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of a CIDR collection.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of a CIDR collection.
*/ inline CidrCollection& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of a CIDR collection.
*/ inline CidrCollection& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of a CIDR collection.
*/ inline CidrCollection& WithName(const char* value) { SetName(value); return *this;} /** *A sequential counter that Route 53 sets to 1 when you create a CIDR * collection and increments by 1 each time you update settings for the CIDR * collection.
*/ inline long long GetVersion() const{ return m_version; } /** *A sequential counter that Route 53 sets to 1 when you create a CIDR * collection and increments by 1 each time you update settings for the CIDR * collection.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *A sequential counter that Route 53 sets to 1 when you create a CIDR * collection and increments by 1 each time you update settings for the CIDR * collection.
*/ inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; } /** *A sequential counter that Route 53 sets to 1 when you create a CIDR * collection and increments by 1 each time you update settings for the CIDR * collection.
*/ inline CidrCollection& WithVersion(long long value) { SetVersion(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; long long m_version; bool m_versionHasBeenSet = false; }; } // namespace Model } // namespace Route53 } // namespace Aws