AWS SDK for C++  1.9.15
AWS SDK for C++
CreateDetectorVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace FraudDetector
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
40 
44  inline void SetDetectorId(const Aws::String& value) { m_detectorId = value; }
45 
49  inline void SetDetectorId(Aws::String&& value) { m_detectorId = std::move(value); }
50 
54  inline void SetDetectorId(const char* value) { m_detectorId.assign(value); }
55 
59  inline CreateDetectorVersionResult& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
60 
64  inline CreateDetectorVersionResult& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
65 
69  inline CreateDetectorVersionResult& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
70 
71 
75  inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; }
76 
80  inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionId = value; }
81 
85  inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionId = std::move(value); }
86 
90  inline void SetDetectorVersionId(const char* value) { m_detectorVersionId.assign(value); }
91 
95  inline CreateDetectorVersionResult& WithDetectorVersionId(const Aws::String& value) { SetDetectorVersionId(value); return *this;}
96 
100  inline CreateDetectorVersionResult& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;}
101 
105  inline CreateDetectorVersionResult& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
106 
107 
111  inline const DetectorVersionStatus& GetStatus() const{ return m_status; }
112 
116  inline void SetStatus(const DetectorVersionStatus& value) { m_status = value; }
117 
121  inline void SetStatus(DetectorVersionStatus&& value) { m_status = std::move(value); }
122 
126  inline CreateDetectorVersionResult& WithStatus(const DetectorVersionStatus& value) { SetStatus(value); return *this;}
127 
131  inline CreateDetectorVersionResult& WithStatus(DetectorVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
132 
133  private:
134 
135  Aws::String m_detectorId;
136 
137  Aws::String m_detectorVersionId;
138 
139  DetectorVersionStatus m_status;
140  };
141 
142 } // namespace Model
143 } // namespace FraudDetector
144 } // namespace Aws
Aws::FraudDetector::Model::CreateDetectorVersionResult::WithDetectorVersionId
CreateDetectorVersionResult & WithDetectorVersionId(const Aws::String &value)
Definition: CreateDetectorVersionResult.h:95
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::FraudDetector::Model::CreateDetectorVersionResult::WithStatus
CreateDetectorVersionResult & WithStatus(DetectorVersionStatus &&value)
Definition: CreateDetectorVersionResult.h:131
Aws::FraudDetector::Model::CreateDetectorVersionResult
Definition: CreateDetectorVersionResult.h:29
Aws::FraudDetector::Model::DetectorVersionStatus
DetectorVersionStatus
Definition: DetectorVersionStatus.h:17
Aws::FraudDetector::Model::CreateDetectorVersionResult::SetDetectorVersionId
void SetDetectorVersionId(Aws::String &&value)
Definition: CreateDetectorVersionResult.h:85
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::CreateDetectorVersionResult::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: CreateDetectorVersionResult.h:39
Aws::FraudDetector::Model::CreateDetectorVersionResult::SetDetectorId
void SetDetectorId(const char *value)
Definition: CreateDetectorVersionResult.h:54
Aws::FraudDetector::Model::CreateDetectorVersionResult::SetStatus
void SetStatus(const DetectorVersionStatus &value)
Definition: CreateDetectorVersionResult.h:116
Aws::FraudDetector::Model::CreateDetectorVersionResult::WithDetectorVersionId
CreateDetectorVersionResult & WithDetectorVersionId(const char *value)
Definition: CreateDetectorVersionResult.h:105
Aws::FraudDetector::Model::CreateDetectorVersionResult::WithDetectorId
CreateDetectorVersionResult & WithDetectorId(Aws::String &&value)
Definition: CreateDetectorVersionResult.h:64
Aws::FraudDetector::Model::CreateDetectorVersionResult::CreateDetectorVersionResult
CreateDetectorVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::CreateDetectorVersionResult::GetDetectorVersionId
const Aws::String & GetDetectorVersionId() const
Definition: CreateDetectorVersionResult.h:75
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::CreateDetectorVersionResult::operator=
CreateDetectorVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::CreateDetectorVersionResult::WithDetectorVersionId
CreateDetectorVersionResult & WithDetectorVersionId(Aws::String &&value)
Definition: CreateDetectorVersionResult.h:100
Aws::FraudDetector::Model::CreateDetectorVersionResult::SetStatus
void SetStatus(DetectorVersionStatus &&value)
Definition: CreateDetectorVersionResult.h:121
DetectorVersionStatus.h
Aws::FraudDetector::Model::CreateDetectorVersionResult::WithDetectorId
CreateDetectorVersionResult & WithDetectorId(const Aws::String &value)
Definition: CreateDetectorVersionResult.h:59
AWSString.h
Aws::FraudDetector::Model::CreateDetectorVersionResult::SetDetectorVersionId
void SetDetectorVersionId(const Aws::String &value)
Definition: CreateDetectorVersionResult.h:80
Aws::FraudDetector::Model::CreateDetectorVersionResult::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: CreateDetectorVersionResult.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::CreateDetectorVersionResult::GetStatus
const DetectorVersionStatus & GetStatus() const
Definition: CreateDetectorVersionResult.h:111
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::CreateDetectorVersionResult::WithStatus
CreateDetectorVersionResult & WithStatus(const DetectorVersionStatus &value)
Definition: CreateDetectorVersionResult.h:126
Aws::FraudDetector::Model::CreateDetectorVersionResult::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: CreateDetectorVersionResult.h:49
Aws::FraudDetector::Model::CreateDetectorVersionResult::WithDetectorId
CreateDetectorVersionResult & WithDetectorId(const char *value)
Definition: CreateDetectorVersionResult.h:69
Aws::FraudDetector::Model::CreateDetectorVersionResult::CreateDetectorVersionResult
CreateDetectorVersionResult()
Aws::FraudDetector::Model::CreateDetectorVersionResult::SetDetectorVersionId
void SetDetectorVersionId(const char *value)
Definition: CreateDetectorVersionResult.h:90