AWS SDK for C++  1.9.160
AWS SDK for C++
Alarm.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:
35  Alarm();
39 
40 
44  inline const Aws::String& GetAlarmName() const{ return m_alarmName; }
45 
49  inline bool AlarmNameHasBeenSet() const { return m_alarmNameHasBeenSet; }
50 
54  inline void SetAlarmName(const Aws::String& value) { m_alarmNameHasBeenSet = true; m_alarmName = value; }
55 
59  inline void SetAlarmName(Aws::String&& value) { m_alarmNameHasBeenSet = true; m_alarmName = std::move(value); }
60 
64  inline void SetAlarmName(const char* value) { m_alarmNameHasBeenSet = true; m_alarmName.assign(value); }
65 
69  inline Alarm& WithAlarmName(const Aws::String& value) { SetAlarmName(value); return *this;}
70 
74  inline Alarm& WithAlarmName(Aws::String&& value) { SetAlarmName(std::move(value)); return *this;}
75 
79  inline Alarm& WithAlarmName(const char* value) { SetAlarmName(value); return *this;}
80 
81  private:
82 
83  Aws::String m_alarmName;
84  bool m_alarmNameHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace SageMaker
89 } // namespace Aws
Aws::SageMaker::Model::Alarm::GetAlarmName
const Aws::String & GetAlarmName() const
Definition: Alarm.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::Alarm::WithAlarmName
Alarm & WithAlarmName(const Aws::String &value)
Definition: Alarm.h:69
SageMaker_EXPORTS.h
Aws::SageMaker::Model::Alarm::SetAlarmName
void SetAlarmName(Aws::String &&value)
Definition: Alarm.h:59
Aws::SageMaker::Model::Alarm::AlarmNameHasBeenSet
bool AlarmNameHasBeenSet() const
Definition: Alarm.h:49
Aws::SageMaker::Model::Alarm::SetAlarmName
void SetAlarmName(const Aws::String &value)
Definition: Alarm.h:54
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::Alarm::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::Alarm
Definition: Alarm.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::Alarm::WithAlarmName
Alarm & WithAlarmName(Aws::String &&value)
Definition: Alarm.h:74
Aws::SageMaker::Model::Alarm::SetAlarmName
void SetAlarmName(const char *value)
Definition: Alarm.h:64
Aws::SageMaker::Model::Alarm::operator=
Alarm & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::Alarm::WithAlarmName
Alarm & WithAlarmName(const char *value)
Definition: Alarm.h:79
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::Alarm::Alarm
Alarm(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::Alarm::Alarm
Alarm()