AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BatchSegmentJobSummary.h
1
6#pragma once
7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Personalize
23{
24namespace Model
25{
26
38 {
39 public:
40 AWS_PERSONALIZE_API BatchSegmentJobSummary() = default;
41 AWS_PERSONALIZE_API BatchSegmentJobSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetBatchSegmentJobArn() const { return m_batchSegmentJobArn; }
51 inline bool BatchSegmentJobArnHasBeenSet() const { return m_batchSegmentJobArnHasBeenSet; }
52 template<typename BatchSegmentJobArnT = Aws::String>
53 void SetBatchSegmentJobArn(BatchSegmentJobArnT&& value) { m_batchSegmentJobArnHasBeenSet = true; m_batchSegmentJobArn = std::forward<BatchSegmentJobArnT>(value); }
54 template<typename BatchSegmentJobArnT = Aws::String>
55 BatchSegmentJobSummary& WithBatchSegmentJobArn(BatchSegmentJobArnT&& value) { SetBatchSegmentJobArn(std::forward<BatchSegmentJobArnT>(value)); return *this;}
57
59
62 inline const Aws::String& GetJobName() const { return m_jobName; }
63 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
64 template<typename JobNameT = Aws::String>
65 void SetJobName(JobNameT&& value) { m_jobNameHasBeenSet = true; m_jobName = std::forward<JobNameT>(value); }
66 template<typename JobNameT = Aws::String>
67 BatchSegmentJobSummary& WithJobName(JobNameT&& value) { SetJobName(std::forward<JobNameT>(value)); return *this;}
69
71
76 inline const Aws::String& GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 template<typename StatusT = Aws::String>
79 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
80 template<typename StatusT = Aws::String>
81 BatchSegmentJobSummary& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreationDateTime() const { return m_creationDateTime; }
89 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
90 template<typename CreationDateTimeT = Aws::Utils::DateTime>
91 void SetCreationDateTime(CreationDateTimeT&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::forward<CreationDateTimeT>(value); }
92 template<typename CreationDateTimeT = Aws::Utils::DateTime>
93 BatchSegmentJobSummary& WithCreationDateTime(CreationDateTimeT&& value) { SetCreationDateTime(std::forward<CreationDateTimeT>(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const { return m_lastUpdatedDateTime; }
101 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
102 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
103 void SetLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::forward<LastUpdatedDateTimeT>(value); }
104 template<typename LastUpdatedDateTimeT = Aws::Utils::DateTime>
105 BatchSegmentJobSummary& WithLastUpdatedDateTime(LastUpdatedDateTimeT&& value) { SetLastUpdatedDateTime(std::forward<LastUpdatedDateTimeT>(value)); return *this;}
107
109
112 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
113 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
114 template<typename FailureReasonT = Aws::String>
115 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
116 template<typename FailureReasonT = Aws::String>
117 BatchSegmentJobSummary& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
119
121
125 inline const Aws::String& GetSolutionVersionArn() const { return m_solutionVersionArn; }
126 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
127 template<typename SolutionVersionArnT = Aws::String>
128 void SetSolutionVersionArn(SolutionVersionArnT&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::forward<SolutionVersionArnT>(value); }
129 template<typename SolutionVersionArnT = Aws::String>
130 BatchSegmentJobSummary& WithSolutionVersionArn(SolutionVersionArnT&& value) { SetSolutionVersionArn(std::forward<SolutionVersionArnT>(value)); return *this;}
132 private:
133
134 Aws::String m_batchSegmentJobArn;
135 bool m_batchSegmentJobArnHasBeenSet = false;
136
137 Aws::String m_jobName;
138 bool m_jobNameHasBeenSet = false;
139
140 Aws::String m_status;
141 bool m_statusHasBeenSet = false;
142
143 Aws::Utils::DateTime m_creationDateTime{};
144 bool m_creationDateTimeHasBeenSet = false;
145
146 Aws::Utils::DateTime m_lastUpdatedDateTime{};
147 bool m_lastUpdatedDateTimeHasBeenSet = false;
148
149 Aws::String m_failureReason;
150 bool m_failureReasonHasBeenSet = false;
151
152 Aws::String m_solutionVersionArn;
153 bool m_solutionVersionArnHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace Personalize
158} // namespace Aws
AWS_PERSONALIZE_API BatchSegmentJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBatchSegmentJobArn(BatchSegmentJobArnT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchSegmentJobSummary & WithBatchSegmentJobArn(BatchSegmentJobArnT &&value)
const Aws::Utils::DateTime & GetCreationDateTime() const
BatchSegmentJobSummary & WithStatus(StatusT &&value)
AWS_PERSONALIZE_API BatchSegmentJobSummary()=default
void SetSolutionVersionArn(SolutionVersionArnT &&value)
BatchSegmentJobSummary & WithSolutionVersionArn(SolutionVersionArnT &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
AWS_PERSONALIZE_API BatchSegmentJobSummary(Aws::Utils::Json::JsonView jsonValue)
BatchSegmentJobSummary & WithFailureReason(FailureReasonT &&value)
BatchSegmentJobSummary & WithJobName(JobNameT &&value)
BatchSegmentJobSummary & WithLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
BatchSegmentJobSummary & WithCreationDateTime(CreationDateTimeT &&value)
void SetLastUpdatedDateTime(LastUpdatedDateTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue