AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
SpaceSettingsSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AppType.h>
9#include <aws/sagemaker/model/FeatureStatus.h>
10#include <aws/sagemaker/model/SpaceStorageSettings.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKER_API SpaceSettingsSummary() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline AppType GetAppType() const { return m_appType; }
42 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
43 inline void SetAppType(AppType value) {
44 m_appTypeHasBeenSet = true;
45 m_appType = value;
46 }
48 SetAppType(value);
49 return *this;
50 }
52
54
58 inline FeatureStatus GetRemoteAccess() const { return m_remoteAccess; }
59 inline bool RemoteAccessHasBeenSet() const { return m_remoteAccessHasBeenSet; }
60 inline void SetRemoteAccess(FeatureStatus value) {
61 m_remoteAccessHasBeenSet = true;
62 m_remoteAccess = value;
63 }
65 SetRemoteAccess(value);
66 return *this;
67 }
69
71
74 inline const SpaceStorageSettings& GetSpaceStorageSettings() const { return m_spaceStorageSettings; }
75 inline bool SpaceStorageSettingsHasBeenSet() const { return m_spaceStorageSettingsHasBeenSet; }
76 template <typename SpaceStorageSettingsT = SpaceStorageSettings>
77 void SetSpaceStorageSettings(SpaceStorageSettingsT&& value) {
78 m_spaceStorageSettingsHasBeenSet = true;
79 m_spaceStorageSettings = std::forward<SpaceStorageSettingsT>(value);
80 }
81 template <typename SpaceStorageSettingsT = SpaceStorageSettings>
82 SpaceSettingsSummary& WithSpaceStorageSettings(SpaceStorageSettingsT&& value) {
83 SetSpaceStorageSettings(std::forward<SpaceStorageSettingsT>(value));
84 return *this;
85 }
87 private:
88 AppType m_appType{AppType::NOT_SET};
89
91
92 SpaceStorageSettings m_spaceStorageSettings;
93 bool m_appTypeHasBeenSet = false;
94 bool m_remoteAccessHasBeenSet = false;
95 bool m_spaceStorageSettingsHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace SageMaker
100} // namespace Aws
AWS_SAGEMAKER_API SpaceSettingsSummary()=default
AWS_SAGEMAKER_API SpaceSettingsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SpaceSettingsSummary & WithAppType(AppType value)
AWS_SAGEMAKER_API SpaceSettingsSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
SpaceSettingsSummary & WithSpaceStorageSettings(SpaceStorageSettingsT &&value)
void SetSpaceStorageSettings(SpaceStorageSettingsT &&value)
SpaceSettingsSummary & WithRemoteAccess(FeatureStatus value)
const SpaceStorageSettings & GetSpaceStorageSettings() const
Aws::Utils::Json::JsonValue JsonValue