AWS SDK for C++

AWS SDK for C++ Version 1.11.804

Loading...
Searching...
No Matches
AIRecommendationJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/AIRecommendationJobStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKER_API AIRecommendationJobSummary() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetAIRecommendationJobName() const { return m_aIRecommendationJobName; }
42 inline bool AIRecommendationJobNameHasBeenSet() const { return m_aIRecommendationJobNameHasBeenSet; }
43 template <typename AIRecommendationJobNameT = Aws::String>
44 void SetAIRecommendationJobName(AIRecommendationJobNameT&& value) {
45 m_aIRecommendationJobNameHasBeenSet = true;
46 m_aIRecommendationJobName = std::forward<AIRecommendationJobNameT>(value);
47 }
48 template <typename AIRecommendationJobNameT = Aws::String>
49 AIRecommendationJobSummary& WithAIRecommendationJobName(AIRecommendationJobNameT&& value) {
50 SetAIRecommendationJobName(std::forward<AIRecommendationJobNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetAIRecommendationJobArn() const { return m_aIRecommendationJobArn; }
60 inline bool AIRecommendationJobArnHasBeenSet() const { return m_aIRecommendationJobArnHasBeenSet; }
61 template <typename AIRecommendationJobArnT = Aws::String>
62 void SetAIRecommendationJobArn(AIRecommendationJobArnT&& value) {
63 m_aIRecommendationJobArnHasBeenSet = true;
64 m_aIRecommendationJobArn = std::forward<AIRecommendationJobArnT>(value);
65 }
66 template <typename AIRecommendationJobArnT = Aws::String>
67 AIRecommendationJobSummary& WithAIRecommendationJobArn(AIRecommendationJobArnT&& value) {
68 SetAIRecommendationJobArn(std::forward<AIRecommendationJobArnT>(value));
69 return *this;
70 }
72
74
77 inline AIRecommendationJobStatus GetAIRecommendationJobStatus() const { return m_aIRecommendationJobStatus; }
78 inline bool AIRecommendationJobStatusHasBeenSet() const { return m_aIRecommendationJobStatusHasBeenSet; }
80 m_aIRecommendationJobStatusHasBeenSet = true;
81 m_aIRecommendationJobStatus = value;
82 }
85 return *this;
86 }
88
90
93 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
94 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
95 template <typename CreationTimeT = Aws::Utils::DateTime>
96 void SetCreationTime(CreationTimeT&& value) {
97 m_creationTimeHasBeenSet = true;
98 m_creationTime = std::forward<CreationTimeT>(value);
99 }
100 template <typename CreationTimeT = Aws::Utils::DateTime>
102 SetCreationTime(std::forward<CreationTimeT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
112 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
113 template <typename EndTimeT = Aws::Utils::DateTime>
114 void SetEndTime(EndTimeT&& value) {
115 m_endTimeHasBeenSet = true;
116 m_endTime = std::forward<EndTimeT>(value);
117 }
118 template <typename EndTimeT = Aws::Utils::DateTime>
120 SetEndTime(std::forward<EndTimeT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_aIRecommendationJobName;
126
127 Aws::String m_aIRecommendationJobArn;
128
130
131 Aws::Utils::DateTime m_creationTime{};
132
133 Aws::Utils::DateTime m_endTime{};
134 bool m_aIRecommendationJobNameHasBeenSet = false;
135 bool m_aIRecommendationJobArnHasBeenSet = false;
136 bool m_aIRecommendationJobStatusHasBeenSet = false;
137 bool m_creationTimeHasBeenSet = false;
138 bool m_endTimeHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace SageMaker
143} // namespace Aws
AIRecommendationJobSummary & WithCreationTime(CreationTimeT &&value)
AIRecommendationJobSummary & WithAIRecommendationJobArn(AIRecommendationJobArnT &&value)
AWS_SAGEMAKER_API AIRecommendationJobSummary(Aws::Utils::Json::JsonView jsonValue)
AIRecommendationJobSummary & WithEndTime(EndTimeT &&value)
AIRecommendationJobSummary & WithAIRecommendationJobStatus(AIRecommendationJobStatus value)
void SetAIRecommendationJobStatus(AIRecommendationJobStatus value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAIRecommendationJobName(AIRecommendationJobNameT &&value)
AWS_SAGEMAKER_API AIRecommendationJobSummary()=default
AIRecommendationJobSummary & WithAIRecommendationJobName(AIRecommendationJobNameT &&value)
void SetAIRecommendationJobArn(AIRecommendationJobArnT &&value)
AWS_SAGEMAKER_API AIRecommendationJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue