AWS SDK for C++  1.8.56
AWS SDK for C++
ListBuildsResult.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 GameLift
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<Build>& GetBuilds() const{ return m_builds; }
47 
51  inline void SetBuilds(const Aws::Vector<Build>& value) { m_builds = value; }
52 
56  inline void SetBuilds(Aws::Vector<Build>&& value) { m_builds = std::move(value); }
57 
61  inline ListBuildsResult& WithBuilds(const Aws::Vector<Build>& value) { SetBuilds(value); return *this;}
62 
66  inline ListBuildsResult& WithBuilds(Aws::Vector<Build>&& value) { SetBuilds(std::move(value)); return *this;}
67 
71  inline ListBuildsResult& AddBuilds(const Build& value) { m_builds.push_back(value); return *this; }
72 
76  inline ListBuildsResult& AddBuilds(Build&& value) { m_builds.push_back(std::move(value)); return *this; }
77 
78 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
91  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
92 
98  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
99 
105  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
106 
112  inline ListBuildsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 
119  inline ListBuildsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
126  inline ListBuildsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
127 
128  private:
129 
130  Aws::Vector<Build> m_builds;
131 
132  Aws::String m_nextToken;
133  };
134 
135 } // namespace Model
136 } // namespace GameLift
137 } // namespace Aws
void SetNextToken(const Aws::String &value)
ListBuildsResult & WithNextToken(Aws::String &&value)
ListBuildsResult & WithBuilds(Aws::Vector< Build > &&value)
#define AWS_GAMELIFT_API
void SetBuilds(const Aws::Vector< Build > &value)
ListBuildsResult & AddBuilds(const Build &value)
void SetBuilds(Aws::Vector< Build > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
void SetNextToken(Aws::String &&value)
ListBuildsResult & WithNextToken(const char *value)
const Aws::String & GetNextToken() const
ListBuildsResult & WithBuilds(const Aws::Vector< Build > &value)
const Aws::Vector< Build > & GetBuilds() const
ListBuildsResult & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
ListBuildsResult & AddBuilds(Build &&value)