AWS SDK for C++  1.9.153
AWS SDK for C++
UpdateGraphqlApiResult.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 UpdateGraphqlApiResult& WithGraphqlApi(const GraphqlApi& value) { SetGraphqlApi(value); return *this;}
54 
58  inline UpdateGraphqlApiResult& 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::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppSync::Model::UpdateGraphqlApiResult::GetGraphqlApi
const GraphqlApi & GetGraphqlApi() const
Definition: UpdateGraphqlApiResult.h:38
Aws::AppSync::Model::UpdateGraphqlApiResult::SetGraphqlApi
void SetGraphqlApi(const GraphqlApi &value)
Definition: UpdateGraphqlApiResult.h:43
Aws::AppSync::Model::UpdateGraphqlApiResult::SetGraphqlApi
void SetGraphqlApi(GraphqlApi &&value)
Definition: UpdateGraphqlApiResult.h:48
Aws::AppSync::Model::UpdateGraphqlApiResult::WithGraphqlApi
UpdateGraphqlApiResult & WithGraphqlApi(const GraphqlApi &value)
Definition: UpdateGraphqlApiResult.h:53
Aws::AppSync::Model::UpdateGraphqlApiResult::operator=
UpdateGraphqlApiResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GraphqlApi.h
AppSync_EXPORTS.h
Aws::AppSync::Model::GraphqlApi
Definition: GraphqlApi.h:40
Aws::AppSync::Model::UpdateGraphqlApiResult::UpdateGraphqlApiResult
UpdateGraphqlApiResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::UpdateGraphqlApiResult::UpdateGraphqlApiResult
UpdateGraphqlApiResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
Aws::AppSync::Model::UpdateGraphqlApiResult::WithGraphqlApi
UpdateGraphqlApiResult & WithGraphqlApi(GraphqlApi &&value)
Definition: UpdateGraphqlApiResult.h:58
Aws::AppSync::Model::UpdateGraphqlApiResult
Definition: UpdateGraphqlApiResult.h:28