AWS SDK for C++  1.9.40
AWS SDK for C++
UpdateResolverResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace AppSync
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
38  inline const Resolver& GetResolver() const{ return m_resolver; }
39 
43  inline void SetResolver(const Resolver& value) { m_resolver = value; }
44 
48  inline void SetResolver(Resolver&& value) { m_resolver = std::move(value); }
49 
53  inline UpdateResolverResult& WithResolver(const Resolver& value) { SetResolver(value); return *this;}
54 
58  inline UpdateResolverResult& WithResolver(Resolver&& value) { SetResolver(std::move(value)); return *this;}
59 
60  private:
61 
62  Resolver m_resolver;
63  };
64 
65 } // namespace Model
66 } // namespace AppSync
67 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppSync::Model::UpdateResolverResult::GetResolver
const Resolver & GetResolver() const
Definition: UpdateResolverResult.h:38
Aws::AppSync::Model::UpdateResolverResult::WithResolver
UpdateResolverResult & WithResolver(Resolver &&value)
Definition: UpdateResolverResult.h:58
Resolver.h
Aws::AppSync::Model::UpdateResolverResult::UpdateResolverResult
UpdateResolverResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::UpdateResolverResult::SetResolver
void SetResolver(Resolver &&value)
Definition: UpdateResolverResult.h:48
AppSync_EXPORTS.h
Aws::AppSync::Model::UpdateResolverResult::UpdateResolverResult
UpdateResolverResult()
Aws::AppSync::Model::UpdateResolverResult::operator=
UpdateResolverResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::UpdateResolverResult
Definition: UpdateResolverResult.h:28
Aws::AppSync::Model::UpdateResolverResult::WithResolver
UpdateResolverResult & WithResolver(const Resolver &value)
Definition: UpdateResolverResult.h:53
Aws::AppSync::Model::UpdateResolverResult::SetResolver
void SetResolver(const Resolver &value)
Definition: UpdateResolverResult.h:43
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::Resolver
Definition: Resolver.h:36
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28