AWS SDK for C++  1.9.157
AWS SDK for C++
StartSchemaCreationResult.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 
39  inline const SchemaStatus& GetStatus() const{ return m_status; }
40 
45  inline void SetStatus(const SchemaStatus& value) { m_status = value; }
46 
51  inline void SetStatus(SchemaStatus&& value) { m_status = std::move(value); }
52 
57  inline StartSchemaCreationResult& WithStatus(const SchemaStatus& value) { SetStatus(value); return *this;}
58 
63  inline StartSchemaCreationResult& WithStatus(SchemaStatus&& value) { SetStatus(std::move(value)); return *this;}
64 
65  private:
66 
67  SchemaStatus m_status;
68  };
69 
70 } // namespace Model
71 } // namespace AppSync
72 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppSync::Model::SchemaStatus
SchemaStatus
Definition: SchemaStatus.h:17
Aws::AppSync::Model::StartSchemaCreationResult::operator=
StartSchemaCreationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::StartSchemaCreationResult::GetStatus
const SchemaStatus & GetStatus() const
Definition: StartSchemaCreationResult.h:39
Aws::AppSync::Model::StartSchemaCreationResult::StartSchemaCreationResult
StartSchemaCreationResult()
AppSync_EXPORTS.h
Aws::AppSync::Model::StartSchemaCreationResult::StartSchemaCreationResult
StartSchemaCreationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::StartSchemaCreationResult::SetStatus
void SetStatus(SchemaStatus &&value)
Definition: StartSchemaCreationResult.h:51
Aws::AppSync::Model::StartSchemaCreationResult
Definition: StartSchemaCreationResult.h:28
Aws::AppSync::Model::StartSchemaCreationResult::SetStatus
void SetStatus(const SchemaStatus &value)
Definition: StartSchemaCreationResult.h:45
Aws::AppSync::Model::StartSchemaCreationResult::WithStatus
StartSchemaCreationResult & WithStatus(const SchemaStatus &value)
Definition: StartSchemaCreationResult.h:57
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
SchemaStatus.h
Aws::AppSync::Model::StartSchemaCreationResult::WithStatus
StartSchemaCreationResult & WithStatus(SchemaStatus &&value)
Definition: StartSchemaCreationResult.h:63