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

Information about an S3 recording Config.

See * Also:

AWS * API Reference

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

ARN of the bucket to record to.

*/ inline const Aws::String& GetBucketArn() const{ return m_bucketArn; } /** *

ARN of the bucket to record to.

*/ inline bool BucketArnHasBeenSet() const { return m_bucketArnHasBeenSet; } /** *

ARN of the bucket to record to.

*/ inline void SetBucketArn(const Aws::String& value) { m_bucketArnHasBeenSet = true; m_bucketArn = value; } /** *

ARN of the bucket to record to.

*/ inline void SetBucketArn(Aws::String&& value) { m_bucketArnHasBeenSet = true; m_bucketArn = std::move(value); } /** *

ARN of the bucket to record to.

*/ inline void SetBucketArn(const char* value) { m_bucketArnHasBeenSet = true; m_bucketArn.assign(value); } /** *

ARN of the bucket to record to.

*/ inline S3RecordingConfig& WithBucketArn(const Aws::String& value) { SetBucketArn(value); return *this;} /** *

ARN of the bucket to record to.

*/ inline S3RecordingConfig& WithBucketArn(Aws::String&& value) { SetBucketArn(std::move(value)); return *this;} /** *

ARN of the bucket to record to.

*/ inline S3RecordingConfig& WithBucketArn(const char* value) { SetBucketArn(value); return *this;} /** *

S3 Key prefix to prefice data files.

*/ inline const Aws::String& GetPrefix() const{ return m_prefix; } /** *

S3 Key prefix to prefice data files.

*/ inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; } /** *

S3 Key prefix to prefice data files.

*/ inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; } /** *

S3 Key prefix to prefice data files.

*/ inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); } /** *

S3 Key prefix to prefice data files.

*/ inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); } /** *

S3 Key prefix to prefice data files.

*/ inline S3RecordingConfig& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;} /** *

S3 Key prefix to prefice data files.

*/ inline S3RecordingConfig& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;} /** *

S3 Key prefix to prefice data files.

*/ inline S3RecordingConfig& WithPrefix(const char* value) { SetPrefix(value); return *this;} /** *

ARN of the role Ground Station assumes to write data to the bucket.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

ARN of the role Ground Station assumes to write data to the bucket.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

ARN of the role Ground Station assumes to write data to the bucket.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

ARN of the role Ground Station assumes to write data to the bucket.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

ARN of the role Ground Station assumes to write data to the bucket.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

ARN of the role Ground Station assumes to write data to the bucket.

*/ inline S3RecordingConfig& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

ARN of the role Ground Station assumes to write data to the bucket.

*/ inline S3RecordingConfig& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

ARN of the role Ground Station assumes to write data to the bucket.

*/ inline S3RecordingConfig& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: Aws::String m_bucketArn; bool m_bucketArnHasBeenSet = false; Aws::String m_prefix; bool m_prefixHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws