AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OfflineStoreStatus.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/OfflineStoreStatusValue.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 OfflineStoreStatus();
36 AWS_SAGEMAKER_API OfflineStoreStatus(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const OfflineStoreStatusValue& GetStatus() const{ return m_status; }
46 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
47 inline void SetStatus(const OfflineStoreStatusValue& value) { m_statusHasBeenSet = true; m_status = value; }
48 inline void SetStatus(OfflineStoreStatusValue&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
49 inline OfflineStoreStatus& WithStatus(const OfflineStoreStatusValue& value) { SetStatus(value); return *this;}
50 inline OfflineStoreStatus& WithStatus(OfflineStoreStatusValue&& value) { SetStatus(std::move(value)); return *this;}
52
54
58 inline const Aws::String& GetBlockedReason() const{ return m_blockedReason; }
59 inline bool BlockedReasonHasBeenSet() const { return m_blockedReasonHasBeenSet; }
60 inline void SetBlockedReason(const Aws::String& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = value; }
61 inline void SetBlockedReason(Aws::String&& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = std::move(value); }
62 inline void SetBlockedReason(const char* value) { m_blockedReasonHasBeenSet = true; m_blockedReason.assign(value); }
63 inline OfflineStoreStatus& WithBlockedReason(const Aws::String& value) { SetBlockedReason(value); return *this;}
64 inline OfflineStoreStatus& WithBlockedReason(Aws::String&& value) { SetBlockedReason(std::move(value)); return *this;}
65 inline OfflineStoreStatus& WithBlockedReason(const char* value) { SetBlockedReason(value); return *this;}
67 private:
68
70 bool m_statusHasBeenSet = false;
71
72 Aws::String m_blockedReason;
73 bool m_blockedReasonHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SageMaker
78} // namespace Aws
OfflineStoreStatus & WithBlockedReason(const Aws::String &value)
void SetBlockedReason(const Aws::String &value)
OfflineStoreStatus & WithBlockedReason(const char *value)
const OfflineStoreStatusValue & GetStatus() const
AWS_SAGEMAKER_API OfflineStoreStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetBlockedReason() const
AWS_SAGEMAKER_API OfflineStoreStatus(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
OfflineStoreStatus & WithBlockedReason(Aws::String &&value)
OfflineStoreStatus & WithStatus(const OfflineStoreStatusValue &value)
void SetStatus(const OfflineStoreStatusValue &value)
OfflineStoreStatus & WithStatus(OfflineStoreStatusValue &&value)
void SetStatus(OfflineStoreStatusValue &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue