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

A user-friendly ThreatIntelSet name displayed in all findings that are * generated by activity that involves IP addresses included in this * ThreatIntelSet.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

A user-friendly ThreatIntelSet name displayed in all findings that are * generated by activity that involves IP addresses included in this * ThreatIntelSet.

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

A user-friendly ThreatIntelSet name displayed in all findings that are * generated by activity that involves IP addresses included in this * ThreatIntelSet.

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

A user-friendly ThreatIntelSet name displayed in all findings that are * generated by activity that involves IP addresses included in this * ThreatIntelSet.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

A user-friendly ThreatIntelSet name displayed in all findings that are * generated by activity that involves IP addresses included in this * ThreatIntelSet.

*/ inline GetThreatIntelSetResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

A user-friendly ThreatIntelSet name displayed in all findings that are * generated by activity that involves IP addresses included in this * ThreatIntelSet.

*/ inline GetThreatIntelSetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

A user-friendly ThreatIntelSet name displayed in all findings that are * generated by activity that involves IP addresses included in this * ThreatIntelSet.

*/ inline GetThreatIntelSetResult& WithName(const char* value) { SetName(value); return *this;} /** *

The format of the threatIntelSet.

*/ inline const ThreatIntelSetFormat& GetFormat() const{ return m_format; } /** *

The format of the threatIntelSet.

*/ inline void SetFormat(const ThreatIntelSetFormat& value) { m_format = value; } /** *

The format of the threatIntelSet.

*/ inline void SetFormat(ThreatIntelSetFormat&& value) { m_format = std::move(value); } /** *

The format of the threatIntelSet.

*/ inline GetThreatIntelSetResult& WithFormat(const ThreatIntelSetFormat& value) { SetFormat(value); return *this;} /** *

The format of the threatIntelSet.

*/ inline GetThreatIntelSetResult& WithFormat(ThreatIntelSetFormat&& value) { SetFormat(std::move(value)); return *this;} /** *

The URI of the file that contains the ThreatIntelSet.

*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *

The URI of the file that contains the ThreatIntelSet.

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

The URI of the file that contains the ThreatIntelSet.

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

The URI of the file that contains the ThreatIntelSet.

*/ inline void SetLocation(const char* value) { m_location.assign(value); } /** *

The URI of the file that contains the ThreatIntelSet.

*/ inline GetThreatIntelSetResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *

The URI of the file that contains the ThreatIntelSet.

*/ inline GetThreatIntelSetResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *

The URI of the file that contains the ThreatIntelSet.

*/ inline GetThreatIntelSetResult& WithLocation(const char* value) { SetLocation(value); return *this;} /** *

The status of threatIntelSet file uploaded.

*/ inline const ThreatIntelSetStatus& GetStatus() const{ return m_status; } /** *

The status of threatIntelSet file uploaded.

*/ inline void SetStatus(const ThreatIntelSetStatus& value) { m_status = value; } /** *

The status of threatIntelSet file uploaded.

*/ inline void SetStatus(ThreatIntelSetStatus&& value) { m_status = std::move(value); } /** *

The status of threatIntelSet file uploaded.

*/ inline GetThreatIntelSetResult& WithStatus(const ThreatIntelSetStatus& value) { SetStatus(value); return *this;} /** *

The status of threatIntelSet file uploaded.

*/ inline GetThreatIntelSetResult& WithStatus(ThreatIntelSetStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The tags of the threat list resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags of the threat list resource.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The tags of the threat list resource.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The tags of the threat list resource.

*/ inline GetThreatIntelSetResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags of the threat list resource.

*/ inline GetThreatIntelSetResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags of the threat list resource.

*/ inline GetThreatIntelSetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The tags of the threat list resource.

*/ inline GetThreatIntelSetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags of the threat list resource.

*/ inline GetThreatIntelSetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags of the threat list resource.

*/ inline GetThreatIntelSetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags of the threat list resource.

*/ inline GetThreatIntelSetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags of the threat list resource.

*/ inline GetThreatIntelSetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The tags of the threat list resource.

*/ inline GetThreatIntelSetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 GetThreatIntelSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetThreatIntelSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetThreatIntelSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; ThreatIntelSetFormat m_format; Aws::String m_location; ThreatIntelSetStatus m_status; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace GuardDuty } // namespace Aws