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