AWS SDK for C++  1.9.160
AWS SDK for C++
ListSuitesResult.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 DeviceFarm
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<Suite>& GetSuites() const{ return m_suites; }
46 
50  inline void SetSuites(const Aws::Vector<Suite>& value) { m_suites = value; }
51 
55  inline void SetSuites(Aws::Vector<Suite>&& value) { m_suites = std::move(value); }
56 
60  inline ListSuitesResult& WithSuites(const Aws::Vector<Suite>& value) { SetSuites(value); return *this;}
61 
65  inline ListSuitesResult& WithSuites(Aws::Vector<Suite>&& value) { SetSuites(std::move(value)); return *this;}
66 
70  inline ListSuitesResult& AddSuites(const Suite& value) { m_suites.push_back(value); return *this; }
71 
75  inline ListSuitesResult& AddSuites(Suite&& value) { m_suites.push_back(std::move(value)); return *this; }
76 
77 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
90  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
91 
97  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
98 
104  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
105 
111  inline ListSuitesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
112 
118  inline ListSuitesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
119 
125  inline ListSuitesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
126 
127  private:
128 
129  Aws::Vector<Suite> m_suites;
130 
131  Aws::String m_nextToken;
132  };
133 
134 } // namespace Model
135 } // namespace DeviceFarm
136 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DeviceFarm::Model::ListSuitesResult::GetSuites
const Aws::Vector< Suite > & GetSuites() const
Definition: ListSuitesResult.h:45
AWSVector.h
Aws::DeviceFarm::Model::ListSuitesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSuitesResult.h:83
Aws::DeviceFarm::Model::ListSuitesResult::WithNextToken
ListSuitesResult & WithNextToken(Aws::String &&value)
Definition: ListSuitesResult.h:118
Aws::DeviceFarm::Model::ListSuitesResult::WithSuites
ListSuitesResult & WithSuites(const Aws::Vector< Suite > &value)
Definition: ListSuitesResult.h:60
Aws::DeviceFarm::Model::ListSuitesResult::WithSuites
ListSuitesResult & WithSuites(Aws::Vector< Suite > &&value)
Definition: ListSuitesResult.h:65
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::ListSuitesResult::WithNextToken
ListSuitesResult & WithNextToken(const char *value)
Definition: ListSuitesResult.h:125
Aws::DeviceFarm::Model::ListSuitesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListSuitesResult.h:104
AWSString.h
Aws::DeviceFarm::Model::ListSuitesResult
Definition: ListSuitesResult.h:35
Aws::DeviceFarm::Model::ListSuitesResult::ListSuitesResult
ListSuitesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DeviceFarm::Model::ListSuitesResult::WithNextToken
ListSuitesResult & WithNextToken(const Aws::String &value)
Definition: ListSuitesResult.h:111
Aws::DeviceFarm::Model::ListSuitesResult::ListSuitesResult
ListSuitesResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DeviceFarm::Model::ListSuitesResult::AddSuites
ListSuitesResult & AddSuites(const Suite &value)
Definition: ListSuitesResult.h:70
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::Suite
Definition: Suite.h:38
Aws::DeviceFarm::Model::ListSuitesResult::SetSuites
void SetSuites(const Aws::Vector< Suite > &value)
Definition: ListSuitesResult.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DeviceFarm::Model::ListSuitesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSuitesResult.h:97
Aws::DeviceFarm::Model::ListSuitesResult::SetSuites
void SetSuites(Aws::Vector< Suite > &&value)
Definition: ListSuitesResult.h:55
Suite.h
Aws::DeviceFarm::Model::ListSuitesResult::AddSuites
ListSuitesResult & AddSuites(Suite &&value)
Definition: ListSuitesResult.h:75
Aws::DeviceFarm::Model::ListSuitesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSuitesResult.h:90
Aws::DeviceFarm::Model::ListSuitesResult::operator=
ListSuitesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)