/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains settings for a traffic policy.See
* Also:
AWS
* API Reference
The ID that Amazon Route 53 assigned to a traffic policy when you created * it.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The ID that Amazon Route 53 assigned to a traffic policy when you created * it.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The ID that Amazon Route 53 assigned to a traffic policy when you created * it.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The ID that Amazon Route 53 assigned to a traffic policy when you created * it.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The ID that Amazon Route 53 assigned to a traffic policy when you created * it.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The ID that Amazon Route 53 assigned to a traffic policy when you created * it.
*/ inline TrafficPolicy& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The ID that Amazon Route 53 assigned to a traffic policy when you created * it.
*/ inline TrafficPolicy& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The ID that Amazon Route 53 assigned to a traffic policy when you created * it.
*/ inline TrafficPolicy& WithId(const char* value) { SetId(value); return *this;} /** *The version number that Amazon Route 53 assigns to a traffic policy. For a
* new traffic policy, the value of Version
is always 1.
The version number that Amazon Route 53 assigns to a traffic policy. For a
* new traffic policy, the value of Version
is always 1.
The version number that Amazon Route 53 assigns to a traffic policy. For a
* new traffic policy, the value of Version
is always 1.
The version number that Amazon Route 53 assigns to a traffic policy. For a
* new traffic policy, the value of Version
is always 1.
The name that you specified when you created the traffic policy.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name that you specified when you created the traffic policy.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name that you specified when you created the traffic policy.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name that you specified when you created the traffic policy.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name that you specified when you created the traffic policy.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name that you specified when you created the traffic policy.
*/ inline TrafficPolicy& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name that you specified when you created the traffic policy.
*/ inline TrafficPolicy& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name that you specified when you created the traffic policy.
*/ inline TrafficPolicy& WithName(const char* value) { SetName(value); return *this;} /** *The DNS type of the resource record sets that Amazon Route 53 creates when * you use a traffic policy to create a traffic policy instance.
*/ inline const RRType& GetType() const{ return m_type; } /** *The DNS type of the resource record sets that Amazon Route 53 creates when * you use a traffic policy to create a traffic policy instance.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The DNS type of the resource record sets that Amazon Route 53 creates when * you use a traffic policy to create a traffic policy instance.
*/ inline void SetType(const RRType& value) { m_typeHasBeenSet = true; m_type = value; } /** *The DNS type of the resource record sets that Amazon Route 53 creates when * you use a traffic policy to create a traffic policy instance.
*/ inline void SetType(RRType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The DNS type of the resource record sets that Amazon Route 53 creates when * you use a traffic policy to create a traffic policy instance.
*/ inline TrafficPolicy& WithType(const RRType& value) { SetType(value); return *this;} /** *The DNS type of the resource record sets that Amazon Route 53 creates when * you use a traffic policy to create a traffic policy instance.
*/ inline TrafficPolicy& WithType(RRType&& value) { SetType(std::move(value)); return *this;} /** *The definition of a traffic policy in JSON format. You specify the JSON
* document to use for a new traffic policy in the CreateTrafficPolicy
* request. For more information about the JSON format, see Traffic
* Policy Document Format.
The definition of a traffic policy in JSON format. You specify the JSON
* document to use for a new traffic policy in the CreateTrafficPolicy
* request. For more information about the JSON format, see Traffic
* Policy Document Format.
The definition of a traffic policy in JSON format. You specify the JSON
* document to use for a new traffic policy in the CreateTrafficPolicy
* request. For more information about the JSON format, see Traffic
* Policy Document Format.
The definition of a traffic policy in JSON format. You specify the JSON
* document to use for a new traffic policy in the CreateTrafficPolicy
* request. For more information about the JSON format, see Traffic
* Policy Document Format.
The definition of a traffic policy in JSON format. You specify the JSON
* document to use for a new traffic policy in the CreateTrafficPolicy
* request. For more information about the JSON format, see Traffic
* Policy Document Format.
The definition of a traffic policy in JSON format. You specify the JSON
* document to use for a new traffic policy in the CreateTrafficPolicy
* request. For more information about the JSON format, see Traffic
* Policy Document Format.
The definition of a traffic policy in JSON format. You specify the JSON
* document to use for a new traffic policy in the CreateTrafficPolicy
* request. For more information about the JSON format, see Traffic
* Policy Document Format.
The definition of a traffic policy in JSON format. You specify the JSON
* document to use for a new traffic policy in the CreateTrafficPolicy
* request. For more information about the JSON format, see Traffic
* Policy Document Format.
The comment that you specify in the CreateTrafficPolicy
request,
* if any.
The comment that you specify in the CreateTrafficPolicy
request,
* if any.
The comment that you specify in the CreateTrafficPolicy
request,
* if any.
The comment that you specify in the CreateTrafficPolicy
request,
* if any.
The comment that you specify in the CreateTrafficPolicy
request,
* if any.
The comment that you specify in the CreateTrafficPolicy
request,
* if any.
The comment that you specify in the CreateTrafficPolicy
request,
* if any.
The comment that you specify in the CreateTrafficPolicy
request,
* if any.