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-snowball/include/aws/snowball/model/DescribeAddressesResult.h

132 lines
4.9 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/snowball/Snowball_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSVector.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/snowball/model/Address.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class AmazonWebServiceResult;
namespace Utils
{
namespace Json
{
class JsonValue;
} // namespace Json
} // namespace Utils
namespace Snowball
{
namespace Model
{
class AWS_SNOWBALL_API DescribeAddressesResult
{
public:
DescribeAddressesResult();
DescribeAddressesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
DescribeAddressesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p>The Snowball shipping addresses that were created for this account.</p>
*/
inline const Aws::Vector<Address>& GetAddresses() const{ return m_addresses; }
/**
* <p>The Snowball shipping addresses that were created for this account.</p>
*/
inline void SetAddresses(const Aws::Vector<Address>& value) { m_addresses = value; }
/**
* <p>The Snowball shipping addresses that were created for this account.</p>
*/
inline void SetAddresses(Aws::Vector<Address>&& value) { m_addresses = std::move(value); }
/**
* <p>The Snowball shipping addresses that were created for this account.</p>
*/
inline DescribeAddressesResult& WithAddresses(const Aws::Vector<Address>& value) { SetAddresses(value); return *this;}
/**
* <p>The Snowball shipping addresses that were created for this account.</p>
*/
inline DescribeAddressesResult& WithAddresses(Aws::Vector<Address>&& value) { SetAddresses(std::move(value)); return *this;}
/**
* <p>The Snowball shipping addresses that were created for this account.</p>
*/
inline DescribeAddressesResult& AddAddresses(const Address& value) { m_addresses.push_back(value); return *this; }
/**
* <p>The Snowball shipping addresses that were created for this account.</p>
*/
inline DescribeAddressesResult& AddAddresses(Address&& value) { m_addresses.push_back(std::move(value)); return *this; }
/**
* <p>HTTP requests are stateless. If you use the automatically generated
* <code>NextToken</code> value in your next <code>DescribeAddresses</code> call,
* your list of returned addresses will start from this point in the array.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>HTTP requests are stateless. If you use the automatically generated
* <code>NextToken</code> value in your next <code>DescribeAddresses</code> call,
* your list of returned addresses will start from this point in the array.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
/**
* <p>HTTP requests are stateless. If you use the automatically generated
* <code>NextToken</code> value in your next <code>DescribeAddresses</code> call,
* your list of returned addresses will start from this point in the array.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
/**
* <p>HTTP requests are stateless. If you use the automatically generated
* <code>NextToken</code> value in your next <code>DescribeAddresses</code> call,
* your list of returned addresses will start from this point in the array.</p>
*/
inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
/**
* <p>HTTP requests are stateless. If you use the automatically generated
* <code>NextToken</code> value in your next <code>DescribeAddresses</code> call,
* your list of returned addresses will start from this point in the array.</p>
*/
inline DescribeAddressesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>HTTP requests are stateless. If you use the automatically generated
* <code>NextToken</code> value in your next <code>DescribeAddresses</code> call,
* your list of returned addresses will start from this point in the array.</p>
*/
inline DescribeAddressesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>HTTP requests are stateless. If you use the automatically generated
* <code>NextToken</code> value in your next <code>DescribeAddresses</code> call,
* your list of returned addresses will start from this point in the array.</p>
*/
inline DescribeAddressesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::Vector<Address> m_addresses;
Aws::String m_nextToken;
};
} // namespace Model
} // namespace Snowball
} // namespace Aws