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

Contains the details for the Outpost object.

See Also:

AWS * API Reference

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

Specifies the unique Amazon Resource Name (ARN) for the outpost.

*/ inline const Aws::String& GetOutpostArn() const{ return m_outpostArn; } /** *

Specifies the unique Amazon Resource Name (ARN) for the outpost.

*/ inline bool OutpostArnHasBeenSet() const { return m_outpostArnHasBeenSet; } /** *

Specifies the unique Amazon Resource Name (ARN) for the outpost.

*/ inline void SetOutpostArn(const Aws::String& value) { m_outpostArnHasBeenSet = true; m_outpostArn = value; } /** *

Specifies the unique Amazon Resource Name (ARN) for the outpost.

*/ inline void SetOutpostArn(Aws::String&& value) { m_outpostArnHasBeenSet = true; m_outpostArn = std::move(value); } /** *

Specifies the unique Amazon Resource Name (ARN) for the outpost.

*/ inline void SetOutpostArn(const char* value) { m_outpostArnHasBeenSet = true; m_outpostArn.assign(value); } /** *

Specifies the unique Amazon Resource Name (ARN) for the outpost.

*/ inline Outpost& WithOutpostArn(const Aws::String& value) { SetOutpostArn(value); return *this;} /** *

Specifies the unique Amazon Resource Name (ARN) for the outpost.

*/ inline Outpost& WithOutpostArn(Aws::String&& value) { SetOutpostArn(std::move(value)); return *this;} /** *

Specifies the unique Amazon Resource Name (ARN) for the outpost.

*/ inline Outpost& WithOutpostArn(const char* value) { SetOutpostArn(value); return *this;} /** *

Specifies the unique identifier for the outpost.

*/ inline const Aws::String& GetOutpostId() const{ return m_outpostId; } /** *

Specifies the unique identifier for the outpost.

*/ inline bool OutpostIdHasBeenSet() const { return m_outpostIdHasBeenSet; } /** *

Specifies the unique identifier for the outpost.

*/ inline void SetOutpostId(const Aws::String& value) { m_outpostIdHasBeenSet = true; m_outpostId = value; } /** *

Specifies the unique identifier for the outpost.

*/ inline void SetOutpostId(Aws::String&& value) { m_outpostIdHasBeenSet = true; m_outpostId = std::move(value); } /** *

Specifies the unique identifier for the outpost.

*/ inline void SetOutpostId(const char* value) { m_outpostIdHasBeenSet = true; m_outpostId.assign(value); } /** *

Specifies the unique identifier for the outpost.

*/ inline Outpost& WithOutpostId(const Aws::String& value) { SetOutpostId(value); return *this;} /** *

Specifies the unique identifier for the outpost.

*/ inline Outpost& WithOutpostId(Aws::String&& value) { SetOutpostId(std::move(value)); return *this;} /** *

Specifies the unique identifier for the outpost.

*/ inline Outpost& WithOutpostId(const char* value) { SetOutpostId(value); return *this;} /** *

Returns the Amazon Web Services account ID of the outpost owner. Useful for * comparing owned versus shared outposts.

*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *

Returns the Amazon Web Services account ID of the outpost owner. Useful for * comparing owned versus shared outposts.

*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *

Returns the Amazon Web Services account ID of the outpost owner. Useful for * comparing owned versus shared outposts.

*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *

Returns the Amazon Web Services account ID of the outpost owner. Useful for * comparing owned versus shared outposts.

*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *

Returns the Amazon Web Services account ID of the outpost owner. Useful for * comparing owned versus shared outposts.

*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *

Returns the Amazon Web Services account ID of the outpost owner. Useful for * comparing owned versus shared outposts.

*/ inline Outpost& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *

Returns the Amazon Web Services account ID of the outpost owner. Useful for * comparing owned versus shared outposts.

*/ inline Outpost& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *

Returns the Amazon Web Services account ID of the outpost owner. Useful for * comparing owned versus shared outposts.

*/ inline Outpost& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *

The Amazon S3 capacity of the outpost in bytes.

*/ inline long long GetCapacityInBytes() const{ return m_capacityInBytes; } /** *

The Amazon S3 capacity of the outpost in bytes.

*/ inline bool CapacityInBytesHasBeenSet() const { return m_capacityInBytesHasBeenSet; } /** *

The Amazon S3 capacity of the outpost in bytes.

*/ inline void SetCapacityInBytes(long long value) { m_capacityInBytesHasBeenSet = true; m_capacityInBytes = value; } /** *

The Amazon S3 capacity of the outpost in bytes.

*/ inline Outpost& WithCapacityInBytes(long long value) { SetCapacityInBytes(value); return *this;} private: Aws::String m_outpostArn; bool m_outpostArnHasBeenSet = false; Aws::String m_outpostId; bool m_outpostIdHasBeenSet = false; Aws::String m_ownerId; bool m_ownerIdHasBeenSet = false; long long m_capacityInBytes; bool m_capacityInBytesHasBeenSet = false; }; } // namespace Model } // namespace S3Outposts } // namespace Aws