/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the permissions that are available to the specified AWS account for
* a shared image.See Also:
AWS
* API Reference
The 12-digit identifier of the AWS account with which the image is * shared.
*/ inline const Aws::String& GetSharedAccountId() const{ return m_sharedAccountId; } /** *The 12-digit identifier of the AWS account with which the image is * shared.
*/ inline bool SharedAccountIdHasBeenSet() const { return m_sharedAccountIdHasBeenSet; } /** *The 12-digit identifier of the AWS account with which the image is * shared.
*/ inline void SetSharedAccountId(const Aws::String& value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId = value; } /** *The 12-digit identifier of the AWS account with which the image is * shared.
*/ inline void SetSharedAccountId(Aws::String&& value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId = std::move(value); } /** *The 12-digit identifier of the AWS account with which the image is * shared.
*/ inline void SetSharedAccountId(const char* value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId.assign(value); } /** *The 12-digit identifier of the AWS account with which the image is * shared.
*/ inline SharedImagePermissions& WithSharedAccountId(const Aws::String& value) { SetSharedAccountId(value); return *this;} /** *The 12-digit identifier of the AWS account with which the image is * shared.
*/ inline SharedImagePermissions& WithSharedAccountId(Aws::String&& value) { SetSharedAccountId(std::move(value)); return *this;} /** *The 12-digit identifier of the AWS account with which the image is * shared.
*/ inline SharedImagePermissions& WithSharedAccountId(const char* value) { SetSharedAccountId(value); return *this;} /** *Describes the permissions for a shared image.
*/ inline const ImagePermissions& GetImagePermissions() const{ return m_imagePermissions; } /** *Describes the permissions for a shared image.
*/ inline bool ImagePermissionsHasBeenSet() const { return m_imagePermissionsHasBeenSet; } /** *Describes the permissions for a shared image.
*/ inline void SetImagePermissions(const ImagePermissions& value) { m_imagePermissionsHasBeenSet = true; m_imagePermissions = value; } /** *Describes the permissions for a shared image.
*/ inline void SetImagePermissions(ImagePermissions&& value) { m_imagePermissionsHasBeenSet = true; m_imagePermissions = std::move(value); } /** *Describes the permissions for a shared image.
*/ inline SharedImagePermissions& WithImagePermissions(const ImagePermissions& value) { SetImagePermissions(value); return *this;} /** *Describes the permissions for a shared image.
*/ inline SharedImagePermissions& WithImagePermissions(ImagePermissions&& value) { SetImagePermissions(std::move(value)); return *this;} private: Aws::String m_sharedAccountId; bool m_sharedAccountIdHasBeenSet = false; ImagePermissions m_imagePermissions; bool m_imagePermissionsHasBeenSet = false; }; } // namespace Model } // namespace AppStream } // namespace Aws