/** * 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 SimSpaceWeaver { namespace Model { /** *

A location in Amazon Simple Storage Service (Amazon S3) where SimSpace Weaver * stores simulation data, such as your app .zip files and schema file. For more * information about Amazon S3, see the * Amazon Simple Storage Service User Guide .

See Also:

* AWS * API Reference

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

The name of an Amazon S3 bucket. For more information about buckets, see Creating, * configuring, and working with Amazon S3 buckets in the Amazon Simple * Storage Service User Guide.

*/ inline const Aws::String& GetBucketName() const{ return m_bucketName; } /** *

The name of an Amazon S3 bucket. For more information about buckets, see Creating, * configuring, and working with Amazon S3 buckets in the Amazon Simple * Storage Service User Guide.

*/ inline bool BucketNameHasBeenSet() const { return m_bucketNameHasBeenSet; } /** *

The name of an Amazon S3 bucket. For more information about buckets, see Creating, * configuring, and working with Amazon S3 buckets in the Amazon Simple * Storage Service User Guide.

*/ inline void SetBucketName(const Aws::String& value) { m_bucketNameHasBeenSet = true; m_bucketName = value; } /** *

The name of an Amazon S3 bucket. For more information about buckets, see Creating, * configuring, and working with Amazon S3 buckets in the Amazon Simple * Storage Service User Guide.

*/ inline void SetBucketName(Aws::String&& value) { m_bucketNameHasBeenSet = true; m_bucketName = std::move(value); } /** *

The name of an Amazon S3 bucket. For more information about buckets, see Creating, * configuring, and working with Amazon S3 buckets in the Amazon Simple * Storage Service User Guide.

*/ inline void SetBucketName(const char* value) { m_bucketNameHasBeenSet = true; m_bucketName.assign(value); } /** *

The name of an Amazon S3 bucket. For more information about buckets, see Creating, * configuring, and working with Amazon S3 buckets in the Amazon Simple * Storage Service User Guide.

*/ inline S3Location& WithBucketName(const Aws::String& value) { SetBucketName(value); return *this;} /** *

The name of an Amazon S3 bucket. For more information about buckets, see Creating, * configuring, and working with Amazon S3 buckets in the Amazon Simple * Storage Service User Guide.

*/ inline S3Location& WithBucketName(Aws::String&& value) { SetBucketName(std::move(value)); return *this;} /** *

The name of an Amazon S3 bucket. For more information about buckets, see Creating, * configuring, and working with Amazon S3 buckets in the Amazon Simple * Storage Service User Guide.

*/ inline S3Location& WithBucketName(const char* value) { SetBucketName(value); return *this;} /** *

The key name of an object in Amazon S3. For more information about Amazon S3 * objects and object keys, see Uploading, * downloading, and working with objects in Amazon S3 in the Amazon Simple * Storage Service User Guide.

*/ inline const Aws::String& GetObjectKey() const{ return m_objectKey; } /** *

The key name of an object in Amazon S3. For more information about Amazon S3 * objects and object keys, see Uploading, * downloading, and working with objects in Amazon S3 in the Amazon Simple * Storage Service User Guide.

*/ inline bool ObjectKeyHasBeenSet() const { return m_objectKeyHasBeenSet; } /** *

The key name of an object in Amazon S3. For more information about Amazon S3 * objects and object keys, see Uploading, * downloading, and working with objects in Amazon S3 in the Amazon Simple * Storage Service User Guide.

*/ inline void SetObjectKey(const Aws::String& value) { m_objectKeyHasBeenSet = true; m_objectKey = value; } /** *

The key name of an object in Amazon S3. For more information about Amazon S3 * objects and object keys, see Uploading, * downloading, and working with objects in Amazon S3 in the Amazon Simple * Storage Service User Guide.

*/ inline void SetObjectKey(Aws::String&& value) { m_objectKeyHasBeenSet = true; m_objectKey = std::move(value); } /** *

The key name of an object in Amazon S3. For more information about Amazon S3 * objects and object keys, see Uploading, * downloading, and working with objects in Amazon S3 in the Amazon Simple * Storage Service User Guide.

*/ inline void SetObjectKey(const char* value) { m_objectKeyHasBeenSet = true; m_objectKey.assign(value); } /** *

The key name of an object in Amazon S3. For more information about Amazon S3 * objects and object keys, see Uploading, * downloading, and working with objects in Amazon S3 in the Amazon Simple * Storage Service User Guide.

*/ inline S3Location& WithObjectKey(const Aws::String& value) { SetObjectKey(value); return *this;} /** *

The key name of an object in Amazon S3. For more information about Amazon S3 * objects and object keys, see Uploading, * downloading, and working with objects in Amazon S3 in the Amazon Simple * Storage Service User Guide.

*/ inline S3Location& WithObjectKey(Aws::String&& value) { SetObjectKey(std::move(value)); return *this;} /** *

The key name of an object in Amazon S3. For more information about Amazon S3 * objects and object keys, see Uploading, * downloading, and working with objects in Amazon S3 in the Amazon Simple * Storage Service User Guide.

*/ inline S3Location& WithObjectKey(const char* value) { SetObjectKey(value); return *this;} private: Aws::String m_bucketName; bool m_bucketNameHasBeenSet = false; Aws::String m_objectKey; bool m_objectKeyHasBeenSet = false; }; } // namespace Model } // namespace SimSpaceWeaver } // namespace Aws