/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex type that contains the response information for the
* CreateTrafficPolicyVersion
request.See Also:
AWS
* API Reference
A complex type that contains settings for the new version of the traffic * policy.
*/ inline const TrafficPolicy& GetTrafficPolicy() const{ return m_trafficPolicy; } /** *A complex type that contains settings for the new version of the traffic * policy.
*/ inline void SetTrafficPolicy(const TrafficPolicy& value) { m_trafficPolicy = value; } /** *A complex type that contains settings for the new version of the traffic * policy.
*/ inline void SetTrafficPolicy(TrafficPolicy&& value) { m_trafficPolicy = std::move(value); } /** *A complex type that contains settings for the new version of the traffic * policy.
*/ inline CreateTrafficPolicyVersionResult& WithTrafficPolicy(const TrafficPolicy& value) { SetTrafficPolicy(value); return *this;} /** *A complex type that contains settings for the new version of the traffic * policy.
*/ inline CreateTrafficPolicyVersionResult& WithTrafficPolicy(TrafficPolicy&& value) { SetTrafficPolicy(std::move(value)); return *this;} /** *A unique URL that represents a new traffic policy version.
*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *A unique URL that represents a new traffic policy version.
*/ inline void SetLocation(const Aws::String& value) { m_location = value; } /** *A unique URL that represents a new traffic policy version.
*/ inline void SetLocation(Aws::String&& value) { m_location = std::move(value); } /** *A unique URL that represents a new traffic policy version.
*/ inline void SetLocation(const char* value) { m_location.assign(value); } /** *A unique URL that represents a new traffic policy version.
*/ inline CreateTrafficPolicyVersionResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *A unique URL that represents a new traffic policy version.
*/ inline CreateTrafficPolicyVersionResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *A unique URL that represents a new traffic policy version.
*/ inline CreateTrafficPolicyVersionResult& WithLocation(const char* value) { SetLocation(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateTrafficPolicyVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateTrafficPolicyVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateTrafficPolicyVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: TrafficPolicy m_trafficPolicy; Aws::String m_location; Aws::String m_requestId; }; } // namespace Model } // namespace Route53 } // namespace Aws