/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information about the Amazon Web Services account that owns an S3
* bucket.See Also:
AWS
* API Reference
The display name of the account that owns the bucket.
*/ inline const Aws::String& GetDisplayName() const{ return m_displayName; } /** *The display name of the account that owns the bucket.
*/ inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; } /** *The display name of the account that owns the bucket.
*/ inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; } /** *The display name of the account that owns the bucket.
*/ inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); } /** *The display name of the account that owns the bucket.
*/ inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); } /** *The display name of the account that owns the bucket.
*/ inline S3BucketOwner& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;} /** *The display name of the account that owns the bucket.
*/ inline S3BucketOwner& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;} /** *The display name of the account that owns the bucket.
*/ inline S3BucketOwner& WithDisplayName(const char* value) { SetDisplayName(value); return *this;} /** *The canonical user ID for the account that owns the bucket.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The canonical user ID for the account that owns the bucket.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The canonical user ID for the account that owns the bucket.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The canonical user ID for the account that owns the bucket.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The canonical user ID for the account that owns the bucket.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The canonical user ID for the account that owns the bucket.
*/ inline S3BucketOwner& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The canonical user ID for the account that owns the bucket.
*/ inline S3BucketOwner& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The canonical user ID for the account that owns the bucket.
*/ inline S3BucketOwner& WithId(const char* value) { SetId(value); return *this;} private: Aws::String m_displayName; bool m_displayNameHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; }; } // namespace Model } // namespace Macie2 } // namespace Aws