/** * 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 Shield { namespace Model { class AWS_SHIELD_API CreateProtectionResult { public: CreateProtectionResult(); CreateProtectionResult(const Aws::AmazonWebServiceResult& result); CreateProtectionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The unique identifier (ID) for the Protection object that is * created.

*/ inline const Aws::String& GetProtectionId() const{ return m_protectionId; } /** *

The unique identifier (ID) for the Protection object that is * created.

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

The unique identifier (ID) for the Protection object that is * created.

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

The unique identifier (ID) for the Protection object that is * created.

*/ inline void SetProtectionId(const char* value) { m_protectionId.assign(value); } /** *

The unique identifier (ID) for the Protection object that is * created.

*/ inline CreateProtectionResult& WithProtectionId(const Aws::String& value) { SetProtectionId(value); return *this;} /** *

The unique identifier (ID) for the Protection object that is * created.

*/ inline CreateProtectionResult& WithProtectionId(Aws::String&& value) { SetProtectionId(std::move(value)); return *this;} /** *

The unique identifier (ID) for the Protection object that is * created.

*/ inline CreateProtectionResult& WithProtectionId(const char* value) { SetProtectionId(value); return *this;} private: Aws::String m_protectionId; }; } // namespace Model } // namespace Shield } // namespace Aws