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