AWS SDK for C++  1.9.160
AWS SDK for C++
OfflineStoreStatus.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace SageMaker
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const OfflineStoreStatusValue& GetStatus() const{ return m_status; }
45 
49  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
50 
54  inline void SetStatus(const OfflineStoreStatusValue& value) { m_statusHasBeenSet = true; m_status = value; }
55 
59  inline void SetStatus(OfflineStoreStatusValue&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
60 
64  inline OfflineStoreStatus& WithStatus(const OfflineStoreStatusValue& value) { SetStatus(value); return *this;}
65 
69  inline OfflineStoreStatus& WithStatus(OfflineStoreStatusValue&& value) { SetStatus(std::move(value)); return *this;}
70 
71 
76  inline const Aws::String& GetBlockedReason() const{ return m_blockedReason; }
77 
82  inline bool BlockedReasonHasBeenSet() const { return m_blockedReasonHasBeenSet; }
83 
88  inline void SetBlockedReason(const Aws::String& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = value; }
89 
94  inline void SetBlockedReason(Aws::String&& value) { m_blockedReasonHasBeenSet = true; m_blockedReason = std::move(value); }
95 
100  inline void SetBlockedReason(const char* value) { m_blockedReasonHasBeenSet = true; m_blockedReason.assign(value); }
101 
106  inline OfflineStoreStatus& WithBlockedReason(const Aws::String& value) { SetBlockedReason(value); return *this;}
107 
112  inline OfflineStoreStatus& WithBlockedReason(Aws::String&& value) { SetBlockedReason(std::move(value)); return *this;}
113 
118  inline OfflineStoreStatus& WithBlockedReason(const char* value) { SetBlockedReason(value); return *this;}
119 
120  private:
121 
122  OfflineStoreStatusValue m_status;
123  bool m_statusHasBeenSet;
124 
125  Aws::String m_blockedReason;
126  bool m_blockedReasonHasBeenSet;
127  };
128 
129 } // namespace Model
130 } // namespace SageMaker
131 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::OfflineStoreStatus::OfflineStoreStatus
OfflineStoreStatus(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::OfflineStoreStatus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::OfflineStoreStatus::SetStatus
void SetStatus(OfflineStoreStatusValue &&value)
Definition: OfflineStoreStatus.h:59
Aws::SageMaker::Model::OfflineStoreStatus::WithStatus
OfflineStoreStatus & WithStatus(OfflineStoreStatusValue &&value)
Definition: OfflineStoreStatus.h:69
Aws::SageMaker::Model::OfflineStoreStatus::GetBlockedReason
const Aws::String & GetBlockedReason() const
Definition: OfflineStoreStatus.h:76
Aws::SageMaker::Model::OfflineStoreStatus::operator=
OfflineStoreStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
OfflineStoreStatusValue.h
Aws::SageMaker::Model::OfflineStoreStatusValue
OfflineStoreStatusValue
Definition: OfflineStoreStatusValue.h:17
Aws::SageMaker::Model::OfflineStoreStatus::WithBlockedReason
OfflineStoreStatus & WithBlockedReason(const char *value)
Definition: OfflineStoreStatus.h:118
Aws::SageMaker::Model::OfflineStoreStatus
Definition: OfflineStoreStatus.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::SageMaker::Model::OfflineStoreStatus::WithBlockedReason
OfflineStoreStatus & WithBlockedReason(Aws::String &&value)
Definition: OfflineStoreStatus.h:112
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::OfflineStoreStatus::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: OfflineStoreStatus.h:49
Aws::SageMaker::Model::OfflineStoreStatus::SetBlockedReason
void SetBlockedReason(const Aws::String &value)
Definition: OfflineStoreStatus.h:88
Aws::SageMaker::Model::OfflineStoreStatus::BlockedReasonHasBeenSet
bool BlockedReasonHasBeenSet() const
Definition: OfflineStoreStatus.h:82
Aws::SageMaker::Model::OfflineStoreStatus::OfflineStoreStatus
OfflineStoreStatus()
Aws::SageMaker::Model::OfflineStoreStatus::SetBlockedReason
void SetBlockedReason(const char *value)
Definition: OfflineStoreStatus.h:100
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::OfflineStoreStatus::SetBlockedReason
void SetBlockedReason(Aws::String &&value)
Definition: OfflineStoreStatus.h:94
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::OfflineStoreStatus::WithStatus
OfflineStoreStatus & WithStatus(const OfflineStoreStatusValue &value)
Definition: OfflineStoreStatus.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::OfflineStoreStatus::WithBlockedReason
OfflineStoreStatus & WithBlockedReason(const Aws::String &value)
Definition: OfflineStoreStatus.h:106
Aws::SageMaker::Model::OfflineStoreStatus::GetStatus
const OfflineStoreStatusValue & GetStatus() const
Definition: OfflineStoreStatus.h:44
Aws::SageMaker::Model::OfflineStoreStatus::SetStatus
void SetStatus(const OfflineStoreStatusValue &value)
Definition: OfflineStoreStatus.h:54