/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the storage location for an instance store-backed
* AMI.See Also:
AWS API
* Reference
An Amazon S3 storage location.
*/ inline const S3Storage& GetS3() const{ return m_s3; } /** *An Amazon S3 storage location.
*/ inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } /** *An Amazon S3 storage location.
*/ inline void SetS3(const S3Storage& value) { m_s3HasBeenSet = true; m_s3 = value; } /** *An Amazon S3 storage location.
*/ inline void SetS3(S3Storage&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); } /** *An Amazon S3 storage location.
*/ inline Storage& WithS3(const S3Storage& value) { SetS3(value); return *this;} /** *An Amazon S3 storage location.
*/ inline Storage& WithS3(S3Storage&& value) { SetS3(std::move(value)); return *this;} private: S3Storage m_s3; bool m_s3HasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws