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-lightsail/include/aws/lightsail/model/AttachCertificateToDistributionResult.h

78 lines
2.4 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 AttachCertificateToDistributionResult
{
public:
AttachCertificateToDistributionResult();
AttachCertificateToDistributionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
AttachCertificateToDistributionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An object that describes 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 object that describes 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 object that describes 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 object that describes 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 AttachCertificateToDistributionResult& WithOperation(const Operation& value) { SetOperation(value); return *this;}
/**
* <p>An object that describes 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 AttachCertificateToDistributionResult& WithOperation(Operation&& value) { SetOperation(std::move(value)); return *this;}
private:
Operation m_operation;
};
} // namespace Model
} // namespace Lightsail
} // namespace Aws