AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBatchSegmentJobArn(const Aws::String& value) { m_batchSegmentJobArnHasBeenSet = true; m_batchSegmentJobArn = value; }
53 inline void SetBatchSegmentJobArn(Aws::String&& value) { m_batchSegmentJobArnHasBeenSet = true; m_batchSegmentJobArn = std::move(value); }
54 inline void SetBatchSegmentJobArn(const char* value) { m_batchSegmentJobArnHasBeenSet = true; m_batchSegmentJobArn.assign(value); }
56 inline BatchSegmentJobSummary& WithBatchSegmentJobArn(Aws::String&& value) { SetBatchSegmentJobArn(std::move(value)); return *this;}
57 inline BatchSegmentJobSummary& WithBatchSegmentJobArn(const char* value) { SetBatchSegmentJobArn(value); return *this;}
59
61
64 inline const Aws::String& GetJobName() const{ return m_jobName; }
65 inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; }
66 inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; }
67 inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); }
68 inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); }
69 inline BatchSegmentJobSummary& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
70 inline BatchSegmentJobSummary& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
71 inline BatchSegmentJobSummary& WithJobName(const char* value) { SetJobName(value); return *this;}
73
75
80 inline const Aws::String& GetStatus() const{ return m_status; }
81 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
82 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
83 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
84 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
85 inline BatchSegmentJobSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
86 inline BatchSegmentJobSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
87 inline BatchSegmentJobSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
89
91
94 inline const Aws::Utils::DateTime& GetCreationDateTime() const{ return m_creationDateTime; }
95 inline bool CreationDateTimeHasBeenSet() const { return m_creationDateTimeHasBeenSet; }
96 inline void SetCreationDateTime(const Aws::Utils::DateTime& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = value; }
97 inline void SetCreationDateTime(Aws::Utils::DateTime&& value) { m_creationDateTimeHasBeenSet = true; m_creationDateTime = std::move(value); }
99 inline BatchSegmentJobSummary& WithCreationDateTime(Aws::Utils::DateTime&& value) { SetCreationDateTime(std::move(value)); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetLastUpdatedDateTime() const{ return m_lastUpdatedDateTime; }
107 inline bool LastUpdatedDateTimeHasBeenSet() const { return m_lastUpdatedDateTimeHasBeenSet; }
108 inline void SetLastUpdatedDateTime(const Aws::Utils::DateTime& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = value; }
109 inline void SetLastUpdatedDateTime(Aws::Utils::DateTime&& value) { m_lastUpdatedDateTimeHasBeenSet = true; m_lastUpdatedDateTime = std::move(value); }
113
115
118 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
119 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
120 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
121 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
122 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
123 inline BatchSegmentJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
124 inline BatchSegmentJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
125 inline BatchSegmentJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
127
129
133 inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; }
134 inline bool SolutionVersionArnHasBeenSet() const { return m_solutionVersionArnHasBeenSet; }
135 inline void SetSolutionVersionArn(const Aws::String& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = value; }
136 inline void SetSolutionVersionArn(Aws::String&& value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn = std::move(value); }
137 inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArnHasBeenSet = true; m_solutionVersionArn.assign(value); }
139 inline BatchSegmentJobSummary& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;}
140 inline BatchSegmentJobSummary& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;}
142 private:
143
144 Aws::String m_batchSegmentJobArn;
145 bool m_batchSegmentJobArnHasBeenSet = false;
146
147 Aws::String m_jobName;
148 bool m_jobNameHasBeenSet = false;
149
150 Aws::String m_status;
151 bool m_statusHasBeenSet = false;
152
153 Aws::Utils::DateTime m_creationDateTime;
154 bool m_creationDateTimeHasBeenSet = false;
155
156 Aws::Utils::DateTime m_lastUpdatedDateTime;
157 bool m_lastUpdatedDateTimeHasBeenSet = false;
158
159 Aws::String m_failureReason;
160 bool m_failureReasonHasBeenSet = false;
161
162 Aws::String m_solutionVersionArn;
163 bool m_solutionVersionArnHasBeenSet = false;
164 };
165
166} // namespace Model
167} // namespace Personalize
168} // namespace Aws
AWS_PERSONALIZE_API BatchSegmentJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchSegmentJobSummary & WithStatus(const Aws::String &value)
void SetLastUpdatedDateTime(Aws::Utils::DateTime &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationDateTime(const Aws::Utils::DateTime &value)
BatchSegmentJobSummary & WithBatchSegmentJobArn(const char *value)
const Aws::Utils::DateTime & GetCreationDateTime() const
BatchSegmentJobSummary & WithStatus(const char *value)
BatchSegmentJobSummary & WithSolutionVersionArn(const char *value)
BatchSegmentJobSummary & WithCreationDateTime(const Aws::Utils::DateTime &value)
BatchSegmentJobSummary & WithSolutionVersionArn(const Aws::String &value)
void SetLastUpdatedDateTime(const Aws::Utils::DateTime &value)
BatchSegmentJobSummary & WithJobName(const Aws::String &value)
BatchSegmentJobSummary & WithBatchSegmentJobArn(Aws::String &&value)
BatchSegmentJobSummary & WithSolutionVersionArn(Aws::String &&value)
const Aws::Utils::DateTime & GetLastUpdatedDateTime() const
BatchSegmentJobSummary & WithFailureReason(const char *value)
AWS_PERSONALIZE_API BatchSegmentJobSummary(Aws::Utils::Json::JsonView jsonValue)
BatchSegmentJobSummary & WithJobName(Aws::String &&value)
void SetCreationDateTime(Aws::Utils::DateTime &&value)
BatchSegmentJobSummary & WithJobName(const char *value)
BatchSegmentJobSummary & WithBatchSegmentJobArn(const Aws::String &value)
BatchSegmentJobSummary & WithFailureReason(Aws::String &&value)
BatchSegmentJobSummary & WithLastUpdatedDateTime(const Aws::Utils::DateTime &value)
BatchSegmentJobSummary & WithCreationDateTime(Aws::Utils::DateTime &&value)
BatchSegmentJobSummary & WithFailureReason(const Aws::String &value)
BatchSegmentJobSummary & WithLastUpdatedDateTime(Aws::Utils::DateTime &&value)
BatchSegmentJobSummary & WithStatus(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue