/** * 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 Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace S3Control { namespace Model { /** *

The Amazon Web Services organization for your S3 Storage Lens.

See * Also:

AWS * API Reference

*/ class StorageLensAwsOrg { public: AWS_S3CONTROL_API StorageLensAwsOrg(); AWS_S3CONTROL_API StorageLensAwsOrg(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API StorageLensAwsOrg& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const; /** *

A container for the Amazon Resource Name (ARN) of the Amazon Web Services * organization. This property is read-only and follows the following format: * * arn:aws:organizations:us-east-1:example-account-id:organization/o-ex2l495dck *

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

A container for the Amazon Resource Name (ARN) of the Amazon Web Services * organization. This property is read-only and follows the following format: * * arn:aws:organizations:us-east-1:example-account-id:organization/o-ex2l495dck *

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

A container for the Amazon Resource Name (ARN) of the Amazon Web Services * organization. This property is read-only and follows the following format: * * arn:aws:organizations:us-east-1:example-account-id:organization/o-ex2l495dck *

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

A container for the Amazon Resource Name (ARN) of the Amazon Web Services * organization. This property is read-only and follows the following format: * * arn:aws:organizations:us-east-1:example-account-id:organization/o-ex2l495dck *

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

A container for the Amazon Resource Name (ARN) of the Amazon Web Services * organization. This property is read-only and follows the following format: * * arn:aws:organizations:us-east-1:example-account-id:organization/o-ex2l495dck *

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

A container for the Amazon Resource Name (ARN) of the Amazon Web Services * organization. This property is read-only and follows the following format: * * arn:aws:organizations:us-east-1:example-account-id:organization/o-ex2l495dck *

*/ inline StorageLensAwsOrg& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

A container for the Amazon Resource Name (ARN) of the Amazon Web Services * organization. This property is read-only and follows the following format: * * arn:aws:organizations:us-east-1:example-account-id:organization/o-ex2l495dck *

*/ inline StorageLensAwsOrg& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

A container for the Amazon Resource Name (ARN) of the Amazon Web Services * organization. This property is read-only and follows the following format: * * arn:aws:organizations:us-east-1:example-account-id:organization/o-ex2l495dck *

*/ inline StorageLensAwsOrg& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace S3Control } // namespace Aws