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