/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the location of an application's code stored in an S3
* bucket.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) for the S3 bucket containing the application * code.
*/ inline const Aws::String& GetBucketARN() const{ return m_bucketARN; } /** *The Amazon Resource Name (ARN) for the S3 bucket containing the application * code.
*/ inline bool BucketARNHasBeenSet() const { return m_bucketARNHasBeenSet; } /** *The Amazon Resource Name (ARN) for the S3 bucket containing the application * code.
*/ inline void SetBucketARN(const Aws::String& value) { m_bucketARNHasBeenSet = true; m_bucketARN = value; } /** *The Amazon Resource Name (ARN) for the S3 bucket containing the application * code.
*/ inline void SetBucketARN(Aws::String&& value) { m_bucketARNHasBeenSet = true; m_bucketARN = std::move(value); } /** *The Amazon Resource Name (ARN) for the S3 bucket containing the application * code.
*/ inline void SetBucketARN(const char* value) { m_bucketARNHasBeenSet = true; m_bucketARN.assign(value); } /** *The Amazon Resource Name (ARN) for the S3 bucket containing the application * code.
*/ inline S3ApplicationCodeLocationDescription& WithBucketARN(const Aws::String& value) { SetBucketARN(value); return *this;} /** *The Amazon Resource Name (ARN) for the S3 bucket containing the application * code.
*/ inline S3ApplicationCodeLocationDescription& WithBucketARN(Aws::String&& value) { SetBucketARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the S3 bucket containing the application * code.
*/ inline S3ApplicationCodeLocationDescription& WithBucketARN(const char* value) { SetBucketARN(value); return *this;} /** *The file key for the object containing the application code.
*/ inline const Aws::String& GetFileKey() const{ return m_fileKey; } /** *The file key for the object containing the application code.
*/ inline bool FileKeyHasBeenSet() const { return m_fileKeyHasBeenSet; } /** *The file key for the object containing the application code.
*/ inline void SetFileKey(const Aws::String& value) { m_fileKeyHasBeenSet = true; m_fileKey = value; } /** *The file key for the object containing the application code.
*/ inline void SetFileKey(Aws::String&& value) { m_fileKeyHasBeenSet = true; m_fileKey = std::move(value); } /** *The file key for the object containing the application code.
*/ inline void SetFileKey(const char* value) { m_fileKeyHasBeenSet = true; m_fileKey.assign(value); } /** *The file key for the object containing the application code.
*/ inline S3ApplicationCodeLocationDescription& WithFileKey(const Aws::String& value) { SetFileKey(value); return *this;} /** *The file key for the object containing the application code.
*/ inline S3ApplicationCodeLocationDescription& WithFileKey(Aws::String&& value) { SetFileKey(std::move(value)); return *this;} /** *The file key for the object containing the application code.
*/ inline S3ApplicationCodeLocationDescription& WithFileKey(const char* value) { SetFileKey(value); return *this;} /** *The version of the object containing the application code.
*/ inline const Aws::String& GetObjectVersion() const{ return m_objectVersion; } /** *The version of the object containing the application code.
*/ inline bool ObjectVersionHasBeenSet() const { return m_objectVersionHasBeenSet; } /** *The version of the object containing the application code.
*/ inline void SetObjectVersion(const Aws::String& value) { m_objectVersionHasBeenSet = true; m_objectVersion = value; } /** *The version of the object containing the application code.
*/ inline void SetObjectVersion(Aws::String&& value) { m_objectVersionHasBeenSet = true; m_objectVersion = std::move(value); } /** *The version of the object containing the application code.
*/ inline void SetObjectVersion(const char* value) { m_objectVersionHasBeenSet = true; m_objectVersion.assign(value); } /** *The version of the object containing the application code.
*/ inline S3ApplicationCodeLocationDescription& WithObjectVersion(const Aws::String& value) { SetObjectVersion(value); return *this;} /** *The version of the object containing the application code.
*/ inline S3ApplicationCodeLocationDescription& WithObjectVersion(Aws::String&& value) { SetObjectVersion(std::move(value)); return *this;} /** *The version of the object containing the application code.
*/ inline S3ApplicationCodeLocationDescription& WithObjectVersion(const char* value) { SetObjectVersion(value); return *this;} private: Aws::String m_bucketARN; bool m_bucketARNHasBeenSet = false; Aws::String m_fileKey; bool m_fileKeyHasBeenSet = false; Aws::String m_objectVersion; bool m_objectVersionHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws