AWS SDK for C++  1.9.108
AWS SDK for C++
ListDatasetEntriesResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace LookoutforVision
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Aws::String>& GetDatasetEntries() const{ return m_datasetEntries; }
40 
44  inline void SetDatasetEntries(const Aws::Vector<Aws::String>& value) { m_datasetEntries = value; }
45 
49  inline void SetDatasetEntries(Aws::Vector<Aws::String>&& value) { m_datasetEntries = std::move(value); }
50 
54  inline ListDatasetEntriesResult& WithDatasetEntries(const Aws::Vector<Aws::String>& value) { SetDatasetEntries(value); return *this;}
55 
59  inline ListDatasetEntriesResult& WithDatasetEntries(Aws::Vector<Aws::String>&& value) { SetDatasetEntries(std::move(value)); return *this;}
60 
64  inline ListDatasetEntriesResult& AddDatasetEntries(const Aws::String& value) { m_datasetEntries.push_back(value); return *this; }
65 
69  inline ListDatasetEntriesResult& AddDatasetEntries(Aws::String&& value) { m_datasetEntries.push_back(std::move(value)); return *this; }
70 
74  inline ListDatasetEntriesResult& AddDatasetEntries(const char* value) { m_datasetEntries.push_back(value); return *this; }
75 
76 
82  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 
89  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 
96  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
97 
103  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
104 
110  inline ListDatasetEntriesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
111 
117  inline ListDatasetEntriesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
118 
124  inline ListDatasetEntriesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
125 
126  private:
127 
128  Aws::Vector<Aws::String> m_datasetEntries;
129 
130  Aws::String m_nextToken;
131  };
132 
133 } // namespace Model
134 } // namespace LookoutforVision
135 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::LookoutforVision::Model::ListDatasetEntriesResult::AddDatasetEntries
ListDatasetEntriesResult & AddDatasetEntries(const Aws::String &value)
Definition: ListDatasetEntriesResult.h:64
Aws::LookoutforVision::Model::ListDatasetEntriesResult::AddDatasetEntries
ListDatasetEntriesResult & AddDatasetEntries(Aws::String &&value)
Definition: ListDatasetEntriesResult.h:69
Aws::LookoutforVision::Model::ListDatasetEntriesResult::WithDatasetEntries
ListDatasetEntriesResult & WithDatasetEntries(const Aws::Vector< Aws::String > &value)
Definition: ListDatasetEntriesResult.h:54
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::LookoutforVision::Model::ListDatasetEntriesResult::SetDatasetEntries
void SetDatasetEntries(Aws::Vector< Aws::String > &&value)
Definition: ListDatasetEntriesResult.h:49
Aws::LookoutforVision::Model::ListDatasetEntriesResult::ListDatasetEntriesResult
ListDatasetEntriesResult()
Aws::LookoutforVision::Model::ListDatasetEntriesResult::ListDatasetEntriesResult
ListDatasetEntriesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
LookoutforVision_EXPORTS.h
AWSVector.h
Aws::LookoutforVision::Model::ListDatasetEntriesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDatasetEntriesResult.h:82
Aws::LookoutforVision::Model::ListDatasetEntriesResult::AddDatasetEntries
ListDatasetEntriesResult & AddDatasetEntries(const char *value)
Definition: ListDatasetEntriesResult.h:74
Aws::LookoutforVision::Model::ListDatasetEntriesResult::WithNextToken
ListDatasetEntriesResult & WithNextToken(const char *value)
Definition: ListDatasetEntriesResult.h:124
Aws::LookoutforVision::Model::ListDatasetEntriesResult::operator=
ListDatasetEntriesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::LookoutforVision::Model::ListDatasetEntriesResult
Definition: ListDatasetEntriesResult.h:29
Aws::LookoutforVision::Model::ListDatasetEntriesResult::GetDatasetEntries
const Aws::Vector< Aws::String > & GetDatasetEntries() const
Definition: ListDatasetEntriesResult.h:39
Aws::LookoutforVision::Model::ListDatasetEntriesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDatasetEntriesResult.h:96
Aws::LookoutforVision::Model::ListDatasetEntriesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDatasetEntriesResult.h:89
Aws::LookoutforVision::Model::ListDatasetEntriesResult::WithNextToken
ListDatasetEntriesResult & WithNextToken(const Aws::String &value)
Definition: ListDatasetEntriesResult.h:110
AWSString.h
Aws::LookoutforVision::Model::ListDatasetEntriesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDatasetEntriesResult.h:103
Aws::LookoutforVision::Model::ListDatasetEntriesResult::WithDatasetEntries
ListDatasetEntriesResult & WithDatasetEntries(Aws::Vector< Aws::String > &&value)
Definition: ListDatasetEntriesResult.h:59
Aws::LookoutforVision::Model::ListDatasetEntriesResult::SetDatasetEntries
void SetDatasetEntries(const Aws::Vector< Aws::String > &value)
Definition: ListDatasetEntriesResult.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
AWS_LOOKOUTFORVISION_API
#define AWS_LOOKOUTFORVISION_API
Definition: LookoutforVision_EXPORTS.h:28
Aws::LookoutforVision::Model::ListDatasetEntriesResult::WithNextToken
ListDatasetEntriesResult & WithNextToken(Aws::String &&value)
Definition: ListDatasetEntriesResult.h:117