/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The parameters for S3.

See Also:

AWS * API Reference

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

Location of the Amazon S3 manifest file. This is NULL if the manifest file * was uploaded into Amazon QuickSight.

*/ inline const ManifestFileLocation& GetManifestFileLocation() const{ return m_manifestFileLocation; } /** *

Location of the Amazon S3 manifest file. This is NULL if the manifest file * was uploaded into Amazon QuickSight.

*/ inline bool ManifestFileLocationHasBeenSet() const { return m_manifestFileLocationHasBeenSet; } /** *

Location of the Amazon S3 manifest file. This is NULL if the manifest file * was uploaded into Amazon QuickSight.

*/ inline void SetManifestFileLocation(const ManifestFileLocation& value) { m_manifestFileLocationHasBeenSet = true; m_manifestFileLocation = value; } /** *

Location of the Amazon S3 manifest file. This is NULL if the manifest file * was uploaded into Amazon QuickSight.

*/ inline void SetManifestFileLocation(ManifestFileLocation&& value) { m_manifestFileLocationHasBeenSet = true; m_manifestFileLocation = std::move(value); } /** *

Location of the Amazon S3 manifest file. This is NULL if the manifest file * was uploaded into Amazon QuickSight.

*/ inline S3Parameters& WithManifestFileLocation(const ManifestFileLocation& value) { SetManifestFileLocation(value); return *this;} /** *

Location of the Amazon S3 manifest file. This is NULL if the manifest file * was uploaded into Amazon QuickSight.

*/ inline S3Parameters& WithManifestFileLocation(ManifestFileLocation&& value) { SetManifestFileLocation(std::move(value)); return *this;} /** *

Use the RoleArn structure to override an account-wide role for a * specific S3 data source. For example, say an account administrator has turned * off all S3 access with an account-wide role. The administrator can then use * RoleArn to bypass the account-wide role and allow S3 access for the * single S3 data source that is specified in the structure, even if the * account-wide role forbidding S3 access is still active.

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

Use the RoleArn structure to override an account-wide role for a * specific S3 data source. For example, say an account administrator has turned * off all S3 access with an account-wide role. The administrator can then use * RoleArn to bypass the account-wide role and allow S3 access for the * single S3 data source that is specified in the structure, even if the * account-wide role forbidding S3 access is still active.

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

Use the RoleArn structure to override an account-wide role for a * specific S3 data source. For example, say an account administrator has turned * off all S3 access with an account-wide role. The administrator can then use * RoleArn to bypass the account-wide role and allow S3 access for the * single S3 data source that is specified in the structure, even if the * account-wide role forbidding S3 access is still active.

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

Use the RoleArn structure to override an account-wide role for a * specific S3 data source. For example, say an account administrator has turned * off all S3 access with an account-wide role. The administrator can then use * RoleArn to bypass the account-wide role and allow S3 access for the * single S3 data source that is specified in the structure, even if the * account-wide role forbidding S3 access is still active.

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

Use the RoleArn structure to override an account-wide role for a * specific S3 data source. For example, say an account administrator has turned * off all S3 access with an account-wide role. The administrator can then use * RoleArn to bypass the account-wide role and allow S3 access for the * single S3 data source that is specified in the structure, even if the * account-wide role forbidding S3 access is still active.

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

Use the RoleArn structure to override an account-wide role for a * specific S3 data source. For example, say an account administrator has turned * off all S3 access with an account-wide role. The administrator can then use * RoleArn to bypass the account-wide role and allow S3 access for the * single S3 data source that is specified in the structure, even if the * account-wide role forbidding S3 access is still active.

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

Use the RoleArn structure to override an account-wide role for a * specific S3 data source. For example, say an account administrator has turned * off all S3 access with an account-wide role. The administrator can then use * RoleArn to bypass the account-wide role and allow S3 access for the * single S3 data source that is specified in the structure, even if the * account-wide role forbidding S3 access is still active.

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

Use the RoleArn structure to override an account-wide role for a * specific S3 data source. For example, say an account administrator has turned * off all S3 access with an account-wide role. The administrator can then use * RoleArn to bypass the account-wide role and allow S3 access for the * single S3 data source that is specified in the structure, even if the * account-wide role forbidding S3 access is still active.

*/ inline S3Parameters& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} private: ManifestFileLocation m_manifestFileLocation; bool m_manifestFileLocationHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws