/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for restore job parameters.See Also:
AWS
* API Reference
Lifetime of the active copy in days. Do not use with restores that specify
* OutputLocation
.
The Days element is required for regular * restores, and must not be provided for select requests.
*/ inline int GetDays() const{ return m_days; } /** *Lifetime of the active copy in days. Do not use with restores that specify
* OutputLocation
.
The Days element is required for regular * restores, and must not be provided for select requests.
*/ inline bool DaysHasBeenSet() const { return m_daysHasBeenSet; } /** *Lifetime of the active copy in days. Do not use with restores that specify
* OutputLocation
.
The Days element is required for regular * restores, and must not be provided for select requests.
*/ inline void SetDays(int value) { m_daysHasBeenSet = true; m_days = value; } /** *Lifetime of the active copy in days. Do not use with restores that specify
* OutputLocation
.
The Days element is required for regular * restores, and must not be provided for select requests.
*/ inline RestoreRequest& WithDays(int value) { SetDays(value); return *this;} /** *S3 Glacier related parameters pertaining to this job. Do not use with
* restores that specify OutputLocation
.
S3 Glacier related parameters pertaining to this job. Do not use with
* restores that specify OutputLocation
.
S3 Glacier related parameters pertaining to this job. Do not use with
* restores that specify OutputLocation
.
S3 Glacier related parameters pertaining to this job. Do not use with
* restores that specify OutputLocation
.
S3 Glacier related parameters pertaining to this job. Do not use with
* restores that specify OutputLocation
.
S3 Glacier related parameters pertaining to this job. Do not use with
* restores that specify OutputLocation
.
Type of restore request.
*/ inline const RestoreRequestType& GetType() const{ return m_type; } /** *Type of restore request.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Type of restore request.
*/ inline void SetType(const RestoreRequestType& value) { m_typeHasBeenSet = true; m_type = value; } /** *Type of restore request.
*/ inline void SetType(RestoreRequestType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Type of restore request.
*/ inline RestoreRequest& WithType(const RestoreRequestType& value) { SetType(value); return *this;} /** *Type of restore request.
*/ inline RestoreRequest& WithType(RestoreRequestType&& value) { SetType(std::move(value)); return *this;} /** *Retrieval tier at which the restore will be processed.
*/ inline const Tier& GetTier() const{ return m_tier; } /** *Retrieval tier at which the restore will be processed.
*/ inline bool TierHasBeenSet() const { return m_tierHasBeenSet; } /** *Retrieval tier at which the restore will be processed.
*/ inline void SetTier(const Tier& value) { m_tierHasBeenSet = true; m_tier = value; } /** *Retrieval tier at which the restore will be processed.
*/ inline void SetTier(Tier&& value) { m_tierHasBeenSet = true; m_tier = std::move(value); } /** *Retrieval tier at which the restore will be processed.
*/ inline RestoreRequest& WithTier(const Tier& value) { SetTier(value); return *this;} /** *Retrieval tier at which the restore will be processed.
*/ inline RestoreRequest& WithTier(Tier&& value) { SetTier(std::move(value)); return *this;} /** *The optional description for the job.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The optional description for the job.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The optional description for the job.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The optional description for the job.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The optional description for the job.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The optional description for the job.
*/ inline RestoreRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The optional description for the job.
*/ inline RestoreRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The optional description for the job.
*/ inline RestoreRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *Describes the parameters for Select job types.
*/ inline const SelectParameters& GetSelectParameters() const{ return m_selectParameters; } /** *Describes the parameters for Select job types.
*/ inline bool SelectParametersHasBeenSet() const { return m_selectParametersHasBeenSet; } /** *Describes the parameters for Select job types.
*/ inline void SetSelectParameters(const SelectParameters& value) { m_selectParametersHasBeenSet = true; m_selectParameters = value; } /** *Describes the parameters for Select job types.
*/ inline void SetSelectParameters(SelectParameters&& value) { m_selectParametersHasBeenSet = true; m_selectParameters = std::move(value); } /** *Describes the parameters for Select job types.
*/ inline RestoreRequest& WithSelectParameters(const SelectParameters& value) { SetSelectParameters(value); return *this;} /** *Describes the parameters for Select job types.
*/ inline RestoreRequest& WithSelectParameters(SelectParameters&& value) { SetSelectParameters(std::move(value)); return *this;} /** *Describes the location where the restore job's output is stored.
*/ inline const OutputLocation& GetOutputLocation() const{ return m_outputLocation; } /** *Describes the location where the restore job's output is stored.
*/ inline bool OutputLocationHasBeenSet() const { return m_outputLocationHasBeenSet; } /** *Describes the location where the restore job's output is stored.
*/ inline void SetOutputLocation(const OutputLocation& value) { m_outputLocationHasBeenSet = true; m_outputLocation = value; } /** *Describes the location where the restore job's output is stored.
*/ inline void SetOutputLocation(OutputLocation&& value) { m_outputLocationHasBeenSet = true; m_outputLocation = std::move(value); } /** *Describes the location where the restore job's output is stored.
*/ inline RestoreRequest& WithOutputLocation(const OutputLocation& value) { SetOutputLocation(value); return *this;} /** *Describes the location where the restore job's output is stored.
*/ inline RestoreRequest& WithOutputLocation(OutputLocation&& value) { SetOutputLocation(std::move(value)); return *this;} private: int m_days; bool m_daysHasBeenSet; GlacierJobParameters m_glacierJobParameters; bool m_glacierJobParametersHasBeenSet; RestoreRequestType m_type; bool m_typeHasBeenSet; Tier m_tier; bool m_tierHasBeenSet; Aws::String m_description; bool m_descriptionHasBeenSet; SelectParameters m_selectParameters; bool m_selectParametersHasBeenSet; OutputLocation m_outputLocation; bool m_outputLocationHasBeenSet; }; } // namespace Model } // namespace S3 } // namespace Aws