AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDetectorVersionResult.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/DetectorVersionStatus.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 FraudDetector
25{
26namespace Model
27{
29 {
30 public:
31 AWS_FRAUDDETECTOR_API CreateDetectorVersionResult();
34
35
37
40 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
41 inline void SetDetectorId(const Aws::String& value) { m_detectorId = value; }
42 inline void SetDetectorId(Aws::String&& value) { m_detectorId = std::move(value); }
43 inline void SetDetectorId(const char* value) { m_detectorId.assign(value); }
44 inline CreateDetectorVersionResult& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
45 inline CreateDetectorVersionResult& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
46 inline CreateDetectorVersionResult& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
48
50
53 inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; }
54 inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionId = value; }
55 inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionId = std::move(value); }
56 inline void SetDetectorVersionId(const char* value) { m_detectorVersionId.assign(value); }
58 inline CreateDetectorVersionResult& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;}
59 inline CreateDetectorVersionResult& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
61
63
66 inline const DetectorVersionStatus& GetStatus() const{ return m_status; }
67 inline void SetStatus(const DetectorVersionStatus& value) { m_status = value; }
68 inline void SetStatus(DetectorVersionStatus&& value) { m_status = std::move(value); }
69 inline CreateDetectorVersionResult& WithStatus(const DetectorVersionStatus& value) { SetStatus(value); return *this;}
70 inline CreateDetectorVersionResult& WithStatus(DetectorVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline CreateDetectorVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline CreateDetectorVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline CreateDetectorVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 Aws::String m_detectorId;
86
87 Aws::String m_detectorVersionId;
88
89 DetectorVersionStatus m_status;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace FraudDetector
96} // namespace Aws
CreateDetectorVersionResult & WithRequestId(const Aws::String &value)
CreateDetectorVersionResult & WithDetectorVersionId(Aws::String &&value)
CreateDetectorVersionResult & WithDetectorVersionId(const Aws::String &value)
AWS_FRAUDDETECTOR_API CreateDetectorVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDetectorVersionResult & WithDetectorId(const char *value)
CreateDetectorVersionResult & WithRequestId(Aws::String &&value)
CreateDetectorVersionResult & WithRequestId(const char *value)
CreateDetectorVersionResult & WithDetectorId(const Aws::String &value)
CreateDetectorVersionResult & WithDetectorId(Aws::String &&value)
AWS_FRAUDDETECTOR_API CreateDetectorVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateDetectorVersionResult & WithStatus(const DetectorVersionStatus &value)
CreateDetectorVersionResult & WithStatus(DetectorVersionStatus &&value)
CreateDetectorVersionResult & WithDetectorVersionId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue