AWS SDK for C++  1.9.159
AWS SDK for C++
CreateStudioLifecycleConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace SageMaker
18 {
19 namespace Model
20 {
21 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "CreateStudioLifecycleConfig"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
43  inline const Aws::String& GetStudioLifecycleConfigName() const{ return m_studioLifecycleConfigName; }
44 
48  inline bool StudioLifecycleConfigNameHasBeenSet() const { return m_studioLifecycleConfigNameHasBeenSet; }
49 
53  inline void SetStudioLifecycleConfigName(const Aws::String& value) { m_studioLifecycleConfigNameHasBeenSet = true; m_studioLifecycleConfigName = value; }
54 
58  inline void SetStudioLifecycleConfigName(Aws::String&& value) { m_studioLifecycleConfigNameHasBeenSet = true; m_studioLifecycleConfigName = std::move(value); }
59 
63  inline void SetStudioLifecycleConfigName(const char* value) { m_studioLifecycleConfigNameHasBeenSet = true; m_studioLifecycleConfigName.assign(value); }
64 
68  inline CreateStudioLifecycleConfigRequest& WithStudioLifecycleConfigName(const Aws::String& value) { SetStudioLifecycleConfigName(value); return *this;}
69 
73  inline CreateStudioLifecycleConfigRequest& WithStudioLifecycleConfigName(Aws::String&& value) { SetStudioLifecycleConfigName(std::move(value)); return *this;}
74 
78  inline CreateStudioLifecycleConfigRequest& WithStudioLifecycleConfigName(const char* value) { SetStudioLifecycleConfigName(value); return *this;}
79 
80 
85  inline const Aws::String& GetStudioLifecycleConfigContent() const{ return m_studioLifecycleConfigContent; }
86 
91  inline bool StudioLifecycleConfigContentHasBeenSet() const { return m_studioLifecycleConfigContentHasBeenSet; }
92 
97  inline void SetStudioLifecycleConfigContent(const Aws::String& value) { m_studioLifecycleConfigContentHasBeenSet = true; m_studioLifecycleConfigContent = value; }
98 
103  inline void SetStudioLifecycleConfigContent(Aws::String&& value) { m_studioLifecycleConfigContentHasBeenSet = true; m_studioLifecycleConfigContent = std::move(value); }
104 
109  inline void SetStudioLifecycleConfigContent(const char* value) { m_studioLifecycleConfigContentHasBeenSet = true; m_studioLifecycleConfigContent.assign(value); }
110 
115  inline CreateStudioLifecycleConfigRequest& WithStudioLifecycleConfigContent(const Aws::String& value) { SetStudioLifecycleConfigContent(value); return *this;}
116 
121  inline CreateStudioLifecycleConfigRequest& WithStudioLifecycleConfigContent(Aws::String&& value) { SetStudioLifecycleConfigContent(std::move(value)); return *this;}
122 
127  inline CreateStudioLifecycleConfigRequest& WithStudioLifecycleConfigContent(const char* value) { SetStudioLifecycleConfigContent(value); return *this;}
128 
129 
133  inline const StudioLifecycleConfigAppType& GetStudioLifecycleConfigAppType() const{ return m_studioLifecycleConfigAppType; }
134 
138  inline bool StudioLifecycleConfigAppTypeHasBeenSet() const { return m_studioLifecycleConfigAppTypeHasBeenSet; }
139 
143  inline void SetStudioLifecycleConfigAppType(const StudioLifecycleConfigAppType& value) { m_studioLifecycleConfigAppTypeHasBeenSet = true; m_studioLifecycleConfigAppType = value; }
144 
148  inline void SetStudioLifecycleConfigAppType(StudioLifecycleConfigAppType&& value) { m_studioLifecycleConfigAppTypeHasBeenSet = true; m_studioLifecycleConfigAppType = std::move(value); }
149 
153  inline CreateStudioLifecycleConfigRequest& WithStudioLifecycleConfigAppType(const StudioLifecycleConfigAppType& value) { SetStudioLifecycleConfigAppType(value); return *this;}
154 
158  inline CreateStudioLifecycleConfigRequest& WithStudioLifecycleConfigAppType(StudioLifecycleConfigAppType&& value) { SetStudioLifecycleConfigAppType(std::move(value)); return *this;}
159 
160 
166  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
167 
173  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
174 
180  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
181 
187  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
188 
194  inline CreateStudioLifecycleConfigRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
195 
201  inline CreateStudioLifecycleConfigRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
202 
208  inline CreateStudioLifecycleConfigRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
209 
215  inline CreateStudioLifecycleConfigRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
216 
217  private:
218 
219  Aws::String m_studioLifecycleConfigName;
220  bool m_studioLifecycleConfigNameHasBeenSet;
221 
222  Aws::String m_studioLifecycleConfigContent;
223  bool m_studioLifecycleConfigContentHasBeenSet;
224 
225  StudioLifecycleConfigAppType m_studioLifecycleConfigAppType;
226  bool m_studioLifecycleConfigAppTypeHasBeenSet;
227 
228  Aws::Vector<Tag> m_tags;
229  bool m_tagsHasBeenSet;
230  };
231 
232 } // namespace Model
233 } // namespace SageMaker
234 } // namespace Aws
Aws::SageMaker::Model::Tag
Definition: Tag.h:44
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::SetStudioLifecycleConfigName
void SetStudioLifecycleConfigName(const char *value)
Definition: CreateStudioLifecycleConfigRequest.h:63
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::WithTags
CreateStudioLifecycleConfigRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: CreateStudioLifecycleConfigRequest.h:201
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::CreateStudioLifecycleConfigRequest
CreateStudioLifecycleConfigRequest()
SageMaker_EXPORTS.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::GetStudioLifecycleConfigAppType
const StudioLifecycleConfigAppType & GetStudioLifecycleConfigAppType() const
Definition: CreateStudioLifecycleConfigRequest.h:133
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CreateStudioLifecycleConfigRequest.h:173
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::AddTags
CreateStudioLifecycleConfigRequest & AddTags(Tag &&value)
Definition: CreateStudioLifecycleConfigRequest.h:215
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::GetStudioLifecycleConfigContent
const Aws::String & GetStudioLifecycleConfigContent() const
Definition: CreateStudioLifecycleConfigRequest.h:85
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::SetStudioLifecycleConfigContent
void SetStudioLifecycleConfigContent(const char *value)
Definition: CreateStudioLifecycleConfigRequest.h:109
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::StudioLifecycleConfigNameHasBeenSet
bool StudioLifecycleConfigNameHasBeenSet() const
Definition: CreateStudioLifecycleConfigRequest.h:48
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::SetStudioLifecycleConfigAppType
void SetStudioLifecycleConfigAppType(StudioLifecycleConfigAppType &&value)
Definition: CreateStudioLifecycleConfigRequest.h:148
AWSVector.h
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::StudioLifecycleConfigContentHasBeenSet
bool StudioLifecycleConfigContentHasBeenSet() const
Definition: CreateStudioLifecycleConfigRequest.h:91
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::WithStudioLifecycleConfigContent
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigContent(Aws::String &&value)
Definition: CreateStudioLifecycleConfigRequest.h:121
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::SetStudioLifecycleConfigAppType
void SetStudioLifecycleConfigAppType(const StudioLifecycleConfigAppType &value)
Definition: CreateStudioLifecycleConfigRequest.h:143
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::WithStudioLifecycleConfigContent
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigContent(const char *value)
Definition: CreateStudioLifecycleConfigRequest.h:127
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::WithStudioLifecycleConfigName
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigName(Aws::String &&value)
Definition: CreateStudioLifecycleConfigRequest.h:73
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::SetStudioLifecycleConfigContent
void SetStudioLifecycleConfigContent(Aws::String &&value)
Definition: CreateStudioLifecycleConfigRequest.h:103
AWSString.h
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateStudioLifecycleConfigRequest.h:33
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::GetStudioLifecycleConfigName
const Aws::String & GetStudioLifecycleConfigName() const
Definition: CreateStudioLifecycleConfigRequest.h:43
Tag.h
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CreateStudioLifecycleConfigRequest.h:187
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::WithStudioLifecycleConfigName
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigName(const char *value)
Definition: CreateStudioLifecycleConfigRequest.h:78
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::WithStudioLifecycleConfigContent
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigContent(const Aws::String &value)
Definition: CreateStudioLifecycleConfigRequest.h:115
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CreateStudioLifecycleConfigRequest.h:180
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::WithStudioLifecycleConfigName
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigName(const Aws::String &value)
Definition: CreateStudioLifecycleConfigRequest.h:68
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest
Definition: CreateStudioLifecycleConfigRequest.h:25
SageMakerRequest.h
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::StudioLifecycleConfigAppTypeHasBeenSet
bool StudioLifecycleConfigAppTypeHasBeenSet() const
Definition: CreateStudioLifecycleConfigRequest.h:138
StudioLifecycleConfigAppType.h
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CreateStudioLifecycleConfigRequest.h:166
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::AddTags
CreateStudioLifecycleConfigRequest & AddTags(const Tag &value)
Definition: CreateStudioLifecycleConfigRequest.h:208
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::WithStudioLifecycleConfigAppType
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigAppType(StudioLifecycleConfigAppType &&value)
Definition: CreateStudioLifecycleConfigRequest.h:158
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::SetStudioLifecycleConfigName
void SetStudioLifecycleConfigName(Aws::String &&value)
Definition: CreateStudioLifecycleConfigRequest.h:58
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::WithStudioLifecycleConfigAppType
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigAppType(const StudioLifecycleConfigAppType &value)
Definition: CreateStudioLifecycleConfigRequest.h:153
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::SetStudioLifecycleConfigContent
void SetStudioLifecycleConfigContent(const Aws::String &value)
Definition: CreateStudioLifecycleConfigRequest.h:97
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::StudioLifecycleConfigAppType
StudioLifecycleConfigAppType
Definition: StudioLifecycleConfigAppType.h:17
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::SetStudioLifecycleConfigName
void SetStudioLifecycleConfigName(const Aws::String &value)
Definition: CreateStudioLifecycleConfigRequest.h:53
Aws::SageMaker::Model::CreateStudioLifecycleConfigRequest::WithTags
CreateStudioLifecycleConfigRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: CreateStudioLifecycleConfigRequest.h:194