AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartSchemaCreationResult.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:
31 AWS_APPSYNC_API StartSchemaCreationResult() = default;
34
35
37
41 inline SchemaStatus GetStatus() const { return m_status; }
42 inline void SetStatus(SchemaStatus value) { m_statusHasBeenSet = true; m_status = value; }
43 inline StartSchemaCreationResult& WithStatus(SchemaStatus value) { SetStatus(value); return *this;}
45
47
48 inline const Aws::String& GetRequestId() const { return m_requestId; }
49 template<typename RequestIdT = Aws::String>
50 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
51 template<typename RequestIdT = Aws::String>
52 StartSchemaCreationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
54 private:
55
57 bool m_statusHasBeenSet = false;
58
59 Aws::String m_requestId;
60 bool m_requestIdHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace AppSync
65} // namespace Aws
StartSchemaCreationResult & WithRequestId(RequestIdT &&value)
AWS_APPSYNC_API StartSchemaCreationResult()=default
AWS_APPSYNC_API StartSchemaCreationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartSchemaCreationResult & WithStatus(SchemaStatus value)
AWS_APPSYNC_API StartSchemaCreationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue