AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeDetectorResult.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/frauddetector/model/DetectorVersionSummary.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace FraudDetector
26{
27namespace Model
28{
30 {
31 public:
32 AWS_FRAUDDETECTOR_API DescribeDetectorResult();
35
36
38
41 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
42 inline void SetDetectorId(const Aws::String& value) { m_detectorId = value; }
43 inline void SetDetectorId(Aws::String&& value) { m_detectorId = std::move(value); }
44 inline void SetDetectorId(const char* value) { m_detectorId.assign(value); }
45 inline DescribeDetectorResult& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
46 inline DescribeDetectorResult& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
47 inline DescribeDetectorResult& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
49
51
54 inline const Aws::Vector<DetectorVersionSummary>& GetDetectorVersionSummaries() const{ return m_detectorVersionSummaries; }
55 inline void SetDetectorVersionSummaries(const Aws::Vector<DetectorVersionSummary>& value) { m_detectorVersionSummaries = value; }
56 inline void SetDetectorVersionSummaries(Aws::Vector<DetectorVersionSummary>&& value) { m_detectorVersionSummaries = std::move(value); }
59 inline DescribeDetectorResult& AddDetectorVersionSummaries(const DetectorVersionSummary& value) { m_detectorVersionSummaries.push_back(value); return *this; }
60 inline DescribeDetectorResult& AddDetectorVersionSummaries(DetectorVersionSummary&& value) { m_detectorVersionSummaries.push_back(std::move(value)); return *this; }
62
64
67 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
68 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
69 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
70 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
71 inline DescribeDetectorResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
72 inline DescribeDetectorResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
73 inline DescribeDetectorResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
75
77
80 inline const Aws::String& GetArn() const{ return m_arn; }
81 inline void SetArn(const Aws::String& value) { m_arn = value; }
82 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
83 inline void SetArn(const char* value) { m_arn.assign(value); }
84 inline DescribeDetectorResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
85 inline DescribeDetectorResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
86 inline DescribeDetectorResult& WithArn(const char* value) { SetArn(value); return *this;}
88
90
91 inline const Aws::String& GetRequestId() const{ return m_requestId; }
92 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
93 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
94 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
95 inline DescribeDetectorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
96 inline DescribeDetectorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
97 inline DescribeDetectorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
99 private:
100
101 Aws::String m_detectorId;
102
103 Aws::Vector<DetectorVersionSummary> m_detectorVersionSummaries;
104
105 Aws::String m_nextToken;
106
107 Aws::String m_arn;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace FraudDetector
114} // namespace Aws
void SetDetectorVersionSummaries(Aws::Vector< DetectorVersionSummary > &&value)
const Aws::Vector< DetectorVersionSummary > & GetDetectorVersionSummaries() const
DescribeDetectorResult & WithArn(Aws::String &&value)
AWS_FRAUDDETECTOR_API DescribeDetectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDetectorResult & WithRequestId(const Aws::String &value)
DescribeDetectorResult & WithDetectorId(const char *value)
DescribeDetectorResult & WithArn(const Aws::String &value)
DescribeDetectorResult & WithDetectorVersionSummaries(Aws::Vector< DetectorVersionSummary > &&value)
DescribeDetectorResult & WithDetectorId(Aws::String &&value)
DescribeDetectorResult & AddDetectorVersionSummaries(DetectorVersionSummary &&value)
AWS_FRAUDDETECTOR_API DescribeDetectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDetectorResult & AddDetectorVersionSummaries(const DetectorVersionSummary &value)
DescribeDetectorResult & WithNextToken(Aws::String &&value)
DescribeDetectorResult & WithNextToken(const char *value)
void SetDetectorVersionSummaries(const Aws::Vector< DetectorVersionSummary > &value)
DescribeDetectorResult & WithArn(const char *value)
DescribeDetectorResult & WithRequestId(Aws::String &&value)
DescribeDetectorResult & WithDetectorId(const Aws::String &value)
DescribeDetectorResult & WithNextToken(const Aws::String &value)
DescribeDetectorResult & WithRequestId(const char *value)
DescribeDetectorResult & WithDetectorVersionSummaries(const Aws::Vector< DetectorVersionSummary > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue