AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetStudioLifecycleConfigName(const Aws::String& value) { m_studioLifecycleConfigNameHasBeenSet = true; m_studioLifecycleConfigName = value; }
48 inline void SetStudioLifecycleConfigName(Aws::String&& value) { m_studioLifecycleConfigNameHasBeenSet = true; m_studioLifecycleConfigName = std::move(value); }
49 inline void SetStudioLifecycleConfigName(const char* value) { m_studioLifecycleConfigNameHasBeenSet = true; m_studioLifecycleConfigName.assign(value); }
54
56
60 inline const Aws::String& GetStudioLifecycleConfigContent() const{ return m_studioLifecycleConfigContent; }
61 inline bool StudioLifecycleConfigContentHasBeenSet() const { return m_studioLifecycleConfigContentHasBeenSet; }
62 inline void SetStudioLifecycleConfigContent(const Aws::String& value) { m_studioLifecycleConfigContentHasBeenSet = true; m_studioLifecycleConfigContent = value; }
63 inline void SetStudioLifecycleConfigContent(Aws::String&& value) { m_studioLifecycleConfigContentHasBeenSet = true; m_studioLifecycleConfigContent = std::move(value); }
64 inline void SetStudioLifecycleConfigContent(const char* value) { m_studioLifecycleConfigContentHasBeenSet = true; m_studioLifecycleConfigContent.assign(value); }
69
71
74 inline const StudioLifecycleConfigAppType& GetStudioLifecycleConfigAppType() const{ return m_studioLifecycleConfigAppType; }
75 inline bool StudioLifecycleConfigAppTypeHasBeenSet() const { return m_studioLifecycleConfigAppTypeHasBeenSet; }
76 inline void SetStudioLifecycleConfigAppType(const StudioLifecycleConfigAppType& value) { m_studioLifecycleConfigAppTypeHasBeenSet = true; m_studioLifecycleConfigAppType = value; }
77 inline void SetStudioLifecycleConfigAppType(StudioLifecycleConfigAppType&& value) { m_studioLifecycleConfigAppTypeHasBeenSet = true; m_studioLifecycleConfigAppType = std::move(value); }
81
83
88 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
89 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
90 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
91 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
92 inline CreateStudioLifecycleConfigRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
93 inline CreateStudioLifecycleConfigRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
94 inline CreateStudioLifecycleConfigRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
95 inline CreateStudioLifecycleConfigRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
97 private:
98
99 Aws::String m_studioLifecycleConfigName;
100 bool m_studioLifecycleConfigNameHasBeenSet = false;
101
102 Aws::String m_studioLifecycleConfigContent;
103 bool m_studioLifecycleConfigContentHasBeenSet = false;
104
105 StudioLifecycleConfigAppType m_studioLifecycleConfigAppType;
106 bool m_studioLifecycleConfigAppTypeHasBeenSet = false;
107
108 Aws::Vector<Tag> m_tags;
109 bool m_tagsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace SageMaker
114} // namespace Aws
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigAppType(StudioLifecycleConfigAppType &&value)
CreateStudioLifecycleConfigRequest & WithTags(const Aws::Vector< Tag > &value)
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigContent(Aws::String &&value)
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigName(const Aws::String &value)
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigContent(const char *value)
CreateStudioLifecycleConfigRequest & AddTags(const Tag &value)
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigName(const char *value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetStudioLifecycleConfigAppType(const StudioLifecycleConfigAppType &value)
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigContent(const Aws::String &value)
const StudioLifecycleConfigAppType & GetStudioLifecycleConfigAppType() const
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigAppType(const StudioLifecycleConfigAppType &value)
CreateStudioLifecycleConfigRequest & WithTags(Aws::Vector< Tag > &&value)
CreateStudioLifecycleConfigRequest & WithStudioLifecycleConfigName(Aws::String &&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