AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace AppSync {
23namespace Model {
25 public:
26 AWS_APPSYNC_API GetSchemaCreationStatusResult() = default;
29
31
35 inline SchemaStatus GetStatus() const { return m_status; }
36 inline void SetStatus(SchemaStatus value) {
37 m_statusHasBeenSet = true;
38 m_status = value;
39 }
41 SetStatus(value);
42 return *this;
43 }
45
47
50 inline const Aws::String& GetDetails() const { return m_details; }
51 template <typename DetailsT = Aws::String>
52 void SetDetails(DetailsT&& value) {
53 m_detailsHasBeenSet = true;
54 m_details = std::forward<DetailsT>(value);
55 }
56 template <typename DetailsT = Aws::String>
58 SetDetails(std::forward<DetailsT>(value));
59 return *this;
60 }
62
64
65 inline const Aws::String& GetRequestId() const { return m_requestId; }
66 template <typename RequestIdT = Aws::String>
67 void SetRequestId(RequestIdT&& value) {
68 m_requestIdHasBeenSet = true;
69 m_requestId = std::forward<RequestIdT>(value);
70 }
71 template <typename RequestIdT = Aws::String>
73 SetRequestId(std::forward<RequestIdT>(value));
74 return *this;
75 }
77 private:
79
80 Aws::String m_details;
81
82 Aws::String m_requestId;
83 bool m_statusHasBeenSet = false;
84 bool m_detailsHasBeenSet = false;
85 bool m_requestIdHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace AppSync
90} // 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