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

Describes an update for the Amazon S3 code content location for an * application.

See Also:

AWS * API Reference

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

The new Amazon Resource Name (ARN) for the S3 bucket containing the * application code.

*/ inline const Aws::String& GetBucketARNUpdate() const{ return m_bucketARNUpdate; } /** *

The new Amazon Resource Name (ARN) for the S3 bucket containing the * application code.

*/ inline bool BucketARNUpdateHasBeenSet() const { return m_bucketARNUpdateHasBeenSet; } /** *

The new Amazon Resource Name (ARN) for the S3 bucket containing the * application code.

*/ inline void SetBucketARNUpdate(const Aws::String& value) { m_bucketARNUpdateHasBeenSet = true; m_bucketARNUpdate = value; } /** *

The new Amazon Resource Name (ARN) for the S3 bucket containing the * application code.

*/ inline void SetBucketARNUpdate(Aws::String&& value) { m_bucketARNUpdateHasBeenSet = true; m_bucketARNUpdate = std::move(value); } /** *

The new Amazon Resource Name (ARN) for the S3 bucket containing the * application code.

*/ inline void SetBucketARNUpdate(const char* value) { m_bucketARNUpdateHasBeenSet = true; m_bucketARNUpdate.assign(value); } /** *

The new Amazon Resource Name (ARN) for the S3 bucket containing the * application code.

*/ inline S3ContentLocationUpdate& WithBucketARNUpdate(const Aws::String& value) { SetBucketARNUpdate(value); return *this;} /** *

The new Amazon Resource Name (ARN) for the S3 bucket containing the * application code.

*/ inline S3ContentLocationUpdate& WithBucketARNUpdate(Aws::String&& value) { SetBucketARNUpdate(std::move(value)); return *this;} /** *

The new Amazon Resource Name (ARN) for the S3 bucket containing the * application code.

*/ inline S3ContentLocationUpdate& WithBucketARNUpdate(const char* value) { SetBucketARNUpdate(value); return *this;} /** *

The new file key for the object containing the application code.

*/ inline const Aws::String& GetFileKeyUpdate() const{ return m_fileKeyUpdate; } /** *

The new file key for the object containing the application code.

*/ inline bool FileKeyUpdateHasBeenSet() const { return m_fileKeyUpdateHasBeenSet; } /** *

The new file key for the object containing the application code.

*/ inline void SetFileKeyUpdate(const Aws::String& value) { m_fileKeyUpdateHasBeenSet = true; m_fileKeyUpdate = value; } /** *

The new file key for the object containing the application code.

*/ inline void SetFileKeyUpdate(Aws::String&& value) { m_fileKeyUpdateHasBeenSet = true; m_fileKeyUpdate = std::move(value); } /** *

The new file key for the object containing the application code.

*/ inline void SetFileKeyUpdate(const char* value) { m_fileKeyUpdateHasBeenSet = true; m_fileKeyUpdate.assign(value); } /** *

The new file key for the object containing the application code.

*/ inline S3ContentLocationUpdate& WithFileKeyUpdate(const Aws::String& value) { SetFileKeyUpdate(value); return *this;} /** *

The new file key for the object containing the application code.

*/ inline S3ContentLocationUpdate& WithFileKeyUpdate(Aws::String&& value) { SetFileKeyUpdate(std::move(value)); return *this;} /** *

The new file key for the object containing the application code.

*/ inline S3ContentLocationUpdate& WithFileKeyUpdate(const char* value) { SetFileKeyUpdate(value); return *this;} /** *

The new version of the object containing the application code.

*/ inline const Aws::String& GetObjectVersionUpdate() const{ return m_objectVersionUpdate; } /** *

The new version of the object containing the application code.

*/ inline bool ObjectVersionUpdateHasBeenSet() const { return m_objectVersionUpdateHasBeenSet; } /** *

The new version of the object containing the application code.

*/ inline void SetObjectVersionUpdate(const Aws::String& value) { m_objectVersionUpdateHasBeenSet = true; m_objectVersionUpdate = value; } /** *

The new version of the object containing the application code.

*/ inline void SetObjectVersionUpdate(Aws::String&& value) { m_objectVersionUpdateHasBeenSet = true; m_objectVersionUpdate = std::move(value); } /** *

The new version of the object containing the application code.

*/ inline void SetObjectVersionUpdate(const char* value) { m_objectVersionUpdateHasBeenSet = true; m_objectVersionUpdate.assign(value); } /** *

The new version of the object containing the application code.

*/ inline S3ContentLocationUpdate& WithObjectVersionUpdate(const Aws::String& value) { SetObjectVersionUpdate(value); return *this;} /** *

The new version of the object containing the application code.

*/ inline S3ContentLocationUpdate& WithObjectVersionUpdate(Aws::String&& value) { SetObjectVersionUpdate(std::move(value)); return *this;} /** *

The new version of the object containing the application code.

*/ inline S3ContentLocationUpdate& WithObjectVersionUpdate(const char* value) { SetObjectVersionUpdate(value); return *this;} private: Aws::String m_bucketARNUpdate; bool m_bucketARNUpdateHasBeenSet = false; Aws::String m_fileKeyUpdate; bool m_fileKeyUpdateHasBeenSet = false; Aws::String m_objectVersionUpdate; bool m_objectVersionUpdateHasBeenSet = false; }; } // namespace Model } // namespace KinesisAnalyticsV2 } // namespace Aws