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

The Amazon S3 bucket location to which Amazon Rekognition publishes the * detailed inference results of a video analysis operation. These results include * the name of the stream processor resource, the session ID of the stream * processing session, and labeled timestamps and bounding boxes for detected * labels.

See Also:

AWS * API Reference

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

The name of the Amazon S3 bucket you want to associate with the streaming * video project. You must be the owner of the Amazon S3 bucket.

*/ inline const Aws::String& GetBucket() const{ return m_bucket; } /** *

The name of the Amazon S3 bucket you want to associate with the streaming * video project. You must be the owner of the Amazon S3 bucket.

*/ inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; } /** *

The name of the Amazon S3 bucket you want to associate with the streaming * video project. You must be the owner of the Amazon S3 bucket.

*/ inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; } /** *

The name of the Amazon S3 bucket you want to associate with the streaming * video project. You must be the owner of the Amazon S3 bucket.

*/ inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); } /** *

The name of the Amazon S3 bucket you want to associate with the streaming * video project. You must be the owner of the Amazon S3 bucket.

*/ inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); } /** *

The name of the Amazon S3 bucket you want to associate with the streaming * video project. You must be the owner of the Amazon S3 bucket.

*/ inline S3Destination& WithBucket(const Aws::String& value) { SetBucket(value); return *this;} /** *

The name of the Amazon S3 bucket you want to associate with the streaming * video project. You must be the owner of the Amazon S3 bucket.

*/ inline S3Destination& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;} /** *

The name of the Amazon S3 bucket you want to associate with the streaming * video project. You must be the owner of the Amazon S3 bucket.

*/ inline S3Destination& WithBucket(const char* value) { SetBucket(value); return *this;} /** *

The prefix value of the location within the bucket that you want the * information to be published to. For more information, see Using * prefixes.

*/ inline const Aws::String& GetKeyPrefix() const{ return m_keyPrefix; } /** *

The prefix value of the location within the bucket that you want the * information to be published to. For more information, see Using * prefixes.

*/ inline bool KeyPrefixHasBeenSet() const { return m_keyPrefixHasBeenSet; } /** *

The prefix value of the location within the bucket that you want the * information to be published to. For more information, see Using * prefixes.

*/ inline void SetKeyPrefix(const Aws::String& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = value; } /** *

The prefix value of the location within the bucket that you want the * information to be published to. For more information, see Using * prefixes.

*/ inline void SetKeyPrefix(Aws::String&& value) { m_keyPrefixHasBeenSet = true; m_keyPrefix = std::move(value); } /** *

The prefix value of the location within the bucket that you want the * information to be published to. For more information, see Using * prefixes.

*/ inline void SetKeyPrefix(const char* value) { m_keyPrefixHasBeenSet = true; m_keyPrefix.assign(value); } /** *

The prefix value of the location within the bucket that you want the * information to be published to. For more information, see Using * prefixes.

*/ inline S3Destination& WithKeyPrefix(const Aws::String& value) { SetKeyPrefix(value); return *this;} /** *

The prefix value of the location within the bucket that you want the * information to be published to. For more information, see Using * prefixes.

*/ inline S3Destination& WithKeyPrefix(Aws::String&& value) { SetKeyPrefix(std::move(value)); return *this;} /** *

The prefix value of the location within the bucket that you want the * information to be published to. For more information, see Using * prefixes.

*/ inline S3Destination& WithKeyPrefix(const char* value) { SetKeyPrefix(value); return *this;} private: Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_keyPrefix; bool m_keyPrefixHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws