AWS SDK for C++

AWS SDK for C++ Version 1.11.925

Loading...
Searching...
No Matches
ExecuteTrainingOperationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemakertrainingsessionruntime/SageMakerTrainingSessionRuntime_EXPORTS.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 SageMakerTrainingSessionRuntime {
23namespace Model {
25 public:
26 AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API ExecuteTrainingOperationResult() = default;
27 AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API ExecuteTrainingOperationResult(
29 AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API ExecuteTrainingOperationResult& operator=(
31
33
38 inline const Aws::String& GetOperationId() const { return m_operationId; }
39 template <typename OperationIdT = Aws::String>
40 void SetOperationId(OperationIdT&& value) {
41 m_operationIdHasBeenSet = true;
42 m_operationId = std::forward<OperationIdT>(value);
43 }
44 template <typename OperationIdT = Aws::String>
46 SetOperationId(std::forward<OperationIdT>(value));
47 return *this;
48 }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template <typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) {
56 m_requestIdHasBeenSet = true;
57 m_requestId = std::forward<RequestIdT>(value);
58 }
59 template <typename RequestIdT = Aws::String>
61 SetRequestId(std::forward<RequestIdT>(value));
62 return *this;
63 }
65 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
66
67 private:
68 Aws::String m_operationId;
69
70 Aws::String m_requestId;
71 Aws::Http::HttpResponseCode m_HttpResponseCode;
72 bool m_operationIdHasBeenSet = false;
73 bool m_requestIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace SageMakerTrainingSessionRuntime
78} // namespace Aws
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API ExecuteTrainingOperationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API ExecuteTrainingOperationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKERTRAININGSESSIONRUNTIME_API ExecuteTrainingOperationResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue