/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GuardDuty { namespace Model { class AWS_GUARDDUTY_API CreatePublishingDestinationResult { public: CreatePublishingDestinationResult(); CreatePublishingDestinationResult(const Aws::AmazonWebServiceResult& result); CreatePublishingDestinationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the publishing destination that is created.

*/ inline const Aws::String& GetDestinationId() const{ return m_destinationId; } /** *

The ID of the publishing destination that is created.

*/ inline void SetDestinationId(const Aws::String& value) { m_destinationId = value; } /** *

The ID of the publishing destination that is created.

*/ inline void SetDestinationId(Aws::String&& value) { m_destinationId = std::move(value); } /** *

The ID of the publishing destination that is created.

*/ inline void SetDestinationId(const char* value) { m_destinationId.assign(value); } /** *

The ID of the publishing destination that is created.

*/ inline CreatePublishingDestinationResult& WithDestinationId(const Aws::String& value) { SetDestinationId(value); return *this;} /** *

The ID of the publishing destination that is created.

*/ inline CreatePublishingDestinationResult& WithDestinationId(Aws::String&& value) { SetDestinationId(std::move(value)); return *this;} /** *

The ID of the publishing destination that is created.

*/ inline CreatePublishingDestinationResult& WithDestinationId(const char* value) { SetDestinationId(value); return *this;} private: Aws::String m_destinationId; }; } // namespace Model } // namespace GuardDuty } // namespace Aws