AWS SDK for C++  1.9.157
AWS SDK for C++
GetGraphqlApiResult.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 GraphqlApi& GetGraphqlApi() const{ return m_graphqlApi; }
39 
43  inline void SetGraphqlApi(const GraphqlApi& value) { m_graphqlApi = value; }
44 
48  inline void SetGraphqlApi(GraphqlApi&& value) { m_graphqlApi = std::move(value); }
49 
53  inline GetGraphqlApiResult& WithGraphqlApi(const GraphqlApi& value) { SetGraphqlApi(value); return *this;}
54 
58  inline GetGraphqlApiResult& WithGraphqlApi(GraphqlApi&& value) { SetGraphqlApi(std::move(value)); return *this;}
59 
60  private:
61 
62  GraphqlApi m_graphqlApi;
63  };
64 
65 } // namespace Model
66 } // namespace AppSync
67 } // namespace Aws
Aws::AppSync::Model::GetGraphqlApiResult::WithGraphqlApi
GetGraphqlApiResult & WithGraphqlApi(GraphqlApi &&value)
Definition: GetGraphqlApiResult.h:58
Aws::AppSync::Model::GetGraphqlApiResult::operator=
GetGraphqlApiResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppSync::Model::GetGraphqlApiResult::GetGraphqlApiResult
GetGraphqlApiResult()
GraphqlApi.h
Aws::AppSync::Model::GetGraphqlApiResult::WithGraphqlApi
GetGraphqlApiResult & WithGraphqlApi(const GraphqlApi &value)
Definition: GetGraphqlApiResult.h:53
AppSync_EXPORTS.h
Aws::AppSync::Model::GetGraphqlApiResult::SetGraphqlApi
void SetGraphqlApi(GraphqlApi &&value)
Definition: GetGraphqlApiResult.h:48
Aws::AppSync::Model::GetGraphqlApiResult::GetGraphqlApi
const GraphqlApi & GetGraphqlApi() const
Definition: GetGraphqlApiResult.h:38
Aws::AppSync::Model::GraphqlApi
Definition: GraphqlApi.h:40
Aws::AppSync::Model::GetGraphqlApiResult::GetGraphqlApiResult
GetGraphqlApiResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::GetGraphqlApiResult
Definition: GetGraphqlApiResult.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::GetGraphqlApiResult::SetGraphqlApi
void SetGraphqlApi(const GraphqlApi &value)
Definition: GetGraphqlApiResult.h:43
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28