1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/databrew/GlueDataBrew_EXPORTS.h>
8 #include <aws/core/utils/DateTime.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <aws/databrew/model/ProfileConfiguration.h>
11 #include <aws/databrew/model/JobRunState.h>
12 #include <aws/databrew/model/LogSubscription.h>
13 #include <aws/core/utils/memory/stl/AWSVector.h>
14 #include <aws/databrew/model/RecipeReference.h>
15 #include <aws/databrew/model/JobSample.h>
16 #include <aws/databrew/model/Output.h>
17 #include <aws/databrew/model/DataCatalogOutput.h>
18 #include <aws/databrew/model/DatabaseOutput.h>
19 #include <utility>
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Json
29 {
30   class JsonValue;
31 } // namespace Json
32 } // namespace Utils
33 namespace GlueDataBrew
34 {
35 namespace Model
36 {
37   class AWS_GLUEDATABREW_API DescribeJobRunResult
38   {
39   public:
40     DescribeJobRunResult();
41     DescribeJobRunResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
42     DescribeJobRunResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
43 
44 
45     /**
46      * <p>The number of times that DataBrew has attempted to run the job.</p>
47      */
GetAttempt()48     inline int GetAttempt() const{ return m_attempt; }
49 
50     /**
51      * <p>The number of times that DataBrew has attempted to run the job.</p>
52      */
SetAttempt(int value)53     inline void SetAttempt(int value) { m_attempt = value; }
54 
55     /**
56      * <p>The number of times that DataBrew has attempted to run the job.</p>
57      */
WithAttempt(int value)58     inline DescribeJobRunResult& WithAttempt(int value) { SetAttempt(value); return *this;}
59 
60 
61     /**
62      * <p>The date and time when the job completed processing.</p>
63      */
GetCompletedOn()64     inline const Aws::Utils::DateTime& GetCompletedOn() const{ return m_completedOn; }
65 
66     /**
67      * <p>The date and time when the job completed processing.</p>
68      */
SetCompletedOn(const Aws::Utils::DateTime & value)69     inline void SetCompletedOn(const Aws::Utils::DateTime& value) { m_completedOn = value; }
70 
71     /**
72      * <p>The date and time when the job completed processing.</p>
73      */
SetCompletedOn(Aws::Utils::DateTime && value)74     inline void SetCompletedOn(Aws::Utils::DateTime&& value) { m_completedOn = std::move(value); }
75 
76     /**
77      * <p>The date and time when the job completed processing.</p>
78      */
WithCompletedOn(const Aws::Utils::DateTime & value)79     inline DescribeJobRunResult& WithCompletedOn(const Aws::Utils::DateTime& value) { SetCompletedOn(value); return *this;}
80 
81     /**
82      * <p>The date and time when the job completed processing.</p>
83      */
WithCompletedOn(Aws::Utils::DateTime && value)84     inline DescribeJobRunResult& WithCompletedOn(Aws::Utils::DateTime&& value) { SetCompletedOn(std::move(value)); return *this;}
85 
86 
87     /**
88      * <p>The name of the dataset for the job to process.</p>
89      */
GetDatasetName()90     inline const Aws::String& GetDatasetName() const{ return m_datasetName; }
91 
92     /**
93      * <p>The name of the dataset for the job to process.</p>
94      */
SetDatasetName(const Aws::String & value)95     inline void SetDatasetName(const Aws::String& value) { m_datasetName = value; }
96 
97     /**
98      * <p>The name of the dataset for the job to process.</p>
99      */
SetDatasetName(Aws::String && value)100     inline void SetDatasetName(Aws::String&& value) { m_datasetName = std::move(value); }
101 
102     /**
103      * <p>The name of the dataset for the job to process.</p>
104      */
SetDatasetName(const char * value)105     inline void SetDatasetName(const char* value) { m_datasetName.assign(value); }
106 
107     /**
108      * <p>The name of the dataset for the job to process.</p>
109      */
WithDatasetName(const Aws::String & value)110     inline DescribeJobRunResult& WithDatasetName(const Aws::String& value) { SetDatasetName(value); return *this;}
111 
112     /**
113      * <p>The name of the dataset for the job to process.</p>
114      */
WithDatasetName(Aws::String && value)115     inline DescribeJobRunResult& WithDatasetName(Aws::String&& value) { SetDatasetName(std::move(value)); return *this;}
116 
117     /**
118      * <p>The name of the dataset for the job to process.</p>
119      */
WithDatasetName(const char * value)120     inline DescribeJobRunResult& WithDatasetName(const char* value) { SetDatasetName(value); return *this;}
121 
122 
123     /**
124      * <p>A message indicating an error (if any) that was encountered when the job
125      * ran.</p>
126      */
GetErrorMessage()127     inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
128 
129     /**
130      * <p>A message indicating an error (if any) that was encountered when the job
131      * ran.</p>
132      */
SetErrorMessage(const Aws::String & value)133     inline void SetErrorMessage(const Aws::String& value) { m_errorMessage = value; }
134 
135     /**
136      * <p>A message indicating an error (if any) that was encountered when the job
137      * ran.</p>
138      */
SetErrorMessage(Aws::String && value)139     inline void SetErrorMessage(Aws::String&& value) { m_errorMessage = std::move(value); }
140 
141     /**
142      * <p>A message indicating an error (if any) that was encountered when the job
143      * ran.</p>
144      */
SetErrorMessage(const char * value)145     inline void SetErrorMessage(const char* value) { m_errorMessage.assign(value); }
146 
147     /**
148      * <p>A message indicating an error (if any) that was encountered when the job
149      * ran.</p>
150      */
WithErrorMessage(const Aws::String & value)151     inline DescribeJobRunResult& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
152 
153     /**
154      * <p>A message indicating an error (if any) that was encountered when the job
155      * ran.</p>
156      */
WithErrorMessage(Aws::String && value)157     inline DescribeJobRunResult& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
158 
159     /**
160      * <p>A message indicating an error (if any) that was encountered when the job
161      * ran.</p>
162      */
WithErrorMessage(const char * value)163     inline DescribeJobRunResult& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
164 
165 
166     /**
167      * <p>The amount of time, in seconds, during which the job run consumed
168      * resources.</p>
169      */
GetExecutionTime()170     inline int GetExecutionTime() const{ return m_executionTime; }
171 
172     /**
173      * <p>The amount of time, in seconds, during which the job run consumed
174      * resources.</p>
175      */
SetExecutionTime(int value)176     inline void SetExecutionTime(int value) { m_executionTime = value; }
177 
178     /**
179      * <p>The amount of time, in seconds, during which the job run consumed
180      * resources.</p>
181      */
WithExecutionTime(int value)182     inline DescribeJobRunResult& WithExecutionTime(int value) { SetExecutionTime(value); return *this;}
183 
184 
185     /**
186      * <p>The name of the job being processed during this run.</p>
187      */
GetJobName()188     inline const Aws::String& GetJobName() const{ return m_jobName; }
189 
190     /**
191      * <p>The name of the job being processed during this run.</p>
192      */
SetJobName(const Aws::String & value)193     inline void SetJobName(const Aws::String& value) { m_jobName = value; }
194 
195     /**
196      * <p>The name of the job being processed during this run.</p>
197      */
SetJobName(Aws::String && value)198     inline void SetJobName(Aws::String&& value) { m_jobName = std::move(value); }
199 
200     /**
201      * <p>The name of the job being processed during this run.</p>
202      */
SetJobName(const char * value)203     inline void SetJobName(const char* value) { m_jobName.assign(value); }
204 
205     /**
206      * <p>The name of the job being processed during this run.</p>
207      */
WithJobName(const Aws::String & value)208     inline DescribeJobRunResult& WithJobName(const Aws::String& value) { SetJobName(value); return *this;}
209 
210     /**
211      * <p>The name of the job being processed during this run.</p>
212      */
WithJobName(Aws::String && value)213     inline DescribeJobRunResult& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;}
214 
215     /**
216      * <p>The name of the job being processed during this run.</p>
217      */
WithJobName(const char * value)218     inline DescribeJobRunResult& WithJobName(const char* value) { SetJobName(value); return *this;}
219 
220 
221     /**
222      * <p>Configuration for profile jobs. Used to select columns, do evaluations, and
223      * override default parameters of evaluations. When configuration is null, the
224      * profile job will run with default settings.</p>
225      */
GetProfileConfiguration()226     inline const ProfileConfiguration& GetProfileConfiguration() const{ return m_profileConfiguration; }
227 
228     /**
229      * <p>Configuration for profile jobs. Used to select columns, do evaluations, and
230      * override default parameters of evaluations. When configuration is null, the
231      * profile job will run with default settings.</p>
232      */
SetProfileConfiguration(const ProfileConfiguration & value)233     inline void SetProfileConfiguration(const ProfileConfiguration& value) { m_profileConfiguration = value; }
234 
235     /**
236      * <p>Configuration for profile jobs. Used to select columns, do evaluations, and
237      * override default parameters of evaluations. When configuration is null, the
238      * profile job will run with default settings.</p>
239      */
SetProfileConfiguration(ProfileConfiguration && value)240     inline void SetProfileConfiguration(ProfileConfiguration&& value) { m_profileConfiguration = std::move(value); }
241 
242     /**
243      * <p>Configuration for profile jobs. Used to select columns, do evaluations, and
244      * override default parameters of evaluations. When configuration is null, the
245      * profile job will run with default settings.</p>
246      */
WithProfileConfiguration(const ProfileConfiguration & value)247     inline DescribeJobRunResult& WithProfileConfiguration(const ProfileConfiguration& value) { SetProfileConfiguration(value); return *this;}
248 
249     /**
250      * <p>Configuration for profile jobs. Used to select columns, do evaluations, and
251      * override default parameters of evaluations. When configuration is null, the
252      * profile job will run with default settings.</p>
253      */
WithProfileConfiguration(ProfileConfiguration && value)254     inline DescribeJobRunResult& WithProfileConfiguration(ProfileConfiguration&& value) { SetProfileConfiguration(std::move(value)); return *this;}
255 
256 
257     /**
258      * <p>The unique identifier of the job run.</p>
259      */
GetRunId()260     inline const Aws::String& GetRunId() const{ return m_runId; }
261 
262     /**
263      * <p>The unique identifier of the job run.</p>
264      */
SetRunId(const Aws::String & value)265     inline void SetRunId(const Aws::String& value) { m_runId = value; }
266 
267     /**
268      * <p>The unique identifier of the job run.</p>
269      */
SetRunId(Aws::String && value)270     inline void SetRunId(Aws::String&& value) { m_runId = std::move(value); }
271 
272     /**
273      * <p>The unique identifier of the job run.</p>
274      */
SetRunId(const char * value)275     inline void SetRunId(const char* value) { m_runId.assign(value); }
276 
277     /**
278      * <p>The unique identifier of the job run.</p>
279      */
WithRunId(const Aws::String & value)280     inline DescribeJobRunResult& WithRunId(const Aws::String& value) { SetRunId(value); return *this;}
281 
282     /**
283      * <p>The unique identifier of the job run.</p>
284      */
WithRunId(Aws::String && value)285     inline DescribeJobRunResult& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;}
286 
287     /**
288      * <p>The unique identifier of the job run.</p>
289      */
WithRunId(const char * value)290     inline DescribeJobRunResult& WithRunId(const char* value) { SetRunId(value); return *this;}
291 
292 
293     /**
294      * <p>The current state of the job run entity itself.</p>
295      */
GetState()296     inline const JobRunState& GetState() const{ return m_state; }
297 
298     /**
299      * <p>The current state of the job run entity itself.</p>
300      */
SetState(const JobRunState & value)301     inline void SetState(const JobRunState& value) { m_state = value; }
302 
303     /**
304      * <p>The current state of the job run entity itself.</p>
305      */
SetState(JobRunState && value)306     inline void SetState(JobRunState&& value) { m_state = std::move(value); }
307 
308     /**
309      * <p>The current state of the job run entity itself.</p>
310      */
WithState(const JobRunState & value)311     inline DescribeJobRunResult& WithState(const JobRunState& value) { SetState(value); return *this;}
312 
313     /**
314      * <p>The current state of the job run entity itself.</p>
315      */
WithState(JobRunState && value)316     inline DescribeJobRunResult& WithState(JobRunState&& value) { SetState(std::move(value)); return *this;}
317 
318 
319     /**
320      * <p>The current status of Amazon CloudWatch logging for the job run.</p>
321      */
GetLogSubscription()322     inline const LogSubscription& GetLogSubscription() const{ return m_logSubscription; }
323 
324     /**
325      * <p>The current status of Amazon CloudWatch logging for the job run.</p>
326      */
SetLogSubscription(const LogSubscription & value)327     inline void SetLogSubscription(const LogSubscription& value) { m_logSubscription = value; }
328 
329     /**
330      * <p>The current status of Amazon CloudWatch logging for the job run.</p>
331      */
SetLogSubscription(LogSubscription && value)332     inline void SetLogSubscription(LogSubscription&& value) { m_logSubscription = std::move(value); }
333 
334     /**
335      * <p>The current status of Amazon CloudWatch logging for the job run.</p>
336      */
WithLogSubscription(const LogSubscription & value)337     inline DescribeJobRunResult& WithLogSubscription(const LogSubscription& value) { SetLogSubscription(value); return *this;}
338 
339     /**
340      * <p>The current status of Amazon CloudWatch logging for the job run.</p>
341      */
WithLogSubscription(LogSubscription && value)342     inline DescribeJobRunResult& WithLogSubscription(LogSubscription&& value) { SetLogSubscription(std::move(value)); return *this;}
343 
344 
345     /**
346      * <p>The name of an Amazon CloudWatch log group, where the job writes diagnostic
347      * messages when it runs.</p>
348      */
GetLogGroupName()349     inline const Aws::String& GetLogGroupName() const{ return m_logGroupName; }
350 
351     /**
352      * <p>The name of an Amazon CloudWatch log group, where the job writes diagnostic
353      * messages when it runs.</p>
354      */
SetLogGroupName(const Aws::String & value)355     inline void SetLogGroupName(const Aws::String& value) { m_logGroupName = value; }
356 
357     /**
358      * <p>The name of an Amazon CloudWatch log group, where the job writes diagnostic
359      * messages when it runs.</p>
360      */
SetLogGroupName(Aws::String && value)361     inline void SetLogGroupName(Aws::String&& value) { m_logGroupName = std::move(value); }
362 
363     /**
364      * <p>The name of an Amazon CloudWatch log group, where the job writes diagnostic
365      * messages when it runs.</p>
366      */
SetLogGroupName(const char * value)367     inline void SetLogGroupName(const char* value) { m_logGroupName.assign(value); }
368 
369     /**
370      * <p>The name of an Amazon CloudWatch log group, where the job writes diagnostic
371      * messages when it runs.</p>
372      */
WithLogGroupName(const Aws::String & value)373     inline DescribeJobRunResult& WithLogGroupName(const Aws::String& value) { SetLogGroupName(value); return *this;}
374 
375     /**
376      * <p>The name of an Amazon CloudWatch log group, where the job writes diagnostic
377      * messages when it runs.</p>
378      */
WithLogGroupName(Aws::String && value)379     inline DescribeJobRunResult& WithLogGroupName(Aws::String&& value) { SetLogGroupName(std::move(value)); return *this;}
380 
381     /**
382      * <p>The name of an Amazon CloudWatch log group, where the job writes diagnostic
383      * messages when it runs.</p>
384      */
WithLogGroupName(const char * value)385     inline DescribeJobRunResult& WithLogGroupName(const char* value) { SetLogGroupName(value); return *this;}
386 
387 
388     /**
389      * <p>One or more output artifacts from a job run.</p>
390      */
GetOutputs()391     inline const Aws::Vector<Output>& GetOutputs() const{ return m_outputs; }
392 
393     /**
394      * <p>One or more output artifacts from a job run.</p>
395      */
SetOutputs(const Aws::Vector<Output> & value)396     inline void SetOutputs(const Aws::Vector<Output>& value) { m_outputs = value; }
397 
398     /**
399      * <p>One or more output artifacts from a job run.</p>
400      */
SetOutputs(Aws::Vector<Output> && value)401     inline void SetOutputs(Aws::Vector<Output>&& value) { m_outputs = std::move(value); }
402 
403     /**
404      * <p>One or more output artifacts from a job run.</p>
405      */
WithOutputs(const Aws::Vector<Output> & value)406     inline DescribeJobRunResult& WithOutputs(const Aws::Vector<Output>& value) { SetOutputs(value); return *this;}
407 
408     /**
409      * <p>One or more output artifacts from a job run.</p>
410      */
WithOutputs(Aws::Vector<Output> && value)411     inline DescribeJobRunResult& WithOutputs(Aws::Vector<Output>&& value) { SetOutputs(std::move(value)); return *this;}
412 
413     /**
414      * <p>One or more output artifacts from a job run.</p>
415      */
AddOutputs(const Output & value)416     inline DescribeJobRunResult& AddOutputs(const Output& value) { m_outputs.push_back(value); return *this; }
417 
418     /**
419      * <p>One or more output artifacts from a job run.</p>
420      */
AddOutputs(Output && value)421     inline DescribeJobRunResult& AddOutputs(Output&& value) { m_outputs.push_back(std::move(value)); return *this; }
422 
423 
424     /**
425      * <p>One or more artifacts that represent the Glue Data Catalog output from
426      * running the job.</p>
427      */
GetDataCatalogOutputs()428     inline const Aws::Vector<DataCatalogOutput>& GetDataCatalogOutputs() const{ return m_dataCatalogOutputs; }
429 
430     /**
431      * <p>One or more artifacts that represent the Glue Data Catalog output from
432      * running the job.</p>
433      */
SetDataCatalogOutputs(const Aws::Vector<DataCatalogOutput> & value)434     inline void SetDataCatalogOutputs(const Aws::Vector<DataCatalogOutput>& value) { m_dataCatalogOutputs = value; }
435 
436     /**
437      * <p>One or more artifacts that represent the Glue Data Catalog output from
438      * running the job.</p>
439      */
SetDataCatalogOutputs(Aws::Vector<DataCatalogOutput> && value)440     inline void SetDataCatalogOutputs(Aws::Vector<DataCatalogOutput>&& value) { m_dataCatalogOutputs = std::move(value); }
441 
442     /**
443      * <p>One or more artifacts that represent the Glue Data Catalog output from
444      * running the job.</p>
445      */
WithDataCatalogOutputs(const Aws::Vector<DataCatalogOutput> & value)446     inline DescribeJobRunResult& WithDataCatalogOutputs(const Aws::Vector<DataCatalogOutput>& value) { SetDataCatalogOutputs(value); return *this;}
447 
448     /**
449      * <p>One or more artifacts that represent the Glue Data Catalog output from
450      * running the job.</p>
451      */
WithDataCatalogOutputs(Aws::Vector<DataCatalogOutput> && value)452     inline DescribeJobRunResult& WithDataCatalogOutputs(Aws::Vector<DataCatalogOutput>&& value) { SetDataCatalogOutputs(std::move(value)); return *this;}
453 
454     /**
455      * <p>One or more artifacts that represent the Glue Data Catalog output from
456      * running the job.</p>
457      */
AddDataCatalogOutputs(const DataCatalogOutput & value)458     inline DescribeJobRunResult& AddDataCatalogOutputs(const DataCatalogOutput& value) { m_dataCatalogOutputs.push_back(value); return *this; }
459 
460     /**
461      * <p>One or more artifacts that represent the Glue Data Catalog output from
462      * running the job.</p>
463      */
AddDataCatalogOutputs(DataCatalogOutput && value)464     inline DescribeJobRunResult& AddDataCatalogOutputs(DataCatalogOutput&& value) { m_dataCatalogOutputs.push_back(std::move(value)); return *this; }
465 
466 
467     /**
468      * <p>Represents a list of JDBC database output objects which defines the output
469      * destination for a DataBrew recipe job to write into.</p>
470      */
GetDatabaseOutputs()471     inline const Aws::Vector<DatabaseOutput>& GetDatabaseOutputs() const{ return m_databaseOutputs; }
472 
473     /**
474      * <p>Represents a list of JDBC database output objects which defines the output
475      * destination for a DataBrew recipe job to write into.</p>
476      */
SetDatabaseOutputs(const Aws::Vector<DatabaseOutput> & value)477     inline void SetDatabaseOutputs(const Aws::Vector<DatabaseOutput>& value) { m_databaseOutputs = value; }
478 
479     /**
480      * <p>Represents a list of JDBC database output objects which defines the output
481      * destination for a DataBrew recipe job to write into.</p>
482      */
SetDatabaseOutputs(Aws::Vector<DatabaseOutput> && value)483     inline void SetDatabaseOutputs(Aws::Vector<DatabaseOutput>&& value) { m_databaseOutputs = std::move(value); }
484 
485     /**
486      * <p>Represents a list of JDBC database output objects which defines the output
487      * destination for a DataBrew recipe job to write into.</p>
488      */
WithDatabaseOutputs(const Aws::Vector<DatabaseOutput> & value)489     inline DescribeJobRunResult& WithDatabaseOutputs(const Aws::Vector<DatabaseOutput>& value) { SetDatabaseOutputs(value); return *this;}
490 
491     /**
492      * <p>Represents a list of JDBC database output objects which defines the output
493      * destination for a DataBrew recipe job to write into.</p>
494      */
WithDatabaseOutputs(Aws::Vector<DatabaseOutput> && value)495     inline DescribeJobRunResult& WithDatabaseOutputs(Aws::Vector<DatabaseOutput>&& value) { SetDatabaseOutputs(std::move(value)); return *this;}
496 
497     /**
498      * <p>Represents a list of JDBC database output objects which defines the output
499      * destination for a DataBrew recipe job to write into.</p>
500      */
AddDatabaseOutputs(const DatabaseOutput & value)501     inline DescribeJobRunResult& AddDatabaseOutputs(const DatabaseOutput& value) { m_databaseOutputs.push_back(value); return *this; }
502 
503     /**
504      * <p>Represents a list of JDBC database output objects which defines the output
505      * destination for a DataBrew recipe job to write into.</p>
506      */
AddDatabaseOutputs(DatabaseOutput && value)507     inline DescribeJobRunResult& AddDatabaseOutputs(DatabaseOutput&& value) { m_databaseOutputs.push_back(std::move(value)); return *this; }
508 
509 
510 
GetRecipeReference()511     inline const RecipeReference& GetRecipeReference() const{ return m_recipeReference; }
512 
513 
SetRecipeReference(const RecipeReference & value)514     inline void SetRecipeReference(const RecipeReference& value) { m_recipeReference = value; }
515 
516 
SetRecipeReference(RecipeReference && value)517     inline void SetRecipeReference(RecipeReference&& value) { m_recipeReference = std::move(value); }
518 
519 
WithRecipeReference(const RecipeReference & value)520     inline DescribeJobRunResult& WithRecipeReference(const RecipeReference& value) { SetRecipeReference(value); return *this;}
521 
522 
WithRecipeReference(RecipeReference && value)523     inline DescribeJobRunResult& WithRecipeReference(RecipeReference&& value) { SetRecipeReference(std::move(value)); return *this;}
524 
525 
526     /**
527      * <p>The Amazon Resource Name (ARN) of the user who started the job run.</p>
528      */
GetStartedBy()529     inline const Aws::String& GetStartedBy() const{ return m_startedBy; }
530 
531     /**
532      * <p>The Amazon Resource Name (ARN) of the user who started the job run.</p>
533      */
SetStartedBy(const Aws::String & value)534     inline void SetStartedBy(const Aws::String& value) { m_startedBy = value; }
535 
536     /**
537      * <p>The Amazon Resource Name (ARN) of the user who started the job run.</p>
538      */
SetStartedBy(Aws::String && value)539     inline void SetStartedBy(Aws::String&& value) { m_startedBy = std::move(value); }
540 
541     /**
542      * <p>The Amazon Resource Name (ARN) of the user who started the job run.</p>
543      */
SetStartedBy(const char * value)544     inline void SetStartedBy(const char* value) { m_startedBy.assign(value); }
545 
546     /**
547      * <p>The Amazon Resource Name (ARN) of the user who started the job run.</p>
548      */
WithStartedBy(const Aws::String & value)549     inline DescribeJobRunResult& WithStartedBy(const Aws::String& value) { SetStartedBy(value); return *this;}
550 
551     /**
552      * <p>The Amazon Resource Name (ARN) of the user who started the job run.</p>
553      */
WithStartedBy(Aws::String && value)554     inline DescribeJobRunResult& WithStartedBy(Aws::String&& value) { SetStartedBy(std::move(value)); return *this;}
555 
556     /**
557      * <p>The Amazon Resource Name (ARN) of the user who started the job run.</p>
558      */
WithStartedBy(const char * value)559     inline DescribeJobRunResult& WithStartedBy(const char* value) { SetStartedBy(value); return *this;}
560 
561 
562     /**
563      * <p>The date and time when the job run began.</p>
564      */
GetStartedOn()565     inline const Aws::Utils::DateTime& GetStartedOn() const{ return m_startedOn; }
566 
567     /**
568      * <p>The date and time when the job run began.</p>
569      */
SetStartedOn(const Aws::Utils::DateTime & value)570     inline void SetStartedOn(const Aws::Utils::DateTime& value) { m_startedOn = value; }
571 
572     /**
573      * <p>The date and time when the job run began.</p>
574      */
SetStartedOn(Aws::Utils::DateTime && value)575     inline void SetStartedOn(Aws::Utils::DateTime&& value) { m_startedOn = std::move(value); }
576 
577     /**
578      * <p>The date and time when the job run began.</p>
579      */
WithStartedOn(const Aws::Utils::DateTime & value)580     inline DescribeJobRunResult& WithStartedOn(const Aws::Utils::DateTime& value) { SetStartedOn(value); return *this;}
581 
582     /**
583      * <p>The date and time when the job run began.</p>
584      */
WithStartedOn(Aws::Utils::DateTime && value)585     inline DescribeJobRunResult& WithStartedOn(Aws::Utils::DateTime&& value) { SetStartedOn(std::move(value)); return *this;}
586 
587 
588     /**
589      * <p>Sample configuration for profile jobs only. Determines the number of rows on
590      * which the profile job will be executed. If a JobSample value is not provided,
591      * the default value will be used. The default value is CUSTOM_ROWS for the mode
592      * parameter and 20000 for the size parameter.</p>
593      */
GetJobSample()594     inline const JobSample& GetJobSample() const{ return m_jobSample; }
595 
596     /**
597      * <p>Sample configuration for profile jobs only. Determines the number of rows on
598      * which the profile job will be executed. If a JobSample value is not provided,
599      * the default value will be used. The default value is CUSTOM_ROWS for the mode
600      * parameter and 20000 for the size parameter.</p>
601      */
SetJobSample(const JobSample & value)602     inline void SetJobSample(const JobSample& value) { m_jobSample = value; }
603 
604     /**
605      * <p>Sample configuration for profile jobs only. Determines the number of rows on
606      * which the profile job will be executed. If a JobSample value is not provided,
607      * the default value will be used. The default value is CUSTOM_ROWS for the mode
608      * parameter and 20000 for the size parameter.</p>
609      */
SetJobSample(JobSample && value)610     inline void SetJobSample(JobSample&& value) { m_jobSample = std::move(value); }
611 
612     /**
613      * <p>Sample configuration for profile jobs only. Determines the number of rows on
614      * which the profile job will be executed. If a JobSample value is not provided,
615      * the default value will be used. The default value is CUSTOM_ROWS for the mode
616      * parameter and 20000 for the size parameter.</p>
617      */
WithJobSample(const JobSample & value)618     inline DescribeJobRunResult& WithJobSample(const JobSample& value) { SetJobSample(value); return *this;}
619 
620     /**
621      * <p>Sample configuration for profile jobs only. Determines the number of rows on
622      * which the profile job will be executed. If a JobSample value is not provided,
623      * the default value will be used. The default value is CUSTOM_ROWS for the mode
624      * parameter and 20000 for the size parameter.</p>
625      */
WithJobSample(JobSample && value)626     inline DescribeJobRunResult& WithJobSample(JobSample&& value) { SetJobSample(std::move(value)); return *this;}
627 
628   private:
629 
630     int m_attempt;
631 
632     Aws::Utils::DateTime m_completedOn;
633 
634     Aws::String m_datasetName;
635 
636     Aws::String m_errorMessage;
637 
638     int m_executionTime;
639 
640     Aws::String m_jobName;
641 
642     ProfileConfiguration m_profileConfiguration;
643 
644     Aws::String m_runId;
645 
646     JobRunState m_state;
647 
648     LogSubscription m_logSubscription;
649 
650     Aws::String m_logGroupName;
651 
652     Aws::Vector<Output> m_outputs;
653 
654     Aws::Vector<DataCatalogOutput> m_dataCatalogOutputs;
655 
656     Aws::Vector<DatabaseOutput> m_databaseOutputs;
657 
658     RecipeReference m_recipeReference;
659 
660     Aws::String m_startedBy;
661 
662     Aws::Utils::DateTime m_startedOn;
663 
664     JobSample m_jobSample;
665   };
666 
667 } // namespace Model
668 } // namespace GlueDataBrew
669 } // namespace Aws
670