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/VirtualNodeStatus.h

80 lines
2.1 KiB
C++

/**
* 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/VirtualNodeStatusCode.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 the current status of the virtual
* node.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/VirtualNodeStatus">AWS
* API Reference</a></p>
*/
class AWS_APPMESH_API VirtualNodeStatus
{
public:
VirtualNodeStatus();
VirtualNodeStatus(Aws::Utils::Json::JsonView jsonValue);
VirtualNodeStatus& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The current status of the virtual node.</p>
*/
inline const VirtualNodeStatusCode& GetStatus() const{ return m_status; }
/**
* <p>The current status of the virtual node.</p>
*/
inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
/**
* <p>The current status of the virtual node.</p>
*/
inline void SetStatus(const VirtualNodeStatusCode& value) { m_statusHasBeenSet = true; m_status = value; }
/**
* <p>The current status of the virtual node.</p>
*/
inline void SetStatus(VirtualNodeStatusCode&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
/**
* <p>The current status of the virtual node.</p>
*/
inline VirtualNodeStatus& WithStatus(const VirtualNodeStatusCode& value) { SetStatus(value); return *this;}
/**
* <p>The current status of the virtual node.</p>
*/
inline VirtualNodeStatus& WithStatus(VirtualNodeStatusCode&& value) { SetStatus(std::move(value)); return *this;}
private:
VirtualNodeStatusCode m_status;
bool m_statusHasBeenSet;
};
} // namespace Model
} // namespace AppMesh
} // namespace Aws