/** * 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 CreateIPSetResult { public: AWS_GUARDDUTY_API CreateIPSetResult(); AWS_GUARDDUTY_API CreateIPSetResult(const Aws::AmazonWebServiceResult& result); AWS_GUARDDUTY_API CreateIPSetResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the IPSet resource.

*/ inline const Aws::String& GetIpSetId() const{ return m_ipSetId; } /** *

The ID of the IPSet resource.

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

The ID of the IPSet resource.

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

The ID of the IPSet resource.

*/ inline void SetIpSetId(const char* value) { m_ipSetId.assign(value); } /** *

The ID of the IPSet resource.

*/ inline CreateIPSetResult& WithIpSetId(const Aws::String& value) { SetIpSetId(value); return *this;} /** *

The ID of the IPSet resource.

*/ inline CreateIPSetResult& WithIpSetId(Aws::String&& value) { SetIpSetId(std::move(value)); return *this;} /** *

The ID of the IPSet resource.

*/ inline CreateIPSetResult& WithIpSetId(const char* value) { SetIpSetId(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 CreateIPSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateIPSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateIPSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_ipSetId; Aws::String m_requestId; }; } // namespace Model } // namespace GuardDuty } // namespace Aws