AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CreateDetectorResult.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/UnprocessedDataSourcesResult.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace GuardDuty
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GUARDDUTY_API CreateDetectorResult() = default;
34
35
37
40 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
41 template<typename DetectorIdT = Aws::String>
42 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
43 template<typename DetectorIdT = Aws::String>
44 CreateDetectorResult& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
46
48
52 inline const UnprocessedDataSourcesResult& GetUnprocessedDataSources() const { return m_unprocessedDataSources; }
53 template<typename UnprocessedDataSourcesT = UnprocessedDataSourcesResult>
54 void SetUnprocessedDataSources(UnprocessedDataSourcesT&& value) { m_unprocessedDataSourcesHasBeenSet = true; m_unprocessedDataSources = std::forward<UnprocessedDataSourcesT>(value); }
55 template<typename UnprocessedDataSourcesT = UnprocessedDataSourcesResult>
56 CreateDetectorResult& WithUnprocessedDataSources(UnprocessedDataSourcesT&& value) { SetUnprocessedDataSources(std::forward<UnprocessedDataSourcesT>(value)); return *this;}
58
60
61 inline const Aws::String& GetRequestId() const { return m_requestId; }
62 template<typename RequestIdT = Aws::String>
63 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
64 template<typename RequestIdT = Aws::String>
65 CreateDetectorResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
67 private:
68
69 Aws::String m_detectorId;
70 bool m_detectorIdHasBeenSet = false;
71
72 UnprocessedDataSourcesResult m_unprocessedDataSources;
73 bool m_unprocessedDataSourcesHasBeenSet = false;
74
75 Aws::String m_requestId;
76 bool m_requestIdHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace GuardDuty
81} // namespace Aws
AWS_GUARDDUTY_API CreateDetectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDetectorResult & WithUnprocessedDataSources(UnprocessedDataSourcesT &&value)
void SetUnprocessedDataSources(UnprocessedDataSourcesT &&value)
AWS_GUARDDUTY_API CreateDetectorResult()=default
const UnprocessedDataSourcesResult & GetUnprocessedDataSources() const
CreateDetectorResult & WithRequestId(RequestIdT &&value)
AWS_GUARDDUTY_API CreateDetectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDetectorResult & WithDetectorId(DetectorIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue