AWS SDK for C++  1.9.104
AWS SDK for C++
ListAliasesResult.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<Alias>& GetAliases() const{ return m_aliases; }
47 
51  inline void SetAliases(const Aws::Vector<Alias>& value) { m_aliases = value; }
52 
56  inline void SetAliases(Aws::Vector<Alias>&& value) { m_aliases = std::move(value); }
57 
61  inline ListAliasesResult& WithAliases(const Aws::Vector<Alias>& value) { SetAliases(value); return *this;}
62 
66  inline ListAliasesResult& WithAliases(Aws::Vector<Alias>&& value) { SetAliases(std::move(value)); return *this;}
67 
71  inline ListAliasesResult& AddAliases(const Alias& value) { m_aliases.push_back(value); return *this; }
72 
76  inline ListAliasesResult& AddAliases(Alias&& value) { m_aliases.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 ListAliasesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
113 
119  inline ListAliasesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
120 
126  inline ListAliasesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
127 
128  private:
129 
130  Aws::Vector<Alias> m_aliases;
131 
132  Aws::String m_nextToken;
133  };
134 
135 } // namespace Model
136 } // namespace GameLift
137 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::ListAliasesResult::SetAliases
void SetAliases(const Aws::Vector< Alias > &value)
Definition: ListAliasesResult.h:51
Aws::GameLift::Model::ListAliasesResult::WithNextToken
ListAliasesResult & WithNextToken(const char *value)
Definition: ListAliasesResult.h:126
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GameLift::Model::ListAliasesResult::AddAliases
ListAliasesResult & AddAliases(const Alias &value)
Definition: ListAliasesResult.h:71
Aws::GameLift::Model::ListAliasesResult::GetAliases
const Aws::Vector< Alias > & GetAliases() const
Definition: ListAliasesResult.h:46
Aws::GameLift::Model::ListAliasesResult::ListAliasesResult
ListAliasesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GameLift_EXPORTS.h
Aws::GameLift::Model::ListAliasesResult::WithNextToken
ListAliasesResult & WithNextToken(const Aws::String &value)
Definition: ListAliasesResult.h:112
Aws::GameLift::Model::ListAliasesResult
Definition: ListAliasesResult.h:36
Aws::GameLift::Model::ListAliasesResult::AddAliases
ListAliasesResult & AddAliases(Alias &&value)
Definition: ListAliasesResult.h:76
Aws::GameLift::Model::ListAliasesResult::operator=
ListAliasesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::GameLift::Model::ListAliasesResult::WithAliases
ListAliasesResult & WithAliases(Aws::Vector< Alias > &&value)
Definition: ListAliasesResult.h:66
Aws::GameLift::Model::ListAliasesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAliasesResult.h:98
Aws::GameLift::Model::ListAliasesResult::SetAliases
void SetAliases(Aws::Vector< Alias > &&value)
Definition: ListAliasesResult.h:56
Aws::GameLift::Model::ListAliasesResult::WithAliases
ListAliasesResult & WithAliases(const Aws::Vector< Alias > &value)
Definition: ListAliasesResult.h:61
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::ListAliasesResult::WithNextToken
ListAliasesResult & WithNextToken(Aws::String &&value)
Definition: ListAliasesResult.h:119
Aws::GameLift::Model::ListAliasesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAliasesResult.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::ListAliasesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAliasesResult.h:105
Alias.h
Aws::GameLift::Model::Alias
Definition: Alias.h:38
Aws::GameLift::Model::ListAliasesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAliasesResult.h:91
Aws::GameLift::Model::ListAliasesResult::ListAliasesResult
ListAliasesResult()