AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateStudioLifecycleConfigRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/StudioLifecycleConfigAppType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace SageMaker
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_SAGEMAKER_API CreateStudioLifecycleConfigRequest() = default;
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_SAGEMAKER_API Aws::String SerializePayload() const override;
36
38
39
41
45 inline const Aws::String& GetStudioLifecycleConfigName() const { return m_studioLifecycleConfigName; }
46 inline bool StudioLifecycleConfigNameHasBeenSet() const { return m_studioLifecycleConfigNameHasBeenSet; }
47 template<typename StudioLifecycleConfigNameT = Aws::String>
48 void SetStudioLifecycleConfigName(StudioLifecycleConfigNameT&& value) { m_studioLifecycleConfigNameHasBeenSet = true; m_studioLifecycleConfigName = std::forward<StudioLifecycleConfigNameT>(value); }
49 template<typename StudioLifecycleConfigNameT = Aws::String>
50 CreateStudioLifecycleConfigRequest& WithStudioLifecycleConfigName(StudioLifecycleConfigNameT&& value) { SetStudioLifecycleConfigName(std::forward<StudioLifecycleConfigNameT>(value)); return *this;}
52
54
58 inline const Aws::String& GetStudioLifecycleConfigContent() const { return m_studioLifecycleConfigContent; }
59 inline bool StudioLifecycleConfigContentHasBeenSet() const { return m_studioLifecycleConfigContentHasBeenSet; }
60 template<typename StudioLifecycleConfigContentT = Aws::String>
61 void SetStudioLifecycleConfigContent(StudioLifecycleConfigContentT&& value) { m_studioLifecycleConfigContentHasBeenSet = true; m_studioLifecycleConfigContent = std::forward<StudioLifecycleConfigContentT>(value); }
62 template<typename StudioLifecycleConfigContentT = Aws::String>
63 CreateStudioLifecycleConfigRequest& WithStudioLifecycleConfigContent(StudioLifecycleConfigContentT&& value) { SetStudioLifecycleConfigContent(std::forward<StudioLifecycleConfigContentT>(value)); return *this;}
65
67
70 inline StudioLifecycleConfigAppType GetStudioLifecycleConfigAppType() const { return m_studioLifecycleConfigAppType; }
71 inline bool StudioLifecycleConfigAppTypeHasBeenSet() const { return m_studioLifecycleConfigAppTypeHasBeenSet; }
72 inline void SetStudioLifecycleConfigAppType(StudioLifecycleConfigAppType value) { m_studioLifecycleConfigAppTypeHasBeenSet = true; m_studioLifecycleConfigAppType = value; }
75
77
82 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
83 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
84 template<typename TagsT = Aws::Vector<Tag>>
85 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
86 template<typename TagsT = Aws::Vector<Tag>>
87 CreateStudioLifecycleConfigRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
88 template<typename TagsT = Tag>
89 CreateStudioLifecycleConfigRequest& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
91 private:
92
93 Aws::String m_studioLifecycleConfigName;
94 bool m_studioLifecycleConfigNameHasBeenSet = false;
95
96 Aws::String m_studioLifecycleConfigContent;
97 bool m_studioLifecycleConfigContentHasBeenSet = false;
98
100 bool m_studioLifecycleConfigAppTypeHasBeenSet = false;
101
102 Aws::Vector<Tag> m_tags;
103 bool m_tagsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SageMaker
108} // namespace Aws
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigName(StudioLifecycleConfigNameT &&value)
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigContent(StudioLifecycleConfigContentT &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API CreateStudioLifecycleConfigRequest()=default
void SetStudioLifecycleConfigContent(StudioLifecycleConfigContentT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreateStudioLifecycleConfigRequest & AddTags(TagsT &&value)
CreateStudioLifecycleConfigRequest & WithTags(TagsT &&value)
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigAppType(StudioLifecycleConfigAppType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector