AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FlywheelSummary.h
1
6#pragma once
7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/comprehend/model/FlywheelStatus.h>
10#include <aws/comprehend/model/ModelType.h>
11#include <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Comprehend
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_COMPREHEND_API FlywheelSummary() = default;
38 AWS_COMPREHEND_API FlywheelSummary(Aws::Utils::Json::JsonView jsonValue);
40 AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetFlywheelArn() const { return m_flywheelArn; }
48 inline bool FlywheelArnHasBeenSet() const { return m_flywheelArnHasBeenSet; }
49 template<typename FlywheelArnT = Aws::String>
50 void SetFlywheelArn(FlywheelArnT&& value) { m_flywheelArnHasBeenSet = true; m_flywheelArn = std::forward<FlywheelArnT>(value); }
51 template<typename FlywheelArnT = Aws::String>
52 FlywheelSummary& WithFlywheelArn(FlywheelArnT&& value) { SetFlywheelArn(std::forward<FlywheelArnT>(value)); return *this;}
54
56
59 inline const Aws::String& GetActiveModelArn() const { return m_activeModelArn; }
60 inline bool ActiveModelArnHasBeenSet() const { return m_activeModelArnHasBeenSet; }
61 template<typename ActiveModelArnT = Aws::String>
62 void SetActiveModelArn(ActiveModelArnT&& value) { m_activeModelArnHasBeenSet = true; m_activeModelArn = std::forward<ActiveModelArnT>(value); }
63 template<typename ActiveModelArnT = Aws::String>
64 FlywheelSummary& WithActiveModelArn(ActiveModelArnT&& value) { SetActiveModelArn(std::forward<ActiveModelArnT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDataLakeS3Uri() const { return m_dataLakeS3Uri; }
72 inline bool DataLakeS3UriHasBeenSet() const { return m_dataLakeS3UriHasBeenSet; }
73 template<typename DataLakeS3UriT = Aws::String>
74 void SetDataLakeS3Uri(DataLakeS3UriT&& value) { m_dataLakeS3UriHasBeenSet = true; m_dataLakeS3Uri = std::forward<DataLakeS3UriT>(value); }
75 template<typename DataLakeS3UriT = Aws::String>
76 FlywheelSummary& WithDataLakeS3Uri(DataLakeS3UriT&& value) { SetDataLakeS3Uri(std::forward<DataLakeS3UriT>(value)); return *this;}
78
80
83 inline FlywheelStatus GetStatus() const { return m_status; }
84 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
85 inline void SetStatus(FlywheelStatus value) { m_statusHasBeenSet = true; m_status = value; }
86 inline FlywheelSummary& WithStatus(FlywheelStatus value) { SetStatus(value); return *this;}
88
90
93 inline ModelType GetModelType() const { return m_modelType; }
94 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
95 inline void SetModelType(ModelType value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
96 inline FlywheelSummary& WithModelType(ModelType value) { SetModelType(value); return *this;}
98
100
103 inline const Aws::String& GetMessage() const { return m_message; }
104 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
105 template<typename MessageT = Aws::String>
106 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
107 template<typename MessageT = Aws::String>
108 FlywheelSummary& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
110
112
115 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
116 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
117 template<typename CreationTimeT = Aws::Utils::DateTime>
118 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
119 template<typename CreationTimeT = Aws::Utils::DateTime>
120 FlywheelSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
122
124
127 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
128 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
129 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
130 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
131 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
132 FlywheelSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
134
136
139 inline const Aws::String& GetLatestFlywheelIteration() const { return m_latestFlywheelIteration; }
140 inline bool LatestFlywheelIterationHasBeenSet() const { return m_latestFlywheelIterationHasBeenSet; }
141 template<typename LatestFlywheelIterationT = Aws::String>
142 void SetLatestFlywheelIteration(LatestFlywheelIterationT&& value) { m_latestFlywheelIterationHasBeenSet = true; m_latestFlywheelIteration = std::forward<LatestFlywheelIterationT>(value); }
143 template<typename LatestFlywheelIterationT = Aws::String>
144 FlywheelSummary& WithLatestFlywheelIteration(LatestFlywheelIterationT&& value) { SetLatestFlywheelIteration(std::forward<LatestFlywheelIterationT>(value)); return *this;}
146 private:
147
148 Aws::String m_flywheelArn;
149 bool m_flywheelArnHasBeenSet = false;
150
151 Aws::String m_activeModelArn;
152 bool m_activeModelArnHasBeenSet = false;
153
154 Aws::String m_dataLakeS3Uri;
155 bool m_dataLakeS3UriHasBeenSet = false;
156
158 bool m_statusHasBeenSet = false;
159
160 ModelType m_modelType{ModelType::NOT_SET};
161 bool m_modelTypeHasBeenSet = false;
162
163 Aws::String m_message;
164 bool m_messageHasBeenSet = false;
165
166 Aws::Utils::DateTime m_creationTime{};
167 bool m_creationTimeHasBeenSet = false;
168
169 Aws::Utils::DateTime m_lastModifiedTime{};
170 bool m_lastModifiedTimeHasBeenSet = false;
171
172 Aws::String m_latestFlywheelIteration;
173 bool m_latestFlywheelIterationHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace Comprehend
178} // namespace Aws
const Aws::String & GetLatestFlywheelIteration() const
FlywheelSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetDataLakeS3Uri(DataLakeS3UriT &&value)
FlywheelSummary & WithActiveModelArn(ActiveModelArnT &&value)
void SetActiveModelArn(ActiveModelArnT &&value)
FlywheelSummary & WithLatestFlywheelIteration(LatestFlywheelIterationT &&value)
const Aws::String & GetDataLakeS3Uri() const
const Aws::Utils::DateTime & GetCreationTime() const
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetFlywheelArn() const
FlywheelSummary & WithDataLakeS3Uri(DataLakeS3UriT &&value)
void SetFlywheelArn(FlywheelArnT &&value)
FlywheelSummary & WithStatus(FlywheelStatus value)
const Aws::String & GetMessage() const
AWS_COMPREHEND_API FlywheelSummary()=default
FlywheelSummary & WithCreationTime(CreationTimeT &&value)
void SetLatestFlywheelIteration(LatestFlywheelIterationT &&value)
FlywheelSummary & WithFlywheelArn(FlywheelArnT &&value)
AWS_COMPREHEND_API FlywheelSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetStatus(FlywheelStatus value)
const Aws::String & GetActiveModelArn() const
FlywheelSummary & WithMessage(MessageT &&value)
void SetCreationTime(CreationTimeT &&value)
FlywheelSummary & WithModelType(ModelType value)
AWS_COMPREHEND_API FlywheelSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue