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

The Amazon Resource Name (ARN) for the custom action target.

*/ inline const Aws::String& GetActionTargetArn() const{ return m_actionTargetArn; } /** *

The Amazon Resource Name (ARN) for the custom action target.

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

The Amazon Resource Name (ARN) for the custom action target.

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

The Amazon Resource Name (ARN) for the custom action target.

*/ inline void SetActionTargetArn(const char* value) { m_actionTargetArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the custom action target.

*/ inline CreateActionTargetResult& WithActionTargetArn(const Aws::String& value) { SetActionTargetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the custom action target.

*/ inline CreateActionTargetResult& WithActionTargetArn(Aws::String&& value) { SetActionTargetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the custom action target.

*/ inline CreateActionTargetResult& WithActionTargetArn(const char* value) { SetActionTargetArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline CreateActionTargetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateActionTargetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateActionTargetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_actionTargetArn; Aws::String m_requestId; }; } // namespace Model } // namespace SecurityHub } // namespace Aws