AWS SDK for C++  1.9.103
AWS SDK for C++
ListClustersResult.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 Snowball
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::Vector<ClusterListEntry>& GetClusterListEntries() const{ return m_clusterListEntries; }
42 
47  inline void SetClusterListEntries(const Aws::Vector<ClusterListEntry>& value) { m_clusterListEntries = value; }
48 
53  inline void SetClusterListEntries(Aws::Vector<ClusterListEntry>&& value) { m_clusterListEntries = std::move(value); }
54 
59  inline ListClustersResult& WithClusterListEntries(const Aws::Vector<ClusterListEntry>& value) { SetClusterListEntries(value); return *this;}
60 
65  inline ListClustersResult& WithClusterListEntries(Aws::Vector<ClusterListEntry>&& value) { SetClusterListEntries(std::move(value)); return *this;}
66 
71  inline ListClustersResult& AddClusterListEntries(const ClusterListEntry& value) { m_clusterListEntries.push_back(value); return *this; }
72 
77  inline ListClustersResult& AddClusterListEntries(ClusterListEntry&& value) { m_clusterListEntries.push_back(std::move(value)); return *this; }
78 
79 
85  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
86 
92  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
93 
99  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
100 
106  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
107 
113  inline ListClustersResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
114 
120  inline ListClustersResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
121 
127  inline ListClustersResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
128 
129  private:
130 
131  Aws::Vector<ClusterListEntry> m_clusterListEntries;
132 
133  Aws::String m_nextToken;
134  };
135 
136 } // namespace Model
137 } // namespace Snowball
138 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Snowball::Model::ListClustersResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListClustersResult.h:106
Aws::Snowball::Model::ListClustersResult::GetClusterListEntries
const Aws::Vector< ClusterListEntry > & GetClusterListEntries() const
Definition: ListClustersResult.h:41
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Snowball::Model::ListClustersResult::ListClustersResult
ListClustersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ClusterListEntry.h
Aws::Snowball::Model::ListClustersResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListClustersResult.h:85
AWSVector.h
Aws::Snowball::Model::ListClustersResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListClustersResult.h:99
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::ListClustersResult::operator=
ListClustersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::ListClustersResult::WithNextToken
ListClustersResult & WithNextToken(const Aws::String &value)
Definition: ListClustersResult.h:113
Aws::Snowball::Model::ListClustersResult::SetClusterListEntries
void SetClusterListEntries(Aws::Vector< ClusterListEntry > &&value)
Definition: ListClustersResult.h:53
Aws::Snowball::Model::ListClustersResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListClustersResult.h:92
Aws::Snowball::Model::ListClustersResult::WithClusterListEntries
ListClustersResult & WithClusterListEntries(Aws::Vector< ClusterListEntry > &&value)
Definition: ListClustersResult.h:65
Aws::Snowball::Model::ListClustersResult::SetClusterListEntries
void SetClusterListEntries(const Aws::Vector< ClusterListEntry > &value)
Definition: ListClustersResult.h:47
Aws::Snowball::Model::ListClustersResult::ListClustersResult
ListClustersResult()
AWSString.h
Aws::Snowball::Model::ListClustersResult::WithNextToken
ListClustersResult & WithNextToken(Aws::String &&value)
Definition: ListClustersResult.h:120
Aws::Snowball::Model::ClusterListEntry
Definition: ClusterListEntry.h:35
Aws::Snowball::Model::ListClustersResult::WithNextToken
ListClustersResult & WithNextToken(const char *value)
Definition: ListClustersResult.h:127
Aws::Snowball::Model::ListClustersResult::AddClusterListEntries
ListClustersResult & AddClusterListEntries(const ClusterListEntry &value)
Definition: ListClustersResult.h:71
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::ListClustersResult
Definition: ListClustersResult.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::ListClustersResult::AddClusterListEntries
ListClustersResult & AddClusterListEntries(ClusterListEntry &&value)
Definition: ListClustersResult.h:77
Snowball_EXPORTS.h
Aws::Snowball::Model::ListClustersResult::WithClusterListEntries
ListClustersResult & WithClusterListEntries(const Aws::Vector< ClusterListEntry > &value)
Definition: ListClustersResult.h:59