AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HumanLoopSummary.h
1
6#pragma once
7#include <aws/sagemaker-a2i-runtime/AugmentedAIRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker-a2i-runtime/model/HumanLoopStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace AugmentedAIRuntime
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_AUGMENTEDAIRUNTIME_API HumanLoopSummary() = default;
37 AWS_AUGMENTEDAIRUNTIME_API HumanLoopSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_AUGMENTEDAIRUNTIME_API HumanLoopSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_AUGMENTEDAIRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetHumanLoopName() const { return m_humanLoopName; }
47 inline bool HumanLoopNameHasBeenSet() const { return m_humanLoopNameHasBeenSet; }
48 template<typename HumanLoopNameT = Aws::String>
49 void SetHumanLoopName(HumanLoopNameT&& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = std::forward<HumanLoopNameT>(value); }
50 template<typename HumanLoopNameT = Aws::String>
51 HumanLoopSummary& WithHumanLoopName(HumanLoopNameT&& value) { SetHumanLoopName(std::forward<HumanLoopNameT>(value)); return *this;}
53
55
58 inline HumanLoopStatus GetHumanLoopStatus() const { return m_humanLoopStatus; }
59 inline bool HumanLoopStatusHasBeenSet() const { return m_humanLoopStatusHasBeenSet; }
60 inline void SetHumanLoopStatus(HumanLoopStatus value) { m_humanLoopStatusHasBeenSet = true; m_humanLoopStatus = value; }
63
65
68 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
69 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
70 template<typename CreationTimeT = Aws::Utils::DateTime>
71 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
72 template<typename CreationTimeT = Aws::Utils::DateTime>
73 HumanLoopSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
75
77
81 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
82 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
83 template<typename FailureReasonT = Aws::String>
84 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
85 template<typename FailureReasonT = Aws::String>
86 HumanLoopSummary& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
88
90
94 inline const Aws::String& GetFlowDefinitionArn() const { return m_flowDefinitionArn; }
95 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
96 template<typename FlowDefinitionArnT = Aws::String>
97 void SetFlowDefinitionArn(FlowDefinitionArnT&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::forward<FlowDefinitionArnT>(value); }
98 template<typename FlowDefinitionArnT = Aws::String>
99 HumanLoopSummary& WithFlowDefinitionArn(FlowDefinitionArnT&& value) { SetFlowDefinitionArn(std::forward<FlowDefinitionArnT>(value)); return *this;}
101 private:
102
103 Aws::String m_humanLoopName;
104 bool m_humanLoopNameHasBeenSet = false;
105
106 HumanLoopStatus m_humanLoopStatus{HumanLoopStatus::NOT_SET};
107 bool m_humanLoopStatusHasBeenSet = false;
108
109 Aws::Utils::DateTime m_creationTime{};
110 bool m_creationTimeHasBeenSet = false;
111
112 Aws::String m_failureReason;
113 bool m_failureReasonHasBeenSet = false;
114
115 Aws::String m_flowDefinitionArn;
116 bool m_flowDefinitionArnHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace AugmentedAIRuntime
121} // namespace Aws
AWS_AUGMENTEDAIRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
HumanLoopSummary & WithHumanLoopName(HumanLoopNameT &&value)
HumanLoopSummary & WithCreationTime(CreationTimeT &&value)
HumanLoopSummary & WithFlowDefinitionArn(FlowDefinitionArnT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
HumanLoopSummary & WithFailureReason(FailureReasonT &&value)
void SetFlowDefinitionArn(FlowDefinitionArnT &&value)
HumanLoopSummary & WithHumanLoopStatus(HumanLoopStatus value)
AWS_AUGMENTEDAIRUNTIME_API HumanLoopSummary()=default
AWS_AUGMENTEDAIRUNTIME_API HumanLoopSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AUGMENTEDAIRUNTIME_API HumanLoopSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue