AWS SDK for C++  1.9.108
AWS SDK for C++
GetThreatIntelSetResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace GuardDuty
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
43  inline const Aws::String& GetName() const{ return m_name; }
44 
50  inline void SetName(const Aws::String& value) { m_name = value; }
51 
57  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
58 
64  inline void SetName(const char* value) { m_name.assign(value); }
65 
71  inline GetThreatIntelSetResult& WithName(const Aws::String& value) { SetName(value); return *this;}
72 
78  inline GetThreatIntelSetResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
79 
85  inline GetThreatIntelSetResult& WithName(const char* value) { SetName(value); return *this;}
86 
87 
91  inline const ThreatIntelSetFormat& GetFormat() const{ return m_format; }
92 
96  inline void SetFormat(const ThreatIntelSetFormat& value) { m_format = value; }
97 
101  inline void SetFormat(ThreatIntelSetFormat&& value) { m_format = std::move(value); }
102 
106  inline GetThreatIntelSetResult& WithFormat(const ThreatIntelSetFormat& value) { SetFormat(value); return *this;}
107 
111  inline GetThreatIntelSetResult& WithFormat(ThreatIntelSetFormat&& value) { SetFormat(std::move(value)); return *this;}
112 
113 
118  inline const Aws::String& GetLocation() const{ return m_location; }
119 
124  inline void SetLocation(const Aws::String& value) { m_location = value; }
125 
130  inline void SetLocation(Aws::String&& value) { m_location = std::move(value); }
131 
136  inline void SetLocation(const char* value) { m_location.assign(value); }
137 
142  inline GetThreatIntelSetResult& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
143 
148  inline GetThreatIntelSetResult& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
149 
154  inline GetThreatIntelSetResult& WithLocation(const char* value) { SetLocation(value); return *this;}
155 
156 
160  inline const ThreatIntelSetStatus& GetStatus() const{ return m_status; }
161 
165  inline void SetStatus(const ThreatIntelSetStatus& value) { m_status = value; }
166 
170  inline void SetStatus(ThreatIntelSetStatus&& value) { m_status = std::move(value); }
171 
175  inline GetThreatIntelSetResult& WithStatus(const ThreatIntelSetStatus& value) { SetStatus(value); return *this;}
176 
180  inline GetThreatIntelSetResult& WithStatus(ThreatIntelSetStatus&& value) { SetStatus(std::move(value)); return *this;}
181 
182 
186  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
187 
191  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
192 
196  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
197 
201  inline GetThreatIntelSetResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
202 
206  inline GetThreatIntelSetResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
207 
211  inline GetThreatIntelSetResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
212 
216  inline GetThreatIntelSetResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
217 
221  inline GetThreatIntelSetResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
222 
226  inline GetThreatIntelSetResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
227 
231  inline GetThreatIntelSetResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
232 
236  inline GetThreatIntelSetResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
237 
241  inline GetThreatIntelSetResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
242 
243  private:
244 
245  Aws::String m_name;
246 
247  ThreatIntelSetFormat m_format;
248 
249  Aws::String m_location;
250 
251  ThreatIntelSetStatus m_status;
252 
254  };
255 
256 } // namespace Model
257 } // namespace GuardDuty
258 } // namespace Aws
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetStatus
void SetStatus(ThreatIntelSetStatus &&value)
Definition: GetThreatIntelSetResult.h:170
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetLocation
void SetLocation(Aws::String &&value)
Definition: GetThreatIntelSetResult.h:130
Aws::GuardDuty::Model::GetThreatIntelSetResult::operator=
GetThreatIntelSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GuardDuty::Model::GetThreatIntelSetResult::AddTags
GetThreatIntelSetResult & AddTags(const char *key, Aws::String &&value)
Definition: GetThreatIntelSetResult.h:231
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetStatus
void SetStatus(const ThreatIntelSetStatus &value)
Definition: GetThreatIntelSetResult.h:165
Aws::GuardDuty::Model::GetThreatIntelSetResult::GetStatus
const ThreatIntelSetStatus & GetStatus() const
Definition: GetThreatIntelSetResult.h:160
Aws::GuardDuty::Model::ThreatIntelSetFormat
ThreatIntelSetFormat
Definition: ThreatIntelSetFormat.h:17
Aws::GuardDuty::Model::GetThreatIntelSetResult::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: GetThreatIntelSetResult.h:186
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetName
void SetName(Aws::String &&value)
Definition: GetThreatIntelSetResult.h:57
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithStatus
GetThreatIntelSetResult & WithStatus(const ThreatIntelSetStatus &value)
Definition: GetThreatIntelSetResult.h:175
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetThreatIntelSetResult.h:191
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithLocation
GetThreatIntelSetResult & WithLocation(const Aws::String &value)
Definition: GetThreatIntelSetResult.h:142
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetFormat
void SetFormat(ThreatIntelSetFormat &&value)
Definition: GetThreatIntelSetResult.h:101
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetThreatIntelSetResult.h:196
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithName
GetThreatIntelSetResult & WithName(Aws::String &&value)
Definition: GetThreatIntelSetResult.h:78
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::GetThreatIntelSetResult::AddTags
GetThreatIntelSetResult & AddTags(const Aws::String &key, const Aws::String &value)
Definition: GetThreatIntelSetResult.h:211
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetFormat
void SetFormat(const ThreatIntelSetFormat &value)
Definition: GetThreatIntelSetResult.h:96
Aws::GuardDuty::Model::ThreatIntelSetStatus
ThreatIntelSetStatus
Definition: ThreatIntelSetStatus.h:17
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithName
GetThreatIntelSetResult & WithName(const Aws::String &value)
Definition: GetThreatIntelSetResult.h:71
Aws::GuardDuty::Model::GetThreatIntelSetResult::AddTags
GetThreatIntelSetResult & AddTags(const char *key, const char *value)
Definition: GetThreatIntelSetResult.h:241
Aws::GuardDuty::Model::GetThreatIntelSetResult::GetName
const Aws::String & GetName() const
Definition: GetThreatIntelSetResult.h:43
AWSString.h
Aws::GuardDuty::Model::GetThreatIntelSetResult::GetThreatIntelSetResult
GetThreatIntelSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ThreatIntelSetFormat.h
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithFormat
GetThreatIntelSetResult & WithFormat(ThreatIntelSetFormat &&value)
Definition: GetThreatIntelSetResult.h:111
Aws::GuardDuty::Model::GetThreatIntelSetResult
Definition: GetThreatIntelSetResult.h:31
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithLocation
GetThreatIntelSetResult & WithLocation(Aws::String &&value)
Definition: GetThreatIntelSetResult.h:148
Aws::GuardDuty::Model::GetThreatIntelSetResult::GetLocation
const Aws::String & GetLocation() const
Definition: GetThreatIntelSetResult.h:118
Aws::GuardDuty::Model::GetThreatIntelSetResult::AddTags
GetThreatIntelSetResult & AddTags(Aws::String &&key, Aws::String &&value)
Definition: GetThreatIntelSetResult.h:226
Aws::GuardDuty::Model::GetThreatIntelSetResult::AddTags
GetThreatIntelSetResult & AddTags(Aws::String &&key, const Aws::String &value)
Definition: GetThreatIntelSetResult.h:216
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithLocation
GetThreatIntelSetResult & WithLocation(const char *value)
Definition: GetThreatIntelSetResult.h:154
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithName
GetThreatIntelSetResult & WithName(const char *value)
Definition: GetThreatIntelSetResult.h:85
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetName
void SetName(const Aws::String &value)
Definition: GetThreatIntelSetResult.h:50
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithFormat
GetThreatIntelSetResult & WithFormat(const ThreatIntelSetFormat &value)
Definition: GetThreatIntelSetResult.h:106
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithTags
GetThreatIntelSetResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: GetThreatIntelSetResult.h:201
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetLocation
void SetLocation(const Aws::String &value)
Definition: GetThreatIntelSetResult.h:124
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetName
void SetName(const char *value)
Definition: GetThreatIntelSetResult.h:64
Aws::GuardDuty::Model::GetThreatIntelSetResult::SetLocation
void SetLocation(const char *value)
Definition: GetThreatIntelSetResult.h:136
Aws::GuardDuty::Model::GetThreatIntelSetResult::AddTags
GetThreatIntelSetResult & AddTags(Aws::String &&key, const char *value)
Definition: GetThreatIntelSetResult.h:236
Aws::GuardDuty::Model::GetThreatIntelSetResult::GetThreatIntelSetResult
GetThreatIntelSetResult()
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithStatus
GetThreatIntelSetResult & WithStatus(ThreatIntelSetStatus &&value)
Definition: GetThreatIntelSetResult.h:180
Aws::GuardDuty::Model::GetThreatIntelSetResult::AddTags
GetThreatIntelSetResult & AddTags(const Aws::String &key, Aws::String &&value)
Definition: GetThreatIntelSetResult.h:221
AWSMap.h
ThreatIntelSetStatus.h
Aws::GuardDuty::Model::GetThreatIntelSetResult::GetFormat
const ThreatIntelSetFormat & GetFormat() const
Definition: GetThreatIntelSetResult.h:91
Aws::GuardDuty::Model::GetThreatIntelSetResult::WithTags
GetThreatIntelSetResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: GetThreatIntelSetResult.h:206
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19