AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSchemaCreationStatusResult.h
1
6#pragma once
7#include <aws/appsync/AppSync_EXPORTS.h>
8#include <aws/appsync/model/SchemaStatus.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AppSync
25{
26namespace Model
27{
29 {
30 public:
34
35
37
41 inline const SchemaStatus& GetStatus() const{ return m_status; }
42 inline void SetStatus(const SchemaStatus& value) { m_status = value; }
43 inline void SetStatus(SchemaStatus&& value) { m_status = std::move(value); }
44 inline GetSchemaCreationStatusResult& WithStatus(const SchemaStatus& value) { SetStatus(value); return *this;}
45 inline GetSchemaCreationStatusResult& WithStatus(SchemaStatus&& value) { SetStatus(std::move(value)); return *this;}
47
49
52 inline const Aws::String& GetDetails() const{ return m_details; }
53 inline void SetDetails(const Aws::String& value) { m_details = value; }
54 inline void SetDetails(Aws::String&& value) { m_details = std::move(value); }
55 inline void SetDetails(const char* value) { m_details.assign(value); }
56 inline GetSchemaCreationStatusResult& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
57 inline GetSchemaCreationStatusResult& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
58 inline GetSchemaCreationStatusResult& WithDetails(const char* value) { SetDetails(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline GetSchemaCreationStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline GetSchemaCreationStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline GetSchemaCreationStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 SchemaStatus m_status;
74
75 Aws::String m_details;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace AppSync
82} // namespace Aws
GetSchemaCreationStatusResult & WithDetails(const char *value)
GetSchemaCreationStatusResult & WithRequestId(Aws::String &&value)
GetSchemaCreationStatusResult & WithDetails(const Aws::String &value)
GetSchemaCreationStatusResult & WithDetails(Aws::String &&value)
AWS_APPSYNC_API GetSchemaCreationStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaCreationStatusResult & WithRequestId(const char *value)
AWS_APPSYNC_API GetSchemaCreationStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaCreationStatusResult & WithRequestId(const Aws::String &value)
GetSchemaCreationStatusResult & WithStatus(SchemaStatus &&value)
GetSchemaCreationStatusResult & WithStatus(const SchemaStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue