AWS SDK for C++

AWS SDK for C++ Version 1.11.788

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/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace AppSync {
24namespace Model {
26 public:
27 AWS_APPSYNC_API GetSchemaCreationStatusResult() = default;
30
32
36 inline SchemaStatus GetStatus() const { return m_status; }
37 inline void SetStatus(SchemaStatus value) {
38 m_statusHasBeenSet = true;
39 m_status = value;
40 }
42 SetStatus(value);
43 return *this;
44 }
46
48
51 inline const Aws::String& GetDetails() const { return m_details; }
52 template <typename DetailsT = Aws::String>
53 void SetDetails(DetailsT&& value) {
54 m_detailsHasBeenSet = true;
55 m_details = std::forward<DetailsT>(value);
56 }
57 template <typename DetailsT = Aws::String>
59 SetDetails(std::forward<DetailsT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
79
80 private:
82
83 Aws::String m_details;
84
85 Aws::String m_requestId;
86 Aws::Http::HttpResponseCode m_HttpResponseCode;
87 bool m_statusHasBeenSet = false;
88 bool m_detailsHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace AppSync
94} // namespace Aws
GetSchemaCreationStatusResult & WithStatus(SchemaStatus value)
AWS_APPSYNC_API GetSchemaCreationStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaCreationStatusResult & WithRequestId(RequestIdT &&value)
AWS_APPSYNC_API GetSchemaCreationStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPSYNC_API GetSchemaCreationStatusResult()=default
GetSchemaCreationStatusResult & WithDetails(DetailsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue