AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
GetThreatEntitySetResult.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/ThreatEntitySetFormat.h>
10#include <aws/guardduty/model/ThreatEntitySetStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/DateTime.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace GuardDuty
28{
29namespace Model
30{
32 {
33 public:
34 AWS_GUARDDUTY_API GetThreatEntitySetResult() = default;
37
38
40
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 GetThreatEntitySetResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
55 inline ThreatEntitySetFormat GetFormat() const { return m_format; }
56 inline void SetFormat(ThreatEntitySetFormat value) { m_formatHasBeenSet = true; m_format = value; }
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 GetThreatEntitySetResult& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
70
72
76 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
77 template<typename ExpectedBucketOwnerT = Aws::String>
78 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
79 template<typename ExpectedBucketOwnerT = Aws::String>
80 GetThreatEntitySetResult& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) { SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value)); return *this;}
82
84
87 inline ThreatEntitySetStatus GetStatus() const { return m_status; }
88 inline void SetStatus(ThreatEntitySetStatus value) { m_statusHasBeenSet = true; m_status = value; }
91
93
96 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
97 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
98 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
99 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
100 GetThreatEntitySetResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
101 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
102 GetThreatEntitySetResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
103 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
112 template<typename CreatedAtT = Aws::Utils::DateTime>
113 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
114 template<typename CreatedAtT = Aws::Utils::DateTime>
115 GetThreatEntitySetResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
123 template<typename UpdatedAtT = Aws::Utils::DateTime>
124 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::forward<UpdatedAtT>(value); }
125 template<typename UpdatedAtT = Aws::Utils::DateTime>
126 GetThreatEntitySetResult& WithUpdatedAt(UpdatedAtT&& value) { SetUpdatedAt(std::forward<UpdatedAtT>(value)); return *this;}
128
130
133 inline const Aws::String& GetErrorDetails() const { return m_errorDetails; }
134 template<typename ErrorDetailsT = Aws::String>
135 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
136 template<typename ErrorDetailsT = Aws::String>
137 GetThreatEntitySetResult& WithErrorDetails(ErrorDetailsT&& value) { SetErrorDetails(std::forward<ErrorDetailsT>(value)); return *this;}
139
141
142 inline const Aws::String& GetRequestId() const { return m_requestId; }
143 template<typename RequestIdT = Aws::String>
144 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
145 template<typename RequestIdT = Aws::String>
146 GetThreatEntitySetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
148 private:
149
150 Aws::String m_name;
151 bool m_nameHasBeenSet = false;
152
154 bool m_formatHasBeenSet = false;
155
156 Aws::String m_location;
157 bool m_locationHasBeenSet = false;
158
159 Aws::String m_expectedBucketOwner;
160 bool m_expectedBucketOwnerHasBeenSet = false;
161
163 bool m_statusHasBeenSet = false;
164
166 bool m_tagsHasBeenSet = false;
167
168 Aws::Utils::DateTime m_createdAt{};
169 bool m_createdAtHasBeenSet = false;
170
171 Aws::Utils::DateTime m_updatedAt{};
172 bool m_updatedAtHasBeenSet = false;
173
174 Aws::String m_errorDetails;
175 bool m_errorDetailsHasBeenSet = false;
176
177 Aws::String m_requestId;
178 bool m_requestIdHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace GuardDuty
183} // namespace Aws
GetThreatEntitySetResult & WithUpdatedAt(UpdatedAtT &&value)
GetThreatEntitySetResult & WithStatus(ThreatEntitySetStatus value)
GetThreatEntitySetResult & WithRequestId(RequestIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetThreatEntitySetResult & WithName(NameT &&value)
GetThreatEntitySetResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GUARDDUTY_API GetThreatEntitySetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetThreatEntitySetResult & WithTags(TagsT &&value)
void SetExpectedBucketOwner(ExpectedBucketOwnerT &&value)
GetThreatEntitySetResult & WithCreatedAt(CreatedAtT &&value)
AWS_GUARDDUTY_API GetThreatEntitySetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetThreatEntitySetResult & WithLocation(LocationT &&value)
GetThreatEntitySetResult & WithFormat(ThreatEntitySetFormat value)
GetThreatEntitySetResult & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
GetThreatEntitySetResult & WithErrorDetails(ErrorDetailsT &&value)
AWS_GUARDDUTY_API GetThreatEntitySetResult()=default
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