AWS SDK for C++  1.9.14
AWS SDK for C++
GetLabelsResult.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<Label>& GetLabels() const{ return m_labels; }
41 
45  inline void SetLabels(const Aws::Vector<Label>& value) { m_labels = value; }
46 
50  inline void SetLabels(Aws::Vector<Label>&& value) { m_labels = std::move(value); }
51 
55  inline GetLabelsResult& WithLabels(const Aws::Vector<Label>& value) { SetLabels(value); return *this;}
56 
60  inline GetLabelsResult& WithLabels(Aws::Vector<Label>&& value) { SetLabels(std::move(value)); return *this;}
61 
65  inline GetLabelsResult& AddLabels(const Label& value) { m_labels.push_back(value); return *this; }
66 
70  inline GetLabelsResult& AddLabels(Label&& value) { m_labels.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 GetLabelsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline GetLabelsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline GetLabelsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<Label> m_labels;
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::GetLabelsResult
Definition: GetLabelsResult.h:30
FraudDetector_EXPORTS.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::GetLabelsResult::AddLabels
GetLabelsResult & AddLabels(const Label &value)
Definition: GetLabelsResult.h:65
Aws::FraudDetector::Model::GetLabelsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: GetLabelsResult.h:76
AWSVector.h
Aws::FraudDetector::Model::GetLabelsResult::AddLabels
GetLabelsResult & AddLabels(Label &&value)
Definition: GetLabelsResult.h:70
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::Label
Definition: Label.h:32
Label.h
Aws::FraudDetector::Model::GetLabelsResult::GetLabels
const Aws::Vector< Label > & GetLabels() const
Definition: GetLabelsResult.h:40
Aws::FraudDetector::Model::GetLabelsResult::operator=
GetLabelsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::FraudDetector::Model::GetLabelsResult::SetNextToken
void SetNextToken(const char *value)
Definition: GetLabelsResult.h:91
Aws::FraudDetector::Model::GetLabelsResult::WithNextToken
GetLabelsResult & WithNextToken(const char *value)
Definition: GetLabelsResult.h:106
Aws::FraudDetector::Model::GetLabelsResult::WithNextToken
GetLabelsResult & WithNextToken(Aws::String &&value)
Definition: GetLabelsResult.h:101
Aws::FraudDetector::Model::GetLabelsResult::WithLabels
GetLabelsResult & WithLabels(Aws::Vector< Label > &&value)
Definition: GetLabelsResult.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::GetLabelsResult::SetLabels
void SetLabels(const Aws::Vector< Label > &value)
Definition: GetLabelsResult.h:45
Aws::FraudDetector::Model::GetLabelsResult::WithLabels
GetLabelsResult & WithLabels(const Aws::Vector< Label > &value)
Definition: GetLabelsResult.h:55
Aws::FraudDetector::Model::GetLabelsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: GetLabelsResult.h:86
Aws::FraudDetector::Model::GetLabelsResult::WithNextToken
GetLabelsResult & WithNextToken(const Aws::String &value)
Definition: GetLabelsResult.h:96
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::GetLabelsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: GetLabelsResult.h:81
Aws::FraudDetector::Model::GetLabelsResult::GetLabelsResult
GetLabelsResult()
Aws::FraudDetector::Model::GetLabelsResult::GetLabelsResult
GetLabelsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::GetLabelsResult::SetLabels
void SetLabels(Aws::Vector< Label > &&value)
Definition: GetLabelsResult.h:50