AWS SDK for C++  1.9.129
AWS SDK for C++
DescribeDetectorResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace FraudDetector
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
41 
45  inline void SetDetectorId(const Aws::String& value) { m_detectorId = value; }
46 
50  inline void SetDetectorId(Aws::String&& value) { m_detectorId = std::move(value); }
51 
55  inline void SetDetectorId(const char* value) { m_detectorId.assign(value); }
56 
60  inline DescribeDetectorResult& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
61 
65  inline DescribeDetectorResult& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
66 
70  inline DescribeDetectorResult& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
71 
72 
76  inline const Aws::Vector<DetectorVersionSummary>& GetDetectorVersionSummaries() const{ return m_detectorVersionSummaries; }
77 
81  inline void SetDetectorVersionSummaries(const Aws::Vector<DetectorVersionSummary>& value) { m_detectorVersionSummaries = value; }
82 
86  inline void SetDetectorVersionSummaries(Aws::Vector<DetectorVersionSummary>&& value) { m_detectorVersionSummaries = std::move(value); }
87 
91  inline DescribeDetectorResult& WithDetectorVersionSummaries(const Aws::Vector<DetectorVersionSummary>& value) { SetDetectorVersionSummaries(value); return *this;}
92 
96  inline DescribeDetectorResult& WithDetectorVersionSummaries(Aws::Vector<DetectorVersionSummary>&& value) { SetDetectorVersionSummaries(std::move(value)); return *this;}
97 
101  inline DescribeDetectorResult& AddDetectorVersionSummaries(const DetectorVersionSummary& value) { m_detectorVersionSummaries.push_back(value); return *this; }
102 
106  inline DescribeDetectorResult& AddDetectorVersionSummaries(DetectorVersionSummary&& value) { m_detectorVersionSummaries.push_back(std::move(value)); return *this; }
107 
108 
112  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
113 
117  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
118 
122  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
123 
127  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
128 
132  inline DescribeDetectorResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
133 
137  inline DescribeDetectorResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
138 
142  inline DescribeDetectorResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
143 
144 
148  inline const Aws::String& GetArn() const{ return m_arn; }
149 
153  inline void SetArn(const Aws::String& value) { m_arn = value; }
154 
158  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
159 
163  inline void SetArn(const char* value) { m_arn.assign(value); }
164 
168  inline DescribeDetectorResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
169 
173  inline DescribeDetectorResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
174 
178  inline DescribeDetectorResult& WithArn(const char* value) { SetArn(value); return *this;}
179 
180  private:
181 
182  Aws::String m_detectorId;
183 
184  Aws::Vector<DetectorVersionSummary> m_detectorVersionSummaries;
185 
186  Aws::String m_nextToken;
187 
188  Aws::String m_arn;
189  };
190 
191 } // namespace Model
192 } // namespace FraudDetector
193 } // namespace Aws
Aws::FraudDetector::Model::DescribeDetectorResult::SetArn
void SetArn(const char *value)
Definition: DescribeDetectorResult.h:163
Aws::FraudDetector::Model::DescribeDetectorResult::WithArn
DescribeDetectorResult & WithArn(const Aws::String &value)
Definition: DescribeDetectorResult.h:168
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::FraudDetector::Model::DescribeDetectorResult::WithDetectorId
DescribeDetectorResult & WithDetectorId(Aws::String &&value)
Definition: DescribeDetectorResult.h:65
Aws::FraudDetector::Model::DescribeDetectorResult::WithDetectorId
DescribeDetectorResult & WithDetectorId(const Aws::String &value)
Definition: DescribeDetectorResult.h:60
Aws::FraudDetector::Model::DescribeDetectorResult::WithArn
DescribeDetectorResult & WithArn(const char *value)
Definition: DescribeDetectorResult.h:178
Aws::FraudDetector::Model::DescribeDetectorResult::SetArn
void SetArn(Aws::String &&value)
Definition: DescribeDetectorResult.h:158
Aws::FraudDetector::Model::DescribeDetectorResult::WithNextToken
DescribeDetectorResult & WithNextToken(Aws::String &&value)
Definition: DescribeDetectorResult.h:137
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::DescribeDetectorResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeDetectorResult.h:127
Aws::FraudDetector::Model::DescribeDetectorResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeDetectorResult.h:122
Aws::FraudDetector::Model::DescribeDetectorResult::AddDetectorVersionSummaries
DescribeDetectorResult & AddDetectorVersionSummaries(const DetectorVersionSummary &value)
Definition: DescribeDetectorResult.h:101
Aws::FraudDetector::Model::DescribeDetectorResult::SetDetectorId
void SetDetectorId(const char *value)
Definition: DescribeDetectorResult.h:55
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::DescribeDetectorResult::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: DescribeDetectorResult.h:45
Aws::FraudDetector::Model::DescribeDetectorResult::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: DescribeDetectorResult.h:40
Aws::FraudDetector::Model::DescribeDetectorResult::WithNextToken
DescribeDetectorResult & WithNextToken(const Aws::String &value)
Definition: DescribeDetectorResult.h:132
AWSVector.h
Aws::FraudDetector::Model::DescribeDetectorResult::DescribeDetectorResult
DescribeDetectorResult()
Aws::FraudDetector::Model::DescribeDetectorResult::SetDetectorVersionSummaries
void SetDetectorVersionSummaries(const Aws::Vector< DetectorVersionSummary > &value)
Definition: DescribeDetectorResult.h:81
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::DescribeDetectorResult::SetDetectorVersionSummaries
void SetDetectorVersionSummaries(Aws::Vector< DetectorVersionSummary > &&value)
Definition: DescribeDetectorResult.h:86
Aws::FraudDetector::Model::DescribeDetectorResult::WithDetectorId
DescribeDetectorResult & WithDetectorId(const char *value)
Definition: DescribeDetectorResult.h:70
Aws::FraudDetector::Model::DescribeDetectorResult::SetArn
void SetArn(const Aws::String &value)
Definition: DescribeDetectorResult.h:153
Aws::FraudDetector::Model::DescribeDetectorResult::WithArn
DescribeDetectorResult & WithArn(Aws::String &&value)
Definition: DescribeDetectorResult.h:173
Aws::FraudDetector::Model::DescribeDetectorResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeDetectorResult.h:117
AWSString.h
Aws::FraudDetector::Model::DescribeDetectorResult::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: DescribeDetectorResult.h:50
Aws::FraudDetector::Model::DescribeDetectorResult::WithNextToken
DescribeDetectorResult & WithNextToken(const char *value)
Definition: DescribeDetectorResult.h:142
Aws::FraudDetector::Model::DescribeDetectorResult::GetDetectorVersionSummaries
const Aws::Vector< DetectorVersionSummary > & GetDetectorVersionSummaries() const
Definition: DescribeDetectorResult.h:76
Aws::FraudDetector::Model::DetectorVersionSummary
Definition: DetectorVersionSummary.h:33
Aws::FraudDetector::Model::DescribeDetectorResult::operator=
DescribeDetectorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::DescribeDetectorResult::WithDetectorVersionSummaries
DescribeDetectorResult & WithDetectorVersionSummaries(Aws::Vector< DetectorVersionSummary > &&value)
Definition: DescribeDetectorResult.h:96
Aws::FraudDetector::Model::DescribeDetectorResult::AddDetectorVersionSummaries
DescribeDetectorResult & AddDetectorVersionSummaries(DetectorVersionSummary &&value)
Definition: DescribeDetectorResult.h:106
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::DescribeDetectorResult
Definition: DescribeDetectorResult.h:30
Aws::FraudDetector::Model::DescribeDetectorResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeDetectorResult.h:112
DetectorVersionSummary.h
Aws::FraudDetector::Model::DescribeDetectorResult::WithDetectorVersionSummaries
DescribeDetectorResult & WithDetectorVersionSummaries(const Aws::Vector< DetectorVersionSummary > &value)
Definition: DescribeDetectorResult.h:91
Aws::FraudDetector::Model::DescribeDetectorResult::GetArn
const Aws::String & GetArn() const
Definition: DescribeDetectorResult.h:148
Aws::FraudDetector::Model::DescribeDetectorResult::DescribeDetectorResult
DescribeDetectorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)