/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace RoboMaker { namespace Model { /** *

The output location.

See Also:

AWS * API Reference

*/ class OutputLocation { public: AWS_ROBOMAKER_API OutputLocation(); AWS_ROBOMAKER_API OutputLocation(Aws::Utils::Json::JsonView jsonValue); AWS_ROBOMAKER_API OutputLocation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ROBOMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The S3 bucket for output.

*/ inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; } /** *

The S3 bucket for output.

*/ inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } /** *

The S3 bucket for output.

*/ inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; } /** *

The S3 bucket for output.

*/ inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); } /** *

The S3 bucket for output.

*/ inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); } /** *

The S3 bucket for output.

*/ inline OutputLocation& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;} /** *

The S3 bucket for output.

*/ inline OutputLocation& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;} /** *

The S3 bucket for output.

*/ inline OutputLocation& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;} /** *

The S3 folder in the s3Bucket where output files will be * placed.

*/ inline const Aws::String& GetS3Prefix() const{ return m_s3Prefix; } /** *

The S3 folder in the s3Bucket where output files will be * placed.

*/ inline bool S3PrefixHasBeenSet() const { return m_s3PrefixHasBeenSet; } /** *

The S3 folder in the s3Bucket where output files will be * placed.

*/ inline void SetS3Prefix(const Aws::String& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = value; } /** *

The S3 folder in the s3Bucket where output files will be * placed.

*/ inline void SetS3Prefix(Aws::String&& value) { m_s3PrefixHasBeenSet = true; m_s3Prefix = std::move(value); } /** *

The S3 folder in the s3Bucket where output files will be * placed.

*/ inline void SetS3Prefix(const char* value) { m_s3PrefixHasBeenSet = true; m_s3Prefix.assign(value); } /** *

The S3 folder in the s3Bucket where output files will be * placed.

*/ inline OutputLocation& WithS3Prefix(const Aws::String& value) { SetS3Prefix(value); return *this;} /** *

The S3 folder in the s3Bucket where output files will be * placed.

*/ inline OutputLocation& WithS3Prefix(Aws::String&& value) { SetS3Prefix(std::move(value)); return *this;} /** *

The S3 folder in the s3Bucket where output files will be * placed.

*/ inline OutputLocation& WithS3Prefix(const char* value) { SetS3Prefix(value); return *this;} private: Aws::String m_s3Bucket; bool m_s3BucketHasBeenSet = false; Aws::String m_s3Prefix; bool m_s3PrefixHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws