/** * 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 Glacier { namespace Model { class ListProvisionedCapacityResult { public: AWS_GLACIER_API ListProvisionedCapacityResult(); AWS_GLACIER_API ListProvisionedCapacityResult(const Aws::AmazonWebServiceResult& result); AWS_GLACIER_API ListProvisionedCapacityResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The response body contains the following JSON fields.

*/ inline const Aws::Vector& GetProvisionedCapacityList() const{ return m_provisionedCapacityList; } /** *

The response body contains the following JSON fields.

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

The response body contains the following JSON fields.

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

The response body contains the following JSON fields.

*/ inline ListProvisionedCapacityResult& WithProvisionedCapacityList(const Aws::Vector& value) { SetProvisionedCapacityList(value); return *this;} /** *

The response body contains the following JSON fields.

*/ inline ListProvisionedCapacityResult& WithProvisionedCapacityList(Aws::Vector&& value) { SetProvisionedCapacityList(std::move(value)); return *this;} /** *

The response body contains the following JSON fields.

*/ inline ListProvisionedCapacityResult& AddProvisionedCapacityList(const ProvisionedCapacityDescription& value) { m_provisionedCapacityList.push_back(value); return *this; } /** *

The response body contains the following JSON fields.

*/ inline ListProvisionedCapacityResult& AddProvisionedCapacityList(ProvisionedCapacityDescription&& value) { m_provisionedCapacityList.push_back(std::move(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 ListProvisionedCapacityResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListProvisionedCapacityResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListProvisionedCapacityResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_provisionedCapacityList; Aws::String m_requestId; }; } // namespace Model } // namespace Glacier } // namespace Aws