/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon S3 location to import the package from.See Also:
* AWS
* API Reference
The name of the Amazon S3 bucket containing the package.
*/ inline const Aws::String& GetS3BucketName() const{ return m_s3BucketName; } /** *The name of the Amazon S3 bucket containing the package.
*/ inline bool S3BucketNameHasBeenSet() const { return m_s3BucketNameHasBeenSet; } /** *The name of the Amazon S3 bucket containing the package.
*/ inline void SetS3BucketName(const Aws::String& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = value; } /** *The name of the Amazon S3 bucket containing the package.
*/ inline void SetS3BucketName(Aws::String&& value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName = std::move(value); } /** *The name of the Amazon S3 bucket containing the package.
*/ inline void SetS3BucketName(const char* value) { m_s3BucketNameHasBeenSet = true; m_s3BucketName.assign(value); } /** *The name of the Amazon S3 bucket containing the package.
*/ inline PackageSource& WithS3BucketName(const Aws::String& value) { SetS3BucketName(value); return *this;} /** *The name of the Amazon S3 bucket containing the package.
*/ inline PackageSource& WithS3BucketName(Aws::String&& value) { SetS3BucketName(std::move(value)); return *this;} /** *The name of the Amazon S3 bucket containing the package.
*/ inline PackageSource& WithS3BucketName(const char* value) { SetS3BucketName(value); return *this;} /** *Key (file name) of the package.
*/ inline const Aws::String& GetS3Key() const{ return m_s3Key; } /** *Key (file name) of the package.
*/ inline bool S3KeyHasBeenSet() const { return m_s3KeyHasBeenSet; } /** *Key (file name) of the package.
*/ inline void SetS3Key(const Aws::String& value) { m_s3KeyHasBeenSet = true; m_s3Key = value; } /** *Key (file name) of the package.
*/ inline void SetS3Key(Aws::String&& value) { m_s3KeyHasBeenSet = true; m_s3Key = std::move(value); } /** *Key (file name) of the package.
*/ inline void SetS3Key(const char* value) { m_s3KeyHasBeenSet = true; m_s3Key.assign(value); } /** *Key (file name) of the package.
*/ inline PackageSource& WithS3Key(const Aws::String& value) { SetS3Key(value); return *this;} /** *Key (file name) of the package.
*/ inline PackageSource& WithS3Key(Aws::String&& value) { SetS3Key(std::move(value)); return *this;} /** *Key (file name) of the package.
*/ inline PackageSource& WithS3Key(const char* value) { SetS3Key(value); return *this;} private: Aws::String m_s3BucketName; bool m_s3BucketNameHasBeenSet = false; Aws::String m_s3Key; bool m_s3KeyHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws