AWS SDK for C++  1.9.160
AWS SDK for C++
GetSchemaCreationStatusResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace AppSync
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const SchemaStatus& GetStatus() const{ return m_status; }
41 
46  inline void SetStatus(const SchemaStatus& value) { m_status = value; }
47 
52  inline void SetStatus(SchemaStatus&& value) { m_status = std::move(value); }
53 
58  inline GetSchemaCreationStatusResult& WithStatus(const SchemaStatus& value) { SetStatus(value); return *this;}
59 
64  inline GetSchemaCreationStatusResult& WithStatus(SchemaStatus&& value) { SetStatus(std::move(value)); return *this;}
65 
66 
70  inline const Aws::String& GetDetails() const{ return m_details; }
71 
75  inline void SetDetails(const Aws::String& value) { m_details = value; }
76 
80  inline void SetDetails(Aws::String&& value) { m_details = std::move(value); }
81 
85  inline void SetDetails(const char* value) { m_details.assign(value); }
86 
90  inline GetSchemaCreationStatusResult& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
91 
95  inline GetSchemaCreationStatusResult& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
96 
100  inline GetSchemaCreationStatusResult& WithDetails(const char* value) { SetDetails(value); return *this;}
101 
102  private:
103 
104  SchemaStatus m_status;
105 
106  Aws::String m_details;
107  };
108 
109 } // namespace Model
110 } // namespace AppSync
111 } // namespace Aws
Aws::AppSync::Model::GetSchemaCreationStatusResult::SetStatus
void SetStatus(const SchemaStatus &value)
Definition: GetSchemaCreationStatusResult.h:46
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::AppSync::Model::GetSchemaCreationStatusResult::operator=
GetSchemaCreationStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::SchemaStatus
SchemaStatus
Definition: SchemaStatus.h:17
Aws::AppSync::Model::GetSchemaCreationStatusResult::WithDetails
GetSchemaCreationStatusResult & WithDetails(Aws::String &&value)
Definition: GetSchemaCreationStatusResult.h:95
Aws::AppSync::Model::GetSchemaCreationStatusResult::GetStatus
const SchemaStatus & GetStatus() const
Definition: GetSchemaCreationStatusResult.h:40
AppSync_EXPORTS.h
Aws::AppSync::Model::GetSchemaCreationStatusResult::GetSchemaCreationStatusResult
GetSchemaCreationStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AppSync::Model::GetSchemaCreationStatusResult::SetStatus
void SetStatus(SchemaStatus &&value)
Definition: GetSchemaCreationStatusResult.h:52
Aws::AppSync::Model::GetSchemaCreationStatusResult::GetDetails
const Aws::String & GetDetails() const
Definition: GetSchemaCreationStatusResult.h:70
Aws::AppSync::Model::GetSchemaCreationStatusResult::WithStatus
GetSchemaCreationStatusResult & WithStatus(SchemaStatus &&value)
Definition: GetSchemaCreationStatusResult.h:64
AWSString.h
Aws::AppSync::Model::GetSchemaCreationStatusResult
Definition: GetSchemaCreationStatusResult.h:29
Aws::AppSync::Model::GetSchemaCreationStatusResult::WithDetails
GetSchemaCreationStatusResult & WithDetails(const char *value)
Definition: GetSchemaCreationStatusResult.h:100
Aws::AppSync::Model::GetSchemaCreationStatusResult::SetDetails
void SetDetails(Aws::String &&value)
Definition: GetSchemaCreationStatusResult.h:80
Aws::AppSync::Model::GetSchemaCreationStatusResult::WithDetails
GetSchemaCreationStatusResult & WithDetails(const Aws::String &value)
Definition: GetSchemaCreationStatusResult.h:90
Aws::AppSync::Model::GetSchemaCreationStatusResult::SetDetails
void SetDetails(const Aws::String &value)
Definition: GetSchemaCreationStatusResult.h:75
Aws::AppSync::Model::GetSchemaCreationStatusResult::GetSchemaCreationStatusResult
GetSchemaCreationStatusResult()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::AppSync::Model::GetSchemaCreationStatusResult::WithStatus
GetSchemaCreationStatusResult & WithStatus(const SchemaStatus &value)
Definition: GetSchemaCreationStatusResult.h:58
AWS_APPSYNC_API
#define AWS_APPSYNC_API
Definition: AppSync_EXPORTS.h:28
SchemaStatus.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::AppSync::Model::GetSchemaCreationStatusResult::SetDetails
void SetDetails(const char *value)
Definition: GetSchemaCreationStatusResult.h:85