AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TrialComponentStatus.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/TrialComponentPrimaryStatus.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
33 {
34 public:
35 AWS_SAGEMAKER_API TrialComponentStatus();
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const TrialComponentPrimaryStatus& GetPrimaryStatus() const{ return m_primaryStatus; }
46 inline bool PrimaryStatusHasBeenSet() const { return m_primaryStatusHasBeenSet; }
47 inline void SetPrimaryStatus(const TrialComponentPrimaryStatus& value) { m_primaryStatusHasBeenSet = true; m_primaryStatus = value; }
48 inline void SetPrimaryStatus(TrialComponentPrimaryStatus&& value) { m_primaryStatusHasBeenSet = true; m_primaryStatus = std::move(value); }
50 inline TrialComponentStatus& WithPrimaryStatus(TrialComponentPrimaryStatus&& value) { SetPrimaryStatus(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetMessage() const{ return m_message; }
58 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
59 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
60 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
61 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
62 inline TrialComponentStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
63 inline TrialComponentStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
64 inline TrialComponentStatus& WithMessage(const char* value) { SetMessage(value); return *this;}
66 private:
67
68 TrialComponentPrimaryStatus m_primaryStatus;
69 bool m_primaryStatusHasBeenSet = false;
70
71 Aws::String m_message;
72 bool m_messageHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace SageMaker
77} // namespace Aws
TrialComponentStatus & WithPrimaryStatus(TrialComponentPrimaryStatus &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
TrialComponentStatus & WithPrimaryStatus(const TrialComponentPrimaryStatus &value)
TrialComponentStatus & WithMessage(Aws::String &&value)
void SetPrimaryStatus(TrialComponentPrimaryStatus &&value)
TrialComponentStatus & WithMessage(const Aws::String &value)
TrialComponentStatus & WithMessage(const char *value)
AWS_SAGEMAKER_API TrialComponentStatus(Aws::Utils::Json::JsonView jsonValue)
const TrialComponentPrimaryStatus & GetPrimaryStatus() const
AWS_SAGEMAKER_API TrialComponentStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPrimaryStatus(const TrialComponentPrimaryStatus &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue