/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the default properties for a backend.See
* Also:
AWS
* API Reference
A reference to an object that represents a client policy.
*/ inline const VirtualGatewayClientPolicy& GetClientPolicy() const{ return m_clientPolicy; } /** *A reference to an object that represents a client policy.
*/ inline bool ClientPolicyHasBeenSet() const { return m_clientPolicyHasBeenSet; } /** *A reference to an object that represents a client policy.
*/ inline void SetClientPolicy(const VirtualGatewayClientPolicy& value) { m_clientPolicyHasBeenSet = true; m_clientPolicy = value; } /** *A reference to an object that represents a client policy.
*/ inline void SetClientPolicy(VirtualGatewayClientPolicy&& value) { m_clientPolicyHasBeenSet = true; m_clientPolicy = std::move(value); } /** *A reference to an object that represents a client policy.
*/ inline VirtualGatewayBackendDefaults& WithClientPolicy(const VirtualGatewayClientPolicy& value) { SetClientPolicy(value); return *this;} /** *A reference to an object that represents a client policy.
*/ inline VirtualGatewayBackendDefaults& WithClientPolicy(VirtualGatewayClientPolicy&& value) { SetClientPolicy(std::move(value)); return *this;} private: VirtualGatewayClientPolicy m_clientPolicy; bool m_clientPolicyHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws