/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include SetDataRetrievalPolicy input.See Also:
AWS
* API Reference
The AccountId
value is the AWS account ID. This value must match
* the AWS account ID associated with the credentials used to sign the request. You
* can either specify an AWS account ID or optionally a single '-
'
* (hyphen), in which case Amazon Glacier uses the AWS account ID associated with
* the credentials used to sign the request. If you specify your account ID, do not
* include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID. This value must match
* the AWS account ID associated with the credentials used to sign the request. You
* can either specify an AWS account ID or optionally a single '-
'
* (hyphen), in which case Amazon Glacier uses the AWS account ID associated with
* the credentials used to sign the request. If you specify your account ID, do not
* include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID. This value must match
* the AWS account ID associated with the credentials used to sign the request. You
* can either specify an AWS account ID or optionally a single '-
'
* (hyphen), in which case Amazon Glacier uses the AWS account ID associated with
* the credentials used to sign the request. If you specify your account ID, do not
* include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID. This value must match
* the AWS account ID associated with the credentials used to sign the request. You
* can either specify an AWS account ID or optionally a single '-
'
* (hyphen), in which case Amazon Glacier uses the AWS account ID associated with
* the credentials used to sign the request. If you specify your account ID, do not
* include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID. This value must match
* the AWS account ID associated with the credentials used to sign the request. You
* can either specify an AWS account ID or optionally a single '-
'
* (hyphen), in which case Amazon Glacier uses the AWS account ID associated with
* the credentials used to sign the request. If you specify your account ID, do not
* include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID. This value must match
* the AWS account ID associated with the credentials used to sign the request. You
* can either specify an AWS account ID or optionally a single '-
'
* (hyphen), in which case Amazon Glacier uses the AWS account ID associated with
* the credentials used to sign the request. If you specify your account ID, do not
* include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID. This value must match
* the AWS account ID associated with the credentials used to sign the request. You
* can either specify an AWS account ID or optionally a single '-
'
* (hyphen), in which case Amazon Glacier uses the AWS account ID associated with
* the credentials used to sign the request. If you specify your account ID, do not
* include any hyphens ('-') in the ID.
The AccountId
value is the AWS account ID. This value must match
* the AWS account ID associated with the credentials used to sign the request. You
* can either specify an AWS account ID or optionally a single '-
'
* (hyphen), in which case Amazon Glacier uses the AWS account ID associated with
* the credentials used to sign the request. If you specify your account ID, do not
* include any hyphens ('-') in the ID.
The data retrieval policy in JSON format.
*/ inline const DataRetrievalPolicy& GetPolicy() const{ return m_policy; } /** *The data retrieval policy in JSON format.
*/ inline bool PolicyHasBeenSet() const { return m_policyHasBeenSet; } /** *The data retrieval policy in JSON format.
*/ inline void SetPolicy(const DataRetrievalPolicy& value) { m_policyHasBeenSet = true; m_policy = value; } /** *The data retrieval policy in JSON format.
*/ inline void SetPolicy(DataRetrievalPolicy&& value) { m_policyHasBeenSet = true; m_policy = std::move(value); } /** *The data retrieval policy in JSON format.
*/ inline SetDataRetrievalPolicyRequest& WithPolicy(const DataRetrievalPolicy& value) { SetPolicy(value); return *this;} /** *The data retrieval policy in JSON format.
*/ inline SetDataRetrievalPolicyRequest& WithPolicy(DataRetrievalPolicy&& value) { SetPolicy(std::move(value)); return *this;} private: Aws::String m_accountId; bool m_accountIdHasBeenSet = false; DataRetrievalPolicy m_policy; bool m_policyHasBeenSet = false; }; } // namespace Model } // namespace Glacier } // namespace Aws