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