AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StartLoaderJobResult.h
1
6#pragma once
7#include <aws/neptunedata/Neptunedata_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.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 neptunedata
25{
26namespace Model
27{
29 {
30 public:
31 AWS_NEPTUNEDATA_API StartLoaderJobResult() = default;
34
35
37
40 inline const Aws::String& GetStatus() const { return m_status; }
41 template<typename StatusT = Aws::String>
42 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
43 template<typename StatusT = Aws::String>
44 StartLoaderJobResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
46
48
52 inline const Aws::Map<Aws::String, Aws::String>& GetPayload() const { return m_payload; }
53 template<typename PayloadT = Aws::Map<Aws::String, Aws::String>>
54 void SetPayload(PayloadT&& value) { m_payloadHasBeenSet = true; m_payload = std::forward<PayloadT>(value); }
55 template<typename PayloadT = Aws::Map<Aws::String, Aws::String>>
56 StartLoaderJobResult& WithPayload(PayloadT&& value) { SetPayload(std::forward<PayloadT>(value)); return *this;}
57 template<typename PayloadKeyT = Aws::String, typename PayloadValueT = Aws::String>
58 StartLoaderJobResult& AddPayload(PayloadKeyT&& key, PayloadValueT&& value) {
59 m_payloadHasBeenSet = true; m_payload.emplace(std::forward<PayloadKeyT>(key), std::forward<PayloadValueT>(value)); 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) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
68 template<typename RequestIdT = Aws::String>
69 StartLoaderJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
71 private:
72
73 Aws::String m_status;
74 bool m_statusHasBeenSet = false;
75
77 bool m_payloadHasBeenSet = false;
78
79 Aws::String m_requestId;
80 bool m_requestIdHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace neptunedata
85} // namespace Aws
StartLoaderJobResult & AddPayload(PayloadKeyT &&key, PayloadValueT &&value)
AWS_NEPTUNEDATA_API StartLoaderJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartLoaderJobResult & WithRequestId(RequestIdT &&value)
AWS_NEPTUNEDATA_API StartLoaderJobResult()=default
const Aws::Map< Aws::String, Aws::String > & GetPayload() const
AWS_NEPTUNEDATA_API StartLoaderJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartLoaderJobResult & WithPayload(PayloadT &&value)
StartLoaderJobResult & WithStatus(StatusT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue