AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
36
37
39
44 inline const Aws::String& GetName() const { return m_name; }
45 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 GetThreatIntelSetResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
55 inline ThreatIntelSetFormat GetFormat() const { return m_format; }
56 inline void SetFormat(ThreatIntelSetFormat value) { m_formatHasBeenSet = true; m_format = value; }
57 inline GetThreatIntelSetResult& WithFormat(ThreatIntelSetFormat value) { SetFormat(value); return *this;}
59
61
64 inline const Aws::String& GetLocation() const { return m_location; }
65 template<typename LocationT = Aws::String>
66 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
67 template<typename LocationT = Aws::String>
68 GetThreatIntelSetResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
70
72
75 inline ThreatIntelSetStatus GetStatus() const { return m_status; }
76 inline void SetStatus(ThreatIntelSetStatus value) { m_statusHasBeenSet = true; m_status = value; }
77 inline GetThreatIntelSetResult& WithStatus(ThreatIntelSetStatus value) { SetStatus(value); return *this;}
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
85 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
86 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
87 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
88 GetThreatIntelSetResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
89 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
90 GetThreatIntelSetResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
91 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
92 }
94
96
101 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
102 template<typename ExpectedBucketOwnerT = Aws::String>
103 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
104 template<typename ExpectedBucketOwnerT = Aws::String>
105 GetThreatIntelSetResult& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) { SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value)); return *this;}
107
109
110 inline const Aws::String& GetRequestId() const { return m_requestId; }
111 template<typename RequestIdT = Aws::String>
112 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
113 template<typename RequestIdT = Aws::String>
114 GetThreatIntelSetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
116 private:
117
118 Aws::String m_name;
119 bool m_nameHasBeenSet = false;
120
122 bool m_formatHasBeenSet = false;
123
124 Aws::String m_location;
125 bool m_locationHasBeenSet = false;
126
128 bool m_statusHasBeenSet = false;
129
131 bool m_tagsHasBeenSet = false;
132
133 Aws::String m_expectedBucketOwner;
134 bool m_expectedBucketOwnerHasBeenSet = false;
135
136 Aws::String m_requestId;
137 bool m_requestIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace GuardDuty
142} // namespace Aws
AWS_GUARDDUTY_API GetThreatIntelSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetThreatIntelSetResult & WithName(NameT &&value)
GetThreatIntelSetResult & WithStatus(ThreatIntelSetStatus value)
GetThreatIntelSetResult & WithLocation(LocationT &&value)
GetThreatIntelSetResult & WithTags(TagsT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
AWS_GUARDDUTY_API GetThreatIntelSetResult()=default
GetThreatIntelSetResult & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
GetThreatIntelSetResult & WithRequestId(RequestIdT &&value)
AWS_GUARDDUTY_API GetThreatIntelSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetThreatIntelSetResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetThreatIntelSetResult & WithFormat(ThreatIntelSetFormat 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