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

A storage location.

See Also:

AWS * API Reference

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

The location's binary prefix.

*/ inline const Aws::String& GetBinaryPrefixLocation() const{ return m_binaryPrefixLocation; } /** *

The location's binary prefix.

*/ inline bool BinaryPrefixLocationHasBeenSet() const { return m_binaryPrefixLocationHasBeenSet; } /** *

The location's binary prefix.

*/ inline void SetBinaryPrefixLocation(const Aws::String& value) { m_binaryPrefixLocationHasBeenSet = true; m_binaryPrefixLocation = value; } /** *

The location's binary prefix.

*/ inline void SetBinaryPrefixLocation(Aws::String&& value) { m_binaryPrefixLocationHasBeenSet = true; m_binaryPrefixLocation = std::move(value); } /** *

The location's binary prefix.

*/ inline void SetBinaryPrefixLocation(const char* value) { m_binaryPrefixLocationHasBeenSet = true; m_binaryPrefixLocation.assign(value); } /** *

The location's binary prefix.

*/ inline StorageLocation& WithBinaryPrefixLocation(const Aws::String& value) { SetBinaryPrefixLocation(value); return *this;} /** *

The location's binary prefix.

*/ inline StorageLocation& WithBinaryPrefixLocation(Aws::String&& value) { SetBinaryPrefixLocation(std::move(value)); return *this;} /** *

The location's binary prefix.

*/ inline StorageLocation& WithBinaryPrefixLocation(const char* value) { SetBinaryPrefixLocation(value); return *this;} /** *

The location's bucket.

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

The location's bucket.

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

The location's bucket.

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

The location's bucket.

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

The location's bucket.

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

The location's bucket.

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

The location's bucket.

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

The location's bucket.

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

The location's generated prefix.

*/ inline const Aws::String& GetGeneratedPrefixLocation() const{ return m_generatedPrefixLocation; } /** *

The location's generated prefix.

*/ inline bool GeneratedPrefixLocationHasBeenSet() const { return m_generatedPrefixLocationHasBeenSet; } /** *

The location's generated prefix.

*/ inline void SetGeneratedPrefixLocation(const Aws::String& value) { m_generatedPrefixLocationHasBeenSet = true; m_generatedPrefixLocation = value; } /** *

The location's generated prefix.

*/ inline void SetGeneratedPrefixLocation(Aws::String&& value) { m_generatedPrefixLocationHasBeenSet = true; m_generatedPrefixLocation = std::move(value); } /** *

The location's generated prefix.

*/ inline void SetGeneratedPrefixLocation(const char* value) { m_generatedPrefixLocationHasBeenSet = true; m_generatedPrefixLocation.assign(value); } /** *

The location's generated prefix.

*/ inline StorageLocation& WithGeneratedPrefixLocation(const Aws::String& value) { SetGeneratedPrefixLocation(value); return *this;} /** *

The location's generated prefix.

*/ inline StorageLocation& WithGeneratedPrefixLocation(Aws::String&& value) { SetGeneratedPrefixLocation(std::move(value)); return *this;} /** *

The location's generated prefix.

*/ inline StorageLocation& WithGeneratedPrefixLocation(const char* value) { SetGeneratedPrefixLocation(value); return *this;} /** *

The location's manifest prefix.

*/ inline const Aws::String& GetManifestPrefixLocation() const{ return m_manifestPrefixLocation; } /** *

The location's manifest prefix.

*/ inline bool ManifestPrefixLocationHasBeenSet() const { return m_manifestPrefixLocationHasBeenSet; } /** *

The location's manifest prefix.

*/ inline void SetManifestPrefixLocation(const Aws::String& value) { m_manifestPrefixLocationHasBeenSet = true; m_manifestPrefixLocation = value; } /** *

The location's manifest prefix.

*/ inline void SetManifestPrefixLocation(Aws::String&& value) { m_manifestPrefixLocationHasBeenSet = true; m_manifestPrefixLocation = std::move(value); } /** *

The location's manifest prefix.

*/ inline void SetManifestPrefixLocation(const char* value) { m_manifestPrefixLocationHasBeenSet = true; m_manifestPrefixLocation.assign(value); } /** *

The location's manifest prefix.

*/ inline StorageLocation& WithManifestPrefixLocation(const Aws::String& value) { SetManifestPrefixLocation(value); return *this;} /** *

The location's manifest prefix.

*/ inline StorageLocation& WithManifestPrefixLocation(Aws::String&& value) { SetManifestPrefixLocation(std::move(value)); return *this;} /** *

The location's manifest prefix.

*/ inline StorageLocation& WithManifestPrefixLocation(const char* value) { SetManifestPrefixLocation(value); return *this;} /** *

The location's repo prefix.

*/ inline const Aws::String& GetRepoPrefixLocation() const{ return m_repoPrefixLocation; } /** *

The location's repo prefix.

*/ inline bool RepoPrefixLocationHasBeenSet() const { return m_repoPrefixLocationHasBeenSet; } /** *

The location's repo prefix.

*/ inline void SetRepoPrefixLocation(const Aws::String& value) { m_repoPrefixLocationHasBeenSet = true; m_repoPrefixLocation = value; } /** *

The location's repo prefix.

*/ inline void SetRepoPrefixLocation(Aws::String&& value) { m_repoPrefixLocationHasBeenSet = true; m_repoPrefixLocation = std::move(value); } /** *

The location's repo prefix.

*/ inline void SetRepoPrefixLocation(const char* value) { m_repoPrefixLocationHasBeenSet = true; m_repoPrefixLocation.assign(value); } /** *

The location's repo prefix.

*/ inline StorageLocation& WithRepoPrefixLocation(const Aws::String& value) { SetRepoPrefixLocation(value); return *this;} /** *

The location's repo prefix.

*/ inline StorageLocation& WithRepoPrefixLocation(Aws::String&& value) { SetRepoPrefixLocation(std::move(value)); return *this;} /** *

The location's repo prefix.

*/ inline StorageLocation& WithRepoPrefixLocation(const char* value) { SetRepoPrefixLocation(value); return *this;} private: Aws::String m_binaryPrefixLocation; bool m_binaryPrefixLocationHasBeenSet = false; Aws::String m_bucket; bool m_bucketHasBeenSet = false; Aws::String m_generatedPrefixLocation; bool m_generatedPrefixLocationHasBeenSet = false; Aws::String m_manifestPrefixLocation; bool m_manifestPrefixLocationHasBeenSet = false; Aws::String m_repoPrefixLocation; bool m_repoPrefixLocationHasBeenSet = false; }; } // namespace Model } // namespace Panorama } // namespace Aws