/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A script that runs on first launch of an Amazon EC2 instance. Used for
* configuring the server during launch.See Also:
AWS API
* Reference
Amazon S3 location of the user-data script.
*/ inline const S3Location& GetS3Location() const{ return m_s3Location; } /** *Amazon S3 location of the user-data script.
*/ inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; } /** *Amazon S3 location of the user-data script.
*/ inline void SetS3Location(const S3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; } /** *Amazon S3 location of the user-data script.
*/ inline void SetS3Location(S3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); } /** *Amazon S3 location of the user-data script.
*/ inline UserData& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;} /** *Amazon S3 location of the user-data script.
*/ inline UserData& WithS3Location(S3Location&& value) { SetS3Location(std::move(value)); return *this;} private: S3Location m_s3Location; bool m_s3LocationHasBeenSet = false; }; } // namespace Model } // namespace SMS } // namespace Aws