AWS SDK for C++  1.9.153
AWS SDK for C++
ListResolversByFunctionResult.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 AppSync
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Resolver>& GetResolvers() const{ return m_resolvers; }
41 
45  inline void SetResolvers(const Aws::Vector<Resolver>& value) { m_resolvers = value; }
46 
50  inline void SetResolvers(Aws::Vector<Resolver>&& value) { m_resolvers = std::move(value); }
51 
55  inline ListResolversByFunctionResult& WithResolvers(const Aws::Vector<Resolver>& value) { SetResolvers(value); return *this;}
56 
60  inline ListResolversByFunctionResult& WithResolvers(Aws::Vector<Resolver>&& value) { SetResolvers(std::move(value)); return *this;}
61 
65  inline ListResolversByFunctionResult& AddResolvers(const Resolver& value) { m_resolvers.push_back(value); return *this; }
66 
70  inline ListResolversByFunctionResult& AddResolvers(Resolver&& value) { m_resolvers.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListResolversByFunctionResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListResolversByFunctionResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListResolversByFunctionResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<Resolver> m_resolvers;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace AppSync
124 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppSync::Model::ListResolversByFunctionResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListResolversByFunctionResult.h:89
Aws::AppSync::Model::ListResolversByFunctionResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListResolversByFunctionResult.h:95
Aws::AppSync::Model::ListResolversByFunctionResult::WithNextToken
ListResolversByFunctionResult & WithNextToken(const Aws::String &value)
Definition: ListResolversByFunctionResult.h:101
Aws::AppSync::Model::ListResolversByFunctionResult::SetResolvers
void SetResolvers(Aws::Vector< Resolver > &&value)
Definition: ListResolversByFunctionResult.h:50
Resolver.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AppSync_EXPORTS.h
Aws::AppSync::Model::ListResolversByFunctionResult::AddResolvers
ListResolversByFunctionResult & AddResolvers(const Resolver &value)
Definition: ListResolversByFunctionResult.h:65
AWSVector.h
Aws::AppSync::Model::ListResolversByFunctionResult::ListResolversByFunctionResult
ListResolversByFunctionResult()
Aws::AppSync::Model::ListResolversByFunctionResult::SetResolvers
void SetResolvers(const Aws::Vector< Resolver > &value)
Definition: ListResolversByFunctionResult.h:45
Aws::AppSync::Model::ListResolversByFunctionResult::WithNextToken
ListResolversByFunctionResult & WithNextToken(const char *value)
Definition: ListResolversByFunctionResult.h:113
Aws::AppSync::Model::ListResolversByFunctionResult::operator=
ListResolversByFunctionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::ListResolversByFunctionResult::ListResolversByFunctionResult
ListResolversByFunctionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::AppSync::Model::ListResolversByFunctionResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListResolversByFunctionResult.h:83
Aws::AppSync::Model::ListResolversByFunctionResult::AddResolvers
ListResolversByFunctionResult & AddResolvers(Resolver &&value)
Definition: ListResolversByFunctionResult.h:70
Aws::AppSync::Model::ListResolversByFunctionResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListResolversByFunctionResult.h:77
Aws::AppSync::Model::ListResolversByFunctionResult::WithResolvers
ListResolversByFunctionResult & WithResolvers(const Aws::Vector< Resolver > &value)
Definition: ListResolversByFunctionResult.h:55
Aws::AppSync::Model::ListResolversByFunctionResult::GetResolvers
const Aws::Vector< Resolver > & GetResolvers() const
Definition: ListResolversByFunctionResult.h:40
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::ListResolversByFunctionResult::WithResolvers
ListResolversByFunctionResult & WithResolvers(Aws::Vector< Resolver > &&value)
Definition: ListResolversByFunctionResult.h:60
Aws::AppSync::Model::Resolver
Definition: Resolver.h:36
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::ListResolversByFunctionResult
Definition: ListResolversByFunctionResult.h:30
Aws::AppSync::Model::ListResolversByFunctionResult::WithNextToken
ListResolversByFunctionResult & WithNextToken(Aws::String &&value)
Definition: ListResolversByFunctionResult.h:107