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-glacier/include/aws/glacier/model/CreateVaultResult.h

84 lines
2.1 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/glacier/Glacier_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Glacier
{
namespace Model
{
/**
* <p>Contains the Amazon S3 Glacier response to your request.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/glacier-2012-06-01/CreateVaultOutput">AWS
* API Reference</a></p>
*/
class AWS_GLACIER_API CreateVaultResult
{
public:
CreateVaultResult();
CreateVaultResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
CreateVaultResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The URI of the vault that was created.</p>
*/
inline const Aws::String& GetLocation() const{ return m_location; }
/**
* <p>The URI of the vault that was created.</p>
*/
inline void SetLocation(const Aws::String& value) { m_location = value; }
/**
* <p>The URI of the vault that was created.</p>
*/
inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
/**
* <p>The URI of the vault that was created.</p>
*/
inline void SetLocation(const char* value) { m_location.assign(value); }
/**
* <p>The URI of the vault that was created.</p>
*/
inline CreateVaultResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
/**
* <p>The URI of the vault that was created.</p>
*/
inline CreateVaultResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
/**
* <p>The URI of the vault that was created.</p>
*/
inline CreateVaultResult& WithLocation(const char* value) { SetLocation(value); return *this;}
private:
Aws::String m_location;
};
} // namespace Model
} // namespace Glacier
} // namespace Aws