AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LastUpdateStatus.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/LastUpdateStatusValue.h>
9#include <aws/core/utils/memory/stl/AWSString.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 SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API LastUpdateStatus();
37 AWS_SAGEMAKER_API LastUpdateStatus(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const LastUpdateStatusValue& GetStatus() const{ return m_status; }
47 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
48 inline void SetStatus(const LastUpdateStatusValue& value) { m_statusHasBeenSet = true; m_status = value; }
49 inline void SetStatus(LastUpdateStatusValue&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
50 inline LastUpdateStatus& WithStatus(const LastUpdateStatusValue& value) { SetStatus(value); return *this;}
51 inline LastUpdateStatus& WithStatus(LastUpdateStatusValue&& value) { SetStatus(std::move(value)); return *this;}
53
55
58 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
59 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
60 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
61 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
62 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
63 inline LastUpdateStatus& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;}
64 inline LastUpdateStatus& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
65 inline LastUpdateStatus& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
67 private:
68
69 LastUpdateStatusValue m_status;
70 bool m_statusHasBeenSet = false;
71
72 Aws::String m_failureReason;
73 bool m_failureReasonHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SageMaker
78} // namespace Aws
LastUpdateStatus & WithFailureReason(const Aws::String &value)
void SetStatus(LastUpdateStatusValue &&value)
void SetFailureReason(Aws::String &&value)
LastUpdateStatus & WithFailureReason(Aws::String &&value)
AWS_SAGEMAKER_API LastUpdateStatus(Aws::Utils::Json::JsonView jsonValue)
LastUpdateStatus & WithStatus(const LastUpdateStatusValue &value)
void SetFailureReason(const Aws::String &value)
AWS_SAGEMAKER_API LastUpdateStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
LastUpdateStatus & WithFailureReason(const char *value)
const Aws::String & GetFailureReason() const
void SetStatus(const LastUpdateStatusValue &value)
LastUpdateStatus & WithStatus(LastUpdateStatusValue &&value)
const LastUpdateStatusValue & GetStatus() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue