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

Synchronize Systems Manager Inventory data from multiple AWS accounts defined * in AWS Organizations to a centralized S3 bucket. Data is synchronized to * individual key prefixes in the central bucket. Each key prefix represents a * different AWS account ID.

See Also:

AWS * API Reference

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

The sharing data type. Only Organization is supported.

*/ inline const Aws::String& GetDestinationDataSharingType() const{ return m_destinationDataSharingType; } /** *

The sharing data type. Only Organization is supported.

*/ inline bool DestinationDataSharingTypeHasBeenSet() const { return m_destinationDataSharingTypeHasBeenSet; } /** *

The sharing data type. Only Organization is supported.

*/ inline void SetDestinationDataSharingType(const Aws::String& value) { m_destinationDataSharingTypeHasBeenSet = true; m_destinationDataSharingType = value; } /** *

The sharing data type. Only Organization is supported.

*/ inline void SetDestinationDataSharingType(Aws::String&& value) { m_destinationDataSharingTypeHasBeenSet = true; m_destinationDataSharingType = std::move(value); } /** *

The sharing data type. Only Organization is supported.

*/ inline void SetDestinationDataSharingType(const char* value) { m_destinationDataSharingTypeHasBeenSet = true; m_destinationDataSharingType.assign(value); } /** *

The sharing data type. Only Organization is supported.

*/ inline ResourceDataSyncDestinationDataSharing& WithDestinationDataSharingType(const Aws::String& value) { SetDestinationDataSharingType(value); return *this;} /** *

The sharing data type. Only Organization is supported.

*/ inline ResourceDataSyncDestinationDataSharing& WithDestinationDataSharingType(Aws::String&& value) { SetDestinationDataSharingType(std::move(value)); return *this;} /** *

The sharing data type. Only Organization is supported.

*/ inline ResourceDataSyncDestinationDataSharing& WithDestinationDataSharingType(const char* value) { SetDestinationDataSharingType(value); return *this;} private: Aws::String m_destinationDataSharingType; bool m_destinationDataSharingTypeHasBeenSet; }; } // namespace Model } // namespace SSM } // namespace Aws