AWS SDK for C++

AWS SDK for C++ Version 1.11.756

Loading...
Searching...
No Matches
CreateThreatIntelSetResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13template <typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils {
17namespace Json {
18class JsonValue;
19} // namespace Json
20} // namespace Utils
21namespace GuardDuty {
22namespace Model {
24 public:
25 AWS_GUARDDUTY_API CreateThreatIntelSetResult() = default;
28
30
33 inline const Aws::String& GetThreatIntelSetId() const { return m_threatIntelSetId; }
34 template <typename ThreatIntelSetIdT = Aws::String>
35 void SetThreatIntelSetId(ThreatIntelSetIdT&& value) {
36 m_threatIntelSetIdHasBeenSet = true;
37 m_threatIntelSetId = std::forward<ThreatIntelSetIdT>(value);
38 }
39 template <typename ThreatIntelSetIdT = Aws::String>
41 SetThreatIntelSetId(std::forward<ThreatIntelSetIdT>(value));
42 return *this;
43 }
45
47
48 inline const Aws::String& GetRequestId() const { return m_requestId; }
49 template <typename RequestIdT = Aws::String>
50 void SetRequestId(RequestIdT&& value) {
51 m_requestIdHasBeenSet = true;
52 m_requestId = std::forward<RequestIdT>(value);
53 }
54 template <typename RequestIdT = Aws::String>
56 SetRequestId(std::forward<RequestIdT>(value));
57 return *this;
58 }
60 private:
61 Aws::String m_threatIntelSetId;
62
63 Aws::String m_requestId;
64 bool m_threatIntelSetIdHasBeenSet = false;
65 bool m_requestIdHasBeenSet = false;
66};
67
68} // namespace Model
69} // namespace GuardDuty
70} // namespace Aws
AWS_GUARDDUTY_API CreateThreatIntelSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateThreatIntelSetResult & WithThreatIntelSetId(ThreatIntelSetIdT &&value)
AWS_GUARDDUTY_API CreateThreatIntelSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateThreatIntelSetResult & WithRequestId(RequestIdT &&value)
AWS_GUARDDUTY_API CreateThreatIntelSetResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue