AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FlowDefinitionSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/FlowDefinitionStatus.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 SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API FlowDefinitionSummary();
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetFlowDefinitionName() const{ return m_flowDefinitionName; }
48 inline bool FlowDefinitionNameHasBeenSet() const { return m_flowDefinitionNameHasBeenSet; }
49 inline void SetFlowDefinitionName(const Aws::String& value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName = value; }
50 inline void SetFlowDefinitionName(Aws::String&& value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName = std::move(value); }
51 inline void SetFlowDefinitionName(const char* value) { m_flowDefinitionNameHasBeenSet = true; m_flowDefinitionName.assign(value); }
53 inline FlowDefinitionSummary& WithFlowDefinitionName(Aws::String&& value) { SetFlowDefinitionName(std::move(value)); return *this;}
54 inline FlowDefinitionSummary& WithFlowDefinitionName(const char* value) { SetFlowDefinitionName(value); return *this;}
56
58
61 inline const Aws::String& GetFlowDefinitionArn() const{ return m_flowDefinitionArn; }
62 inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; }
63 inline void SetFlowDefinitionArn(const Aws::String& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = value; }
64 inline void SetFlowDefinitionArn(Aws::String&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::move(value); }
65 inline void SetFlowDefinitionArn(const char* value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn.assign(value); }
66 inline FlowDefinitionSummary& WithFlowDefinitionArn(const Aws::String& value) { SetFlowDefinitionArn(value); return *this;}
67 inline FlowDefinitionSummary& WithFlowDefinitionArn(Aws::String&& value) { SetFlowDefinitionArn(std::move(value)); return *this;}
68 inline FlowDefinitionSummary& WithFlowDefinitionArn(const char* value) { SetFlowDefinitionArn(value); return *this;}
70
72
75 inline const FlowDefinitionStatus& GetFlowDefinitionStatus() const{ return m_flowDefinitionStatus; }
76 inline bool FlowDefinitionStatusHasBeenSet() const { return m_flowDefinitionStatusHasBeenSet; }
77 inline void SetFlowDefinitionStatus(const FlowDefinitionStatus& value) { m_flowDefinitionStatusHasBeenSet = true; m_flowDefinitionStatus = value; }
78 inline void SetFlowDefinitionStatus(FlowDefinitionStatus&& value) { m_flowDefinitionStatusHasBeenSet = true; m_flowDefinitionStatus = std::move(value); }
82
84
87 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
88 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
89 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
90 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
91 inline FlowDefinitionSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
92 inline FlowDefinitionSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;}
94
96
100 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
101 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
102 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
103 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
104 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
105 inline FlowDefinitionSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
106 inline FlowDefinitionSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
107 inline FlowDefinitionSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
109 private:
110
111 Aws::String m_flowDefinitionName;
112 bool m_flowDefinitionNameHasBeenSet = false;
113
114 Aws::String m_flowDefinitionArn;
115 bool m_flowDefinitionArnHasBeenSet = false;
116
117 FlowDefinitionStatus m_flowDefinitionStatus;
118 bool m_flowDefinitionStatusHasBeenSet = false;
119
120 Aws::Utils::DateTime m_creationTime;
121 bool m_creationTimeHasBeenSet = false;
122
123 Aws::String m_failureReason;
124 bool m_failureReasonHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace SageMaker
129} // namespace Aws
FlowDefinitionSummary & WithFlowDefinitionName(const char *value)
AWS_SAGEMAKER_API FlowDefinitionSummary(Aws::Utils::Json::JsonView jsonValue)
FlowDefinitionSummary & WithFlowDefinitionArn(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
FlowDefinitionSummary & WithFlowDefinitionStatus(FlowDefinitionStatus &&value)
void SetFlowDefinitionArn(const Aws::String &value)
void SetFlowDefinitionStatus(FlowDefinitionStatus &&value)
FlowDefinitionSummary & WithCreationTime(Aws::Utils::DateTime &&value)
FlowDefinitionSummary & WithFailureReason(Aws::String &&value)
void SetFlowDefinitionStatus(const FlowDefinitionStatus &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
FlowDefinitionSummary & WithFlowDefinitionName(Aws::String &&value)
FlowDefinitionSummary & WithCreationTime(const Aws::Utils::DateTime &value)
void SetFlowDefinitionName(const Aws::String &value)
const FlowDefinitionStatus & GetFlowDefinitionStatus() const
FlowDefinitionSummary & WithFlowDefinitionArn(const char *value)
void SetCreationTime(Aws::Utils::DateTime &&value)
FlowDefinitionSummary & WithFlowDefinitionName(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
FlowDefinitionSummary & WithFlowDefinitionArn(const Aws::String &value)
FlowDefinitionSummary & WithFlowDefinitionStatus(const FlowDefinitionStatus &value)
FlowDefinitionSummary & WithFailureReason(const char *value)
AWS_SAGEMAKER_API FlowDefinitionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
FlowDefinitionSummary & WithFailureReason(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue