AWS SDK for C++  1.9.16
AWS SDK for C++
DescribeModelVersionsResult.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::Vector<ModelVersionDetail>& GetModelVersionDetails() const{ return m_modelVersionDetails; }
41 
45  inline void SetModelVersionDetails(const Aws::Vector<ModelVersionDetail>& value) { m_modelVersionDetails = value; }
46 
50  inline void SetModelVersionDetails(Aws::Vector<ModelVersionDetail>&& value) { m_modelVersionDetails = std::move(value); }
51 
55  inline DescribeModelVersionsResult& WithModelVersionDetails(const Aws::Vector<ModelVersionDetail>& value) { SetModelVersionDetails(value); return *this;}
56 
60  inline DescribeModelVersionsResult& WithModelVersionDetails(Aws::Vector<ModelVersionDetail>&& value) { SetModelVersionDetails(std::move(value)); return *this;}
61 
65  inline DescribeModelVersionsResult& AddModelVersionDetails(const ModelVersionDetail& value) { m_modelVersionDetails.push_back(value); return *this; }
66 
70  inline DescribeModelVersionsResult& AddModelVersionDetails(ModelVersionDetail&& value) { m_modelVersionDetails.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline DescribeModelVersionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline DescribeModelVersionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline DescribeModelVersionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<ModelVersionDetail> m_modelVersionDetails;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace FraudDetector
117 } // namespace Aws
Aws::FraudDetector::Model::DescribeModelVersionsResult::SetModelVersionDetails
void SetModelVersionDetails(const Aws::Vector< ModelVersionDetail > &value)
Definition: DescribeModelVersionsResult.h:45
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::DescribeModelVersionsResult::DescribeModelVersionsResult
DescribeModelVersionsResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
ModelVersionDetail.h
Aws::FraudDetector::Model::DescribeModelVersionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeModelVersionsResult.h:91
Aws::FraudDetector::Model::DescribeModelVersionsResult::GetModelVersionDetails
const Aws::Vector< ModelVersionDetail > & GetModelVersionDetails() const
Definition: DescribeModelVersionsResult.h:40
Aws::FraudDetector::Model::DescribeModelVersionsResult
Definition: DescribeModelVersionsResult.h:30
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::DescribeModelVersionsResult::WithNextToken
DescribeModelVersionsResult & WithNextToken(Aws::String &&value)
Definition: DescribeModelVersionsResult.h:101
Aws::FraudDetector::Model::DescribeModelVersionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeModelVersionsResult.h:81
AWSString.h
Aws::FraudDetector::Model::DescribeModelVersionsResult::WithModelVersionDetails
DescribeModelVersionsResult & WithModelVersionDetails(Aws::Vector< ModelVersionDetail > &&value)
Definition: DescribeModelVersionsResult.h:60
Aws::FraudDetector::Model::DescribeModelVersionsResult::WithModelVersionDetails
DescribeModelVersionsResult & WithModelVersionDetails(const Aws::Vector< ModelVersionDetail > &value)
Definition: DescribeModelVersionsResult.h:55
Aws::FraudDetector::Model::DescribeModelVersionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeModelVersionsResult.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::DescribeModelVersionsResult::AddModelVersionDetails
DescribeModelVersionsResult & AddModelVersionDetails(const ModelVersionDetail &value)
Definition: DescribeModelVersionsResult.h:65
Aws::FraudDetector::Model::DescribeModelVersionsResult::operator=
DescribeModelVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::DescribeModelVersionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeModelVersionsResult.h:76
Aws::FraudDetector::Model::DescribeModelVersionsResult::WithNextToken
DescribeModelVersionsResult & WithNextToken(const Aws::String &value)
Definition: DescribeModelVersionsResult.h:96
Aws::FraudDetector::Model::DescribeModelVersionsResult::WithNextToken
DescribeModelVersionsResult & WithNextToken(const char *value)
Definition: DescribeModelVersionsResult.h:106
Aws::FraudDetector::Model::DescribeModelVersionsResult::SetModelVersionDetails
void SetModelVersionDetails(Aws::Vector< ModelVersionDetail > &&value)
Definition: DescribeModelVersionsResult.h:50
Aws::FraudDetector::Model::ModelVersionDetail
Definition: ModelVersionDetail.h:37
Aws::FraudDetector::Model::DescribeModelVersionsResult::DescribeModelVersionsResult
DescribeModelVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::DescribeModelVersionsResult::AddModelVersionDetails
DescribeModelVersionsResult & AddModelVersionDetails(ModelVersionDetail &&value)
Definition: DescribeModelVersionsResult.h:70