/** * 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 { /** *

The Organizations organizational unit data source for the sync.

See * Also:

AWS * API Reference

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

The Organizations unit ID data source for the sync.

*/ inline const Aws::String& GetOrganizationalUnitId() const{ return m_organizationalUnitId; } /** *

The Organizations unit ID data source for the sync.

*/ inline bool OrganizationalUnitIdHasBeenSet() const { return m_organizationalUnitIdHasBeenSet; } /** *

The Organizations unit ID data source for the sync.

*/ inline void SetOrganizationalUnitId(const Aws::String& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = value; } /** *

The Organizations unit ID data source for the sync.

*/ inline void SetOrganizationalUnitId(Aws::String&& value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId = std::move(value); } /** *

The Organizations unit ID data source for the sync.

*/ inline void SetOrganizationalUnitId(const char* value) { m_organizationalUnitIdHasBeenSet = true; m_organizationalUnitId.assign(value); } /** *

The Organizations unit ID data source for the sync.

*/ inline ResourceDataSyncOrganizationalUnit& WithOrganizationalUnitId(const Aws::String& value) { SetOrganizationalUnitId(value); return *this;} /** *

The Organizations unit ID data source for the sync.

*/ inline ResourceDataSyncOrganizationalUnit& WithOrganizationalUnitId(Aws::String&& value) { SetOrganizationalUnitId(std::move(value)); return *this;} /** *

The Organizations unit ID data source for the sync.

*/ inline ResourceDataSyncOrganizationalUnit& WithOrganizationalUnitId(const char* value) { SetOrganizationalUnitId(value); return *this;} private: Aws::String m_organizationalUnitId; bool m_organizationalUnitIdHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws