AWS SDK for C++  1.9.159
AWS SDK for C++
AutoMLPartialFailureReason.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetPartialFailureMessage() const{ return m_partialFailureMessage; }
45 
49  inline bool PartialFailureMessageHasBeenSet() const { return m_partialFailureMessageHasBeenSet; }
50 
54  inline void SetPartialFailureMessage(const Aws::String& value) { m_partialFailureMessageHasBeenSet = true; m_partialFailureMessage = value; }
55 
59  inline void SetPartialFailureMessage(Aws::String&& value) { m_partialFailureMessageHasBeenSet = true; m_partialFailureMessage = std::move(value); }
60 
64  inline void SetPartialFailureMessage(const char* value) { m_partialFailureMessageHasBeenSet = true; m_partialFailureMessage.assign(value); }
65 
69  inline AutoMLPartialFailureReason& WithPartialFailureMessage(const Aws::String& value) { SetPartialFailureMessage(value); return *this;}
70 
74  inline AutoMLPartialFailureReason& WithPartialFailureMessage(Aws::String&& value) { SetPartialFailureMessage(std::move(value)); return *this;}
75 
79  inline AutoMLPartialFailureReason& WithPartialFailureMessage(const char* value) { SetPartialFailureMessage(value); return *this;}
80 
81  private:
82 
83  Aws::String m_partialFailureMessage;
84  bool m_partialFailureMessageHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace SageMaker
89 } // namespace Aws
Aws::SageMaker::Model::AutoMLPartialFailureReason::SetPartialFailureMessage
void SetPartialFailureMessage(const char *value)
Definition: AutoMLPartialFailureReason.h:64
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::AutoMLPartialFailureReason::AutoMLPartialFailureReason
AutoMLPartialFailureReason(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AutoMLPartialFailureReason::GetPartialFailureMessage
const Aws::String & GetPartialFailureMessage() const
Definition: AutoMLPartialFailureReason.h:44
SageMaker_EXPORTS.h
Aws::SageMaker::Model::AutoMLPartialFailureReason::WithPartialFailureMessage
AutoMLPartialFailureReason & WithPartialFailureMessage(Aws::String &&value)
Definition: AutoMLPartialFailureReason.h:74
Aws::SageMaker::Model::AutoMLPartialFailureReason
Definition: AutoMLPartialFailureReason.h:33
Aws::SageMaker::Model::AutoMLPartialFailureReason::SetPartialFailureMessage
void SetPartialFailureMessage(Aws::String &&value)
Definition: AutoMLPartialFailureReason.h:59
Aws::SageMaker::Model::AutoMLPartialFailureReason::AutoMLPartialFailureReason
AutoMLPartialFailureReason()
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::AutoMLPartialFailureReason::PartialFailureMessageHasBeenSet
bool PartialFailureMessageHasBeenSet() const
Definition: AutoMLPartialFailureReason.h:49
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::AutoMLPartialFailureReason::SetPartialFailureMessage
void SetPartialFailureMessage(const Aws::String &value)
Definition: AutoMLPartialFailureReason.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::AutoMLPartialFailureReason::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::AutoMLPartialFailureReason::operator=
AutoMLPartialFailureReason & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::AutoMLPartialFailureReason::WithPartialFailureMessage
AutoMLPartialFailureReason & WithPartialFailureMessage(const char *value)
Definition: AutoMLPartialFailureReason.h:79
Aws::SageMaker::Model::AutoMLPartialFailureReason::WithPartialFailureMessage
AutoMLPartialFailureReason & WithPartialFailureMessage(const Aws::String &value)
Definition: AutoMLPartialFailureReason.h:69