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-awstransfer/include/aws/awstransfer/model/DescribeServerResult.h

73 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/awstransfer/Transfer_EXPORTS.h>
#include <aws/awstransfer/model/DescribedServer.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Transfer
{
namespace Model
{
class AWS_TRANSFER_API DescribeServerResult
{
public:
DescribeServerResult();
DescribeServerResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeServerResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>An array containing the properties of a file transfer protocol-enabled server
* with the <code>ServerID</code> you specified.</p>
*/
inline const DescribedServer& GetServer() const{ return m_server; }
/**
* <p>An array containing the properties of a file transfer protocol-enabled server
* with the <code>ServerID</code> you specified.</p>
*/
inline void SetServer(const DescribedServer& value) { m_server = value; }
/**
* <p>An array containing the properties of a file transfer protocol-enabled server
* with the <code>ServerID</code> you specified.</p>
*/
inline void SetServer(DescribedServer&& value) { m_server = std::move(value); }
/**
* <p>An array containing the properties of a file transfer protocol-enabled server
* with the <code>ServerID</code> you specified.</p>
*/
inline DescribeServerResult& WithServer(const DescribedServer& value) { SetServer(value); return *this;}
/**
* <p>An array containing the properties of a file transfer protocol-enabled server
* with the <code>ServerID</code> you specified.</p>
*/
inline DescribeServerResult& WithServer(DescribedServer&& value) { SetServer(std::move(value)); return *this;}
private:
DescribedServer m_server;
};
} // namespace Model
} // namespace Transfer
} // namespace Aws