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