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

The ID of the OpsItem.

*/ inline const Aws::String& GetOpsItemId() const{ return m_opsItemId; } /** *

The ID of the OpsItem.

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

The ID of the OpsItem.

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

The ID of the OpsItem.

*/ inline void SetOpsItemId(const char* value) { m_opsItemId.assign(value); } /** *

The ID of the OpsItem.

*/ inline CreateOpsItemResult& WithOpsItemId(const Aws::String& value) { SetOpsItemId(value); return *this;} /** *

The ID of the OpsItem.

*/ inline CreateOpsItemResult& WithOpsItemId(Aws::String&& value) { SetOpsItemId(std::move(value)); return *this;} /** *

The ID of the OpsItem.

*/ inline CreateOpsItemResult& WithOpsItemId(const char* value) { SetOpsItemId(value); return *this;} private: Aws::String m_opsItemId; }; } // namespace Model } // namespace SSM } // namespace Aws