AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHumanLoopName(const Aws::String& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = value; }
49 inline void SetHumanLoopName(Aws::String&& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = std::move(value); }
50 inline void SetHumanLoopName(const char* value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName.assign(value); }
51 inline HumanLoopSummary& WithHumanLoopName(const Aws::String& value) { SetHumanLoopName(value); return *this;}
52 inline HumanLoopSummary& WithHumanLoopName(Aws::String&& value) { SetHumanLoopName(std::move(value)); return *this;}
53 inline HumanLoopSummary& WithHumanLoopName(const char* value) { SetHumanLoopName(value); return *this;}
55
57
60 inline const HumanLoopStatus& GetHumanLoopStatus() const{ return m_humanLoopStatus; }
61 inline bool HumanLoopStatusHasBeenSet() const { return m_humanLoopStatusHasBeenSet; }
62 inline void SetHumanLoopStatus(const HumanLoopStatus& value) { m_humanLoopStatusHasBeenSet = true; m_humanLoopStatus = value; }
63 inline void SetHumanLoopStatus(HumanLoopStatus&& value) { m_humanLoopStatusHasBeenSet = true; m_humanLoopStatus = std::move(value); }
64 inline HumanLoopSummary& WithHumanLoopStatus(const HumanLoopStatus& value) { SetHumanLoopStatus(value); return *this;}
65 inline HumanLoopSummary& WithHumanLoopStatus(HumanLoopStatus&& value) { SetHumanLoopStatus(std::move(value)); return *this;}
67
69
72 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
73 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
74 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
75 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
76 inline HumanLoopSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
77 inline HumanLoopSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
79
81
85 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
86 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
87 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
88 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
89 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
90 inline HumanLoopSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
91 inline HumanLoopSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
92 inline HumanLoopSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
94
96
100 inline const Aws::String& GetFlowDefinitionArn() const{ return m_flowDefinitionArn; }
101 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
102 inline void SetFlowDefinitionArn(const Aws::String& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = value; }
103 inline void SetFlowDefinitionArn(Aws::String&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::move(value); }
104 inline void SetFlowDefinitionArn(const char* value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn.assign(value); }
105 inline HumanLoopSummary& WithFlowDefinitionArn(const Aws::String& value) { SetFlowDefinitionArn(value); return *this;}
106 inline HumanLoopSummary& WithFlowDefinitionArn(Aws::String&& value) { SetFlowDefinitionArn(std::move(value)); return *this;}
107 inline HumanLoopSummary& WithFlowDefinitionArn(const char* value) { SetFlowDefinitionArn(value); return *this;}
109 private:
110
111 Aws::String m_humanLoopName;
112 bool m_humanLoopNameHasBeenSet = false;
113
114 HumanLoopStatus m_humanLoopStatus;
115 bool m_humanLoopStatusHasBeenSet = false;
116
117 Aws::Utils::DateTime m_creationTime;
118 bool m_creationTimeHasBeenSet = false;
119
120 Aws::String m_failureReason;
121 bool m_failureReasonHasBeenSet = false;
122
123 Aws::String m_flowDefinitionArn;
124 bool m_flowDefinitionArnHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace AugmentedAIRuntime
129} // namespace Aws
HumanLoopSummary & WithHumanLoopStatus(HumanLoopStatus &&value)
HumanLoopSummary & WithFlowDefinitionArn(const char *value)
HumanLoopSummary & WithHumanLoopName(const char *value)
AWS_AUGMENTEDAIRUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
HumanLoopSummary & WithCreationTime(Aws::Utils::DateTime &&value)
void SetFlowDefinitionArn(const Aws::String &value)
HumanLoopSummary & WithFailureReason(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
HumanLoopSummary & WithFailureReason(const char *value)
HumanLoopSummary & WithFailureReason(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetFailureReason(const Aws::String &value)
HumanLoopSummary & WithHumanLoopStatus(const HumanLoopStatus &value)
HumanLoopSummary & WithFlowDefinitionArn(const Aws::String &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
HumanLoopSummary & WithCreationTime(const Aws::Utils::DateTime &value)
AWS_AUGMENTEDAIRUNTIME_API HumanLoopSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
HumanLoopSummary & WithFlowDefinitionArn(Aws::String &&value)
HumanLoopSummary & WithHumanLoopName(const Aws::String &value)
const HumanLoopStatus & GetHumanLoopStatus() const
AWS_AUGMENTEDAIRUNTIME_API HumanLoopSummary()
HumanLoopSummary & WithHumanLoopName(Aws::String &&value)
void SetHumanLoopStatus(const HumanLoopStatus &value)
AWS_AUGMENTEDAIRUNTIME_API HumanLoopSummary(Aws::Utils::Json::JsonView jsonValue)
void SetHumanLoopName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue