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

The ID that identifies the provisioned capacity unit.

*/ inline const Aws::String& GetCapacityId() const{ return m_capacityId; } /** *

The ID that identifies the provisioned capacity unit.

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

The ID that identifies the provisioned capacity unit.

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

The ID that identifies the provisioned capacity unit.

*/ inline void SetCapacityId(const char* value) { m_capacityId.assign(value); } /** *

The ID that identifies the provisioned capacity unit.

*/ inline PurchaseProvisionedCapacityResult& WithCapacityId(const Aws::String& value) { SetCapacityId(value); return *this;} /** *

The ID that identifies the provisioned capacity unit.

*/ inline PurchaseProvisionedCapacityResult& WithCapacityId(Aws::String&& value) { SetCapacityId(std::move(value)); return *this;} /** *

The ID that identifies the provisioned capacity unit.

*/ inline PurchaseProvisionedCapacityResult& WithCapacityId(const char* value) { SetCapacityId(value); return *this;} private: Aws::String m_capacityId; }; } // namespace Model } // namespace Glacier } // namespace Aws