78 lines
2.3 KiB
C
78 lines
2.3 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/lightsail/Lightsail_EXPORTS.h>
|
|||
|
|
#include <aws/lightsail/model/Operation.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace Lightsail
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
class AWS_LIGHTSAIL_API UnpeerVpcResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
UnpeerVpcResult();
|
|||
|
|
UnpeerVpcResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
UnpeerVpcResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An array of objects that describe the result of the action, such as the
|
|||
|
|
* status of the request, the timestamp of the request, and the resources affected
|
|||
|
|
* by the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Operation& GetOperation() const{ return m_operation; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An array of objects that describe the result of the action, such as the
|
|||
|
|
* status of the request, the timestamp of the request, and the resources affected
|
|||
|
|
* by the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOperation(const Operation& value) { m_operation = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An array of objects that describe the result of the action, such as the
|
|||
|
|
* status of the request, the timestamp of the request, and the resources affected
|
|||
|
|
* by the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetOperation(Operation&& value) { m_operation = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An array of objects that describe the result of the action, such as the
|
|||
|
|
* status of the request, the timestamp of the request, and the resources affected
|
|||
|
|
* by the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline UnpeerVpcResult& WithOperation(const Operation& value) { SetOperation(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>An array of objects that describe the result of the action, such as the
|
|||
|
|
* status of the request, the timestamp of the request, and the resources affected
|
|||
|
|
* by the request.</p>
|
|||
|
|
*/
|
|||
|
|
inline UnpeerVpcResult& WithOperation(Operation&& value) { SetOperation(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Operation m_operation;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace Lightsail
|
|||
|
|
} // namespace Aws
|