This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-appmesh/include/aws/appmesh/model/GatewayRouteTarget.h

80 lines
2.4 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/appmesh/AppMesh_EXPORTS.h>
#include <aws/appmesh/model/GatewayRouteVirtualService.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace AppMesh
{
namespace Model
{
/**
* <p>An object that represents a gateway route target.</p><p><h3>See Also:</h3>
* <a
* href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/GatewayRouteTarget">AWS
* API Reference</a></p>
*/
class AWS_APPMESH_API GatewayRouteTarget
{
public:
GatewayRouteTarget();
GatewayRouteTarget(Aws::Utils::Json::JsonView jsonValue);
GatewayRouteTarget& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>An object that represents a virtual service gateway route target.</p>
*/
inline const GatewayRouteVirtualService& GetVirtualService() const{ return m_virtualService; }
/**
* <p>An object that represents a virtual service gateway route target.</p>
*/
inline bool VirtualServiceHasBeenSet() const { return m_virtualServiceHasBeenSet; }
/**
* <p>An object that represents a virtual service gateway route target.</p>
*/
inline void SetVirtualService(const GatewayRouteVirtualService& value) { m_virtualServiceHasBeenSet = true; m_virtualService = value; }
/**
* <p>An object that represents a virtual service gateway route target.</p>
*/
inline void SetVirtualService(GatewayRouteVirtualService&& value) { m_virtualServiceHasBeenSet = true; m_virtualService = std::move(value); }
/**
* <p>An object that represents a virtual service gateway route target.</p>
*/
inline GatewayRouteTarget& WithVirtualService(const GatewayRouteVirtualService& value) { SetVirtualService(value); return *this;}
/**
* <p>An object that represents a virtual service gateway route target.</p>
*/
inline GatewayRouteTarget& WithVirtualService(GatewayRouteVirtualService&& value) { SetVirtualService(std::move(value)); return *this;}
private:
GatewayRouteVirtualService m_virtualService;
bool m_virtualServiceHasBeenSet;
};
} // namespace Model
} // namespace AppMesh
} // namespace Aws