/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the Amazon Web Services accounts that have been granted permission
* to use a shared image. For more information about sharing images, see
* Share or Unshare a Custom WorkSpaces Image.See Also:
AWS
* API Reference
The identifier of the Amazon Web Services account that an image has been * shared with.
*/ inline const Aws::String& GetSharedAccountId() const{ return m_sharedAccountId; } /** *The identifier of the Amazon Web Services account that an image has been * shared with.
*/ inline bool SharedAccountIdHasBeenSet() const { return m_sharedAccountIdHasBeenSet; } /** *The identifier of the Amazon Web Services account that an image has been * shared with.
*/ inline void SetSharedAccountId(const Aws::String& value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId = value; } /** *The identifier of the Amazon Web Services account that an image has been * shared with.
*/ inline void SetSharedAccountId(Aws::String&& value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId = std::move(value); } /** *The identifier of the Amazon Web Services account that an image has been * shared with.
*/ inline void SetSharedAccountId(const char* value) { m_sharedAccountIdHasBeenSet = true; m_sharedAccountId.assign(value); } /** *The identifier of the Amazon Web Services account that an image has been * shared with.
*/ inline ImagePermission& WithSharedAccountId(const Aws::String& value) { SetSharedAccountId(value); return *this;} /** *The identifier of the Amazon Web Services account that an image has been * shared with.
*/ inline ImagePermission& WithSharedAccountId(Aws::String&& value) { SetSharedAccountId(std::move(value)); return *this;} /** *The identifier of the Amazon Web Services account that an image has been * shared with.
*/ inline ImagePermission& WithSharedAccountId(const char* value) { SetSharedAccountId(value); return *this;} private: Aws::String m_sharedAccountId; bool m_sharedAccountIdHasBeenSet = false; }; } // namespace Model } // namespace WorkSpaces } // namespace Aws