AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SolutionVersionSummary.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/personalize/model/TrainingMode.h>
10#include <aws/personalize/model/TrainingType.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 Personalize
25{
26namespace Model
27{
28
38 {
39 public:
40 AWS_PERSONALIZE_API SolutionVersionSummary() = default;
41 AWS_PERSONALIZE_API SolutionVersionSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetSolutionVersionArn() const { return m_solutionVersionArn; }
51 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
52 template<typename SolutionVersionArnT = Aws::String>
53 void SetSolutionVersionArn(SolutionVersionArnT&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::forward<SolutionVersionArnT>(value); }
54 template<typename SolutionVersionArnT = Aws::String>
55 SolutionVersionSummary& WithSolutionVersionArn(SolutionVersionArnT&& value) { SetSolutionVersionArn(std::forward<SolutionVersionArnT>(value)); return *this;}
57
59
64 inline const Aws::String& GetStatus() const { return m_status; }
65 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
66 template<typename StatusT = Aws::String>
67 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
68 template<typename StatusT = Aws::String>
69 SolutionVersionSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
71
73
80 inline TrainingMode GetTrainingMode() const { return m_trainingMode; }
81 inline bool TrainingModeHasBeenSet() const { return m_trainingModeHasBeenSet; }
82 inline void SetTrainingMode(TrainingMode value) { m_trainingModeHasBeenSet = true; m_trainingMode = value; }
85
87
90 inline TrainingType GetTrainingType() const { return m_trainingType; }
91 inline bool TrainingTypeHasBeenSet() const { return m_trainingTypeHasBeenSet; }
92 inline void SetTrainingType(TrainingType value) { m_trainingTypeHasBeenSet = true; m_trainingType = value; }
95
97
101 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
102 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
103 template<typename CreationDateTimeT = Aws::Utils::DateTime>
104 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
105 template<typename CreationDateTimeT = Aws::Utils::DateTime>
106 SolutionVersionSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
108
110
114 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
115 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
116 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
117 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
118 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
119 SolutionVersionSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
121
123
126 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
127 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
128 template<typename FailureReasonT = Aws::String>
129 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
130 template<typename FailureReasonT = Aws::String>
131 SolutionVersionSummary& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
133 private:
134
135 Aws::String m_solutionVersionArn;
136 bool m_solutionVersionArnHasBeenSet = false;
137
138 Aws::String m_status;
139 bool m_statusHasBeenSet = false;
140
141 TrainingMode m_trainingMode{TrainingMode::NOT_SET};
142 bool m_trainingModeHasBeenSet = false;
143
144 TrainingType m_trainingType{TrainingType::NOT_SET};
145 bool m_trainingTypeHasBeenSet = false;
146
147 Aws::Utils::DateTime m_creationDateTime{};
148 bool m_creationDateTimeHasBeenSet = false;
149
150 Aws::Utils::DateTime m_lastUpdatedDateTime{};
151 bool m_lastUpdatedDateTimeHasBeenSet = false;
152
153 Aws::String m_failureReason;
154 bool m_failureReasonHasBeenSet = false;
155 };
156
157} // namespace Model
158} // namespace Personalize
159} // namespace Aws
AWS_PERSONALIZE_API SolutionVersionSummary(Aws::Utils::Json::JsonView jsonValue)
SolutionVersionSummary & WithTrainingType(TrainingType value)
AWS_PERSONALIZE_API SolutionVersionSummary()=default
SolutionVersionSummary & WithCreationDateTime(CreationDateTimeT &&value)
SolutionVersionSummary & WithFailureReason(FailureReasonT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
void SetSolutionVersionArn(SolutionVersionArnT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_PERSONALIZE_API SolutionVersionSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SolutionVersionSummary & WithTrainingMode(TrainingMode value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
SolutionVersionSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
SolutionVersionSummary & WithSolutionVersionArn(SolutionVersionArnT &&value)
SolutionVersionSummary & WithStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue