/** * 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 { /** *

Information about S3 keys.

See Also:

AWS * API Reference

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

The S3 key.

*/ inline const Aws::String& GetS3Key() const{ return m_s3Key; } /** *

The S3 key.

*/ inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; } /** *

The S3 key.

*/ inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; } /** *

The S3 key.

*/ inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); } /** *

The S3 key.

*/ inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); } /** *

The S3 key.

*/ inline S3KeyOutput& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;} /** *

The S3 key.

*/ inline S3KeyOutput& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;} /** *

The S3 key.

*/ inline S3KeyOutput& WithS3Key(const char* value) { SetS3Key(value); return *this;} /** *

The etag for the object.

*/ inline const Aws::String& GetEtag() const{ return m_etag; } /** *

The etag for the object.

*/ inline bool EtagHasBeenSet() const { return m_etagHasBeenSet; } /** *

The etag for the object.

*/ inline void SetEtag(const Aws::String& value) { m_etagHasBeenSet = true; m_etag = value; } /** *

The etag for the object.

*/ inline void SetEtag(Aws::String&& value) { m_etagHasBeenSet = true; m_etag = std::move(value); } /** *

The etag for the object.

*/ inline void SetEtag(const char* value) { m_etagHasBeenSet = true; m_etag.assign(value); } /** *

The etag for the object.

*/ inline S3KeyOutput& WithEtag(const Aws::String& value) { SetEtag(value); return *this;} /** *

The etag for the object.

*/ inline S3KeyOutput& WithEtag(Aws::String&& value) { SetEtag(std::move(value)); return *this;} /** *

The etag for the object.

*/ inline S3KeyOutput& WithEtag(const char* value) { SetEtag(value); return *this;} private: Aws::String m_s3Key; bool m_s3KeyHasBeenSet = false; Aws::String m_etag; bool m_etagHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws