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

Contains the S3 bucket name and the Amazon S3 key name.

See * Also:

AWS * API Reference

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

The S3 bucket name.

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

The S3 bucket name.

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

The S3 bucket name.

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

The S3 bucket name.

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

The S3 bucket name.

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

The S3 bucket name.

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

The S3 bucket name.

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

The S3 bucket name.

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

The Amazon S3 key name.

*/ inline const Aws::String& GetS3key() const{ return m_s3key; } /** *

The Amazon S3 key name.

*/ inline bool S3keyHasBeenSet() const { return m_s3keyHasBeenSet; } /** *

The Amazon S3 key name.

*/ inline void SetS3key(const Aws::String& value) { m_s3keyHasBeenSet = true; m_s3key = value; } /** *

The Amazon S3 key name.

*/ inline void SetS3key(Aws::String&& value) { m_s3keyHasBeenSet = true; m_s3key = std::move(value); } /** *

The Amazon S3 key name.

*/ inline void SetS3key(const char* value) { m_s3keyHasBeenSet = true; m_s3key.assign(value); } /** *

The Amazon S3 key name.

*/ inline S3Object& WithS3key(const Aws::String& value) { SetS3key(value); return *this;} /** *

The Amazon S3 key name.

*/ inline S3Object& WithS3key(Aws::String&& value) { SetS3key(std::move(value)); return *this;} /** *

The Amazon S3 key name.

*/ inline S3Object& WithS3key(const char* value) { SetS3key(value); return *this;} private: Aws::String m_s3Bucket; bool m_s3BucketHasBeenSet = false; Aws::String m_s3key; bool m_s3keyHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws