169 lines
5.2 KiB
C
169 lines
5.2 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/datasync/DataSync_EXPORTS.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <aws/datasync/model/Ec2Config.h>
|
|||
|
|
#include <aws/core/utils/DateTime.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
template<typename RESULT_TYPE>
|
|||
|
|
class AmazonWebServiceResult;
|
|||
|
|
|
|||
|
|
namespace Utils
|
|||
|
|
{
|
|||
|
|
namespace Json
|
|||
|
|
{
|
|||
|
|
class JsonValue;
|
|||
|
|
} // namespace Json
|
|||
|
|
} // namespace Utils
|
|||
|
|
namespace DataSync
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* <p>DescribeLocationEfsResponse</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/datasync-2018-11-09/DescribeLocationEfsResponse">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_DATASYNC_API DescribeLocationEfsResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
DescribeLocationEfsResult();
|
|||
|
|
DescribeLocationEfsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
DescribeLocationEfsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetLocationArn() const{ return m_locationArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocationArn(const Aws::String& value) { m_locationArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocationArn(Aws::String&& value) { m_locationArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocationArn(const char* value) { m_locationArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeLocationEfsResult& WithLocationArn(const Aws::String& value) { SetLocationArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeLocationEfsResult& WithLocationArn(Aws::String&& value) { SetLocationArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeLocationEfsResult& WithLocationArn(const char* value) { SetLocationArn(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URL of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetLocationUri() const{ return m_locationUri; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URL of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocationUri(const Aws::String& value) { m_locationUri = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URL of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocationUri(Aws::String&& value) { m_locationUri = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URL of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLocationUri(const char* value) { m_locationUri.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URL of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeLocationEfsResult& WithLocationUri(const Aws::String& value) { SetLocationUri(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URL of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeLocationEfsResult& WithLocationUri(Aws::String&& value) { SetLocationUri(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The URL of the EFS location that was described.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeLocationEfsResult& WithLocationUri(const char* value) { SetLocationUri(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline const Ec2Config& GetEc2Config() const{ return m_ec2Config; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline void SetEc2Config(const Ec2Config& value) { m_ec2Config = value; }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline void SetEc2Config(Ec2Config&& value) { m_ec2Config = std::move(value); }
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline DescribeLocationEfsResult& WithEc2Config(const Ec2Config& value) { SetEc2Config(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
inline DescribeLocationEfsResult& WithEc2Config(Ec2Config&& value) { SetEc2Config(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The time that the EFS location was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The time that the EFS location was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The time that the EFS location was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The time that the EFS location was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeLocationEfsResult& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The time that the EFS location was created.</p>
|
|||
|
|
*/
|
|||
|
|
inline DescribeLocationEfsResult& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_locationArn;
|
|||
|
|
|
|||
|
|
Aws::String m_locationUri;
|
|||
|
|
|
|||
|
|
Ec2Config m_ec2Config;
|
|||
|
|
|
|||
|
|
Aws::Utils::DateTime m_creationTime;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace DataSync
|
|||
|
|
} // namespace Aws
|