/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace S3Outposts { namespace Model { class ListOutpostsWithS3Result { public: AWS_S3OUTPOSTS_API ListOutpostsWithS3Result(); AWS_S3OUTPOSTS_API ListOutpostsWithS3Result(const Aws::AmazonWebServiceResult& result); AWS_S3OUTPOSTS_API ListOutpostsWithS3Result& operator=(const Aws::AmazonWebServiceResult& result); /** *

Returns the list of Outposts that have the following characteristics:

*
  • outposts that have S3 provisioned

  • outposts that * are Active (not pending any provisioning nor decommissioned)

    *
  • outposts to which the the calling Amazon Web Services account has * access

*/ inline const Aws::Vector& GetOutposts() const{ return m_outposts; } /** *

Returns the list of Outposts that have the following characteristics:

*
  • outposts that have S3 provisioned

  • outposts that * are Active (not pending any provisioning nor decommissioned)

    *
  • outposts to which the the calling Amazon Web Services account has * access

*/ inline void SetOutposts(const Aws::Vector& value) { m_outposts = value; } /** *

Returns the list of Outposts that have the following characteristics:

*
  • outposts that have S3 provisioned

  • outposts that * are Active (not pending any provisioning nor decommissioned)

    *
  • outposts to which the the calling Amazon Web Services account has * access

*/ inline void SetOutposts(Aws::Vector&& value) { m_outposts = std::move(value); } /** *

Returns the list of Outposts that have the following characteristics:

*
  • outposts that have S3 provisioned

  • outposts that * are Active (not pending any provisioning nor decommissioned)

    *
  • outposts to which the the calling Amazon Web Services account has * access

*/ inline ListOutpostsWithS3Result& WithOutposts(const Aws::Vector& value) { SetOutposts(value); return *this;} /** *

Returns the list of Outposts that have the following characteristics:

*
  • outposts that have S3 provisioned

  • outposts that * are Active (not pending any provisioning nor decommissioned)

    *
  • outposts to which the the calling Amazon Web Services account has * access

*/ inline ListOutpostsWithS3Result& WithOutposts(Aws::Vector&& value) { SetOutposts(std::move(value)); return *this;} /** *

Returns the list of Outposts that have the following characteristics:

*
  • outposts that have S3 provisioned

  • outposts that * are Active (not pending any provisioning nor decommissioned)

    *
  • outposts to which the the calling Amazon Web Services account has * access

*/ inline ListOutpostsWithS3Result& AddOutposts(const Outpost& value) { m_outposts.push_back(value); return *this; } /** *

Returns the list of Outposts that have the following characteristics:

*
  • outposts that have S3 provisioned

  • outposts that * are Active (not pending any provisioning nor decommissioned)

    *
  • outposts to which the the calling Amazon Web Services account has * access

*/ inline ListOutpostsWithS3Result& AddOutposts(Outpost&& value) { m_outposts.push_back(std::move(value)); return *this; } /** *

Returns a token that you can use to call ListOutpostsWithS3 * again and receive additional results, if there are any.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Returns a token that you can use to call ListOutpostsWithS3 * again and receive additional results, if there are any.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

Returns a token that you can use to call ListOutpostsWithS3 * again and receive additional results, if there are any.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

Returns a token that you can use to call ListOutpostsWithS3 * again and receive additional results, if there are any.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

Returns a token that you can use to call ListOutpostsWithS3 * again and receive additional results, if there are any.

*/ inline ListOutpostsWithS3Result& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Returns a token that you can use to call ListOutpostsWithS3 * again and receive additional results, if there are any.

*/ inline ListOutpostsWithS3Result& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Returns a token that you can use to call ListOutpostsWithS3 * again and receive additional results, if there are any.

*/ inline ListOutpostsWithS3Result& WithNextToken(const char* value) { SetNextToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ListOutpostsWithS3Result& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListOutpostsWithS3Result& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListOutpostsWithS3Result& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_outposts; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace S3Outposts } // namespace Aws