AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetThreatIntelSetResult.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/ThreatIntelSetFormat.h>
10#include <aws/guardduty/model/ThreatIntelSetStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GuardDuty
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GUARDDUTY_API GetThreatIntelSetResult();
36
37
39
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline void SetName(const Aws::String& value) { m_name = value; }
46 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
47 inline void SetName(const char* value) { m_name.assign(value); }
48 inline GetThreatIntelSetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline GetThreatIntelSetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline GetThreatIntelSetResult& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const ThreatIntelSetFormat& GetFormat() const{ return m_format; }
58 inline void SetFormat(const ThreatIntelSetFormat& value) { m_format = value; }
59 inline void SetFormat(ThreatIntelSetFormat&& value) { m_format = std::move(value); }
60 inline GetThreatIntelSetResult& WithFormat(const ThreatIntelSetFormat& value) { SetFormat(value); return *this;}
61 inline GetThreatIntelSetResult& WithFormat(ThreatIntelSetFormat&& value) { SetFormat(std::move(value)); return *this;}
63
65
68 inline const Aws::String& GetLocation() const{ return m_location; }
69 inline void SetLocation(const Aws::String& value) { m_location = value; }
70 inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
71 inline void SetLocation(const char* value) { m_location.assign(value); }
72 inline GetThreatIntelSetResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
73 inline GetThreatIntelSetResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
74 inline GetThreatIntelSetResult& WithLocation(const char* value) { SetLocation(value); return *this;}
76
78
81 inline const ThreatIntelSetStatus& GetStatus() const{ return m_status; }
82 inline void SetStatus(const ThreatIntelSetStatus& value) { m_status = value; }
83 inline void SetStatus(ThreatIntelSetStatus&& value) { m_status = std::move(value); }
84 inline GetThreatIntelSetResult& WithStatus(const ThreatIntelSetStatus& value) { SetStatus(value); return *this;}
85 inline GetThreatIntelSetResult& WithStatus(ThreatIntelSetStatus&& value) { SetStatus(std::move(value)); return *this;}
87
89
92 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
93 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
94 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
95 inline GetThreatIntelSetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
96 inline GetThreatIntelSetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
97 inline GetThreatIntelSetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
98 inline GetThreatIntelSetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
99 inline GetThreatIntelSetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
100 inline GetThreatIntelSetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
101 inline GetThreatIntelSetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
102 inline GetThreatIntelSetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
103 inline GetThreatIntelSetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
105
107
108 inline const Aws::String& GetRequestId() const{ return m_requestId; }
109 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
110 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
111 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
112 inline GetThreatIntelSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
113 inline GetThreatIntelSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
114 inline GetThreatIntelSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
116 private:
117
118 Aws::String m_name;
119
120 ThreatIntelSetFormat m_format;
121
122 Aws::String m_location;
123
124 ThreatIntelSetStatus m_status;
125
127
128 Aws::String m_requestId;
129 };
130
131} // namespace Model
132} // namespace GuardDuty
133} // namespace Aws
const ThreatIntelSetStatus & GetStatus() const
GetThreatIntelSetResult & AddTags(Aws::String &&key, const char *value)
void SetStatus(const ThreatIntelSetStatus &value)
AWS_GUARDDUTY_API GetThreatIntelSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetThreatIntelSetResult & WithName(const Aws::String &value)
GetThreatIntelSetResult & AddTags(const Aws::String &key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetThreatIntelSetResult & WithLocation(const Aws::String &value)
GetThreatIntelSetResult & WithRequestId(const Aws::String &value)
GetThreatIntelSetResult & WithName(const char *value)
GetThreatIntelSetResult & WithStatus(const ThreatIntelSetStatus &value)
GetThreatIntelSetResult & AddTags(Aws::String &&key, const Aws::String &value)
GetThreatIntelSetResult & WithStatus(ThreatIntelSetStatus &&value)
const ThreatIntelSetFormat & GetFormat() const
GetThreatIntelSetResult & WithRequestId(Aws::String &&value)
GetThreatIntelSetResult & WithLocation(Aws::String &&value)
GetThreatIntelSetResult & AddTags(const char *key, Aws::String &&value)
GetThreatIntelSetResult & AddTags(const char *key, const char *value)
GetThreatIntelSetResult & AddTags(const Aws::String &key, const Aws::String &value)
GetThreatIntelSetResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetThreatIntelSetResult & WithRequestId(const char *value)
GetThreatIntelSetResult & WithName(Aws::String &&value)
GetThreatIntelSetResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_GUARDDUTY_API GetThreatIntelSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetThreatIntelSetResult & WithFormat(const ThreatIntelSetFormat &value)
GetThreatIntelSetResult & WithLocation(const char *value)
void SetFormat(const ThreatIntelSetFormat &value)
GetThreatIntelSetResult & AddTags(Aws::String &&key, Aws::String &&value)
GetThreatIntelSetResult & WithFormat(ThreatIntelSetFormat &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue