AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSpaceRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/model/SpaceSettings.h>
12#include <aws/sagemaker/model/OwnershipSettings.h>
13#include <aws/sagemaker/model/SpaceSharingSettings.h>
14#include <aws/sagemaker/model/Tag.h>
15#include <utility>
16
17namespace Aws
18{
19namespace SageMaker
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_SAGEMAKER_API CreateSpaceRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateSpace"; }
36
37 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
38
40
41
43
46 inline const Aws::String& GetDomainId() const{ return m_domainId; }
47 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
48 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
49 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
50 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
51 inline CreateSpaceRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
52 inline CreateSpaceRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
53 inline CreateSpaceRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
55
57
60 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
61 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
62 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
63 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
64 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
65 inline CreateSpaceRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
66 inline CreateSpaceRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
67 inline CreateSpaceRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
69
71
76 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
77 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
78 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
79 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
80 inline CreateSpaceRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
81 inline CreateSpaceRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
82 inline CreateSpaceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
83 inline CreateSpaceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
85
87
90 inline const SpaceSettings& GetSpaceSettings() const{ return m_spaceSettings; }
91 inline bool SpaceSettingsHasBeenSet() const { return m_spaceSettingsHasBeenSet; }
92 inline void SetSpaceSettings(const SpaceSettings& value) { m_spaceSettingsHasBeenSet = true; m_spaceSettings = value; }
93 inline void SetSpaceSettings(SpaceSettings&& value) { m_spaceSettingsHasBeenSet = true; m_spaceSettings = std::move(value); }
94 inline CreateSpaceRequest& WithSpaceSettings(const SpaceSettings& value) { SetSpaceSettings(value); return *this;}
95 inline CreateSpaceRequest& WithSpaceSettings(SpaceSettings&& value) { SetSpaceSettings(std::move(value)); return *this;}
97
99
102 inline const OwnershipSettings& GetOwnershipSettings() const{ return m_ownershipSettings; }
103 inline bool OwnershipSettingsHasBeenSet() const { return m_ownershipSettingsHasBeenSet; }
104 inline void SetOwnershipSettings(const OwnershipSettings& value) { m_ownershipSettingsHasBeenSet = true; m_ownershipSettings = value; }
105 inline void SetOwnershipSettings(OwnershipSettings&& value) { m_ownershipSettingsHasBeenSet = true; m_ownershipSettings = std::move(value); }
107 inline CreateSpaceRequest& WithOwnershipSettings(OwnershipSettings&& value) { SetOwnershipSettings(std::move(value)); return *this;}
109
111
114 inline const SpaceSharingSettings& GetSpaceSharingSettings() const{ return m_spaceSharingSettings; }
115 inline bool SpaceSharingSettingsHasBeenSet() const { return m_spaceSharingSettingsHasBeenSet; }
116 inline void SetSpaceSharingSettings(const SpaceSharingSettings& value) { m_spaceSharingSettingsHasBeenSet = true; m_spaceSharingSettings = value; }
117 inline void SetSpaceSharingSettings(SpaceSharingSettings&& value) { m_spaceSharingSettingsHasBeenSet = true; m_spaceSharingSettings = std::move(value); }
121
123
126 inline const Aws::String& GetSpaceDisplayName() const{ return m_spaceDisplayName; }
127 inline bool SpaceDisplayNameHasBeenSet() const { return m_spaceDisplayNameHasBeenSet; }
128 inline void SetSpaceDisplayName(const Aws::String& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = value; }
129 inline void SetSpaceDisplayName(Aws::String&& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = std::move(value); }
130 inline void SetSpaceDisplayName(const char* value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName.assign(value); }
131 inline CreateSpaceRequest& WithSpaceDisplayName(const Aws::String& value) { SetSpaceDisplayName(value); return *this;}
132 inline CreateSpaceRequest& WithSpaceDisplayName(Aws::String&& value) { SetSpaceDisplayName(std::move(value)); return *this;}
133 inline CreateSpaceRequest& WithSpaceDisplayName(const char* value) { SetSpaceDisplayName(value); return *this;}
135 private:
136
137 Aws::String m_domainId;
138 bool m_domainIdHasBeenSet = false;
139
140 Aws::String m_spaceName;
141 bool m_spaceNameHasBeenSet = false;
142
143 Aws::Vector<Tag> m_tags;
144 bool m_tagsHasBeenSet = false;
145
146 SpaceSettings m_spaceSettings;
147 bool m_spaceSettingsHasBeenSet = false;
148
149 OwnershipSettings m_ownershipSettings;
150 bool m_ownershipSettingsHasBeenSet = false;
151
152 SpaceSharingSettings m_spaceSharingSettings;
153 bool m_spaceSharingSettingsHasBeenSet = false;
154
155 Aws::String m_spaceDisplayName;
156 bool m_spaceDisplayNameHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace SageMaker
161} // namespace Aws
const SpaceSettings & GetSpaceSettings() const
const Aws::Vector< Tag > & GetTags() const
CreateSpaceRequest & WithSpaceSharingSettings(SpaceSharingSettings &&value)
void SetSpaceSharingSettings(SpaceSharingSettings &&value)
CreateSpaceRequest & WithSpaceDisplayName(Aws::String &&value)
CreateSpaceRequest & WithSpaceDisplayName(const char *value)
void SetSpaceName(const Aws::String &value)
CreateSpaceRequest & AddTags(Tag &&value)
void SetDomainId(const Aws::String &value)
CreateSpaceRequest & WithTags(Aws::Vector< Tag > &&value)
CreateSpaceRequest & WithSpaceName(Aws::String &&value)
CreateSpaceRequest & WithSpaceName(const char *value)
CreateSpaceRequest & WithSpaceName(const Aws::String &value)
CreateSpaceRequest & AddTags(const Tag &value)
CreateSpaceRequest & WithOwnershipSettings(const OwnershipSettings &value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetTags(Aws::Vector< Tag > &&value)
CreateSpaceRequest & WithOwnershipSettings(OwnershipSettings &&value)
const OwnershipSettings & GetOwnershipSettings() const
void SetOwnershipSettings(const OwnershipSettings &value)
CreateSpaceRequest & WithDomainId(const Aws::String &value)
CreateSpaceRequest & WithDomainId(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateSpaceRequest & WithTags(const Aws::Vector< Tag > &value)
void SetTags(const Aws::Vector< Tag > &value)
void SetSpaceSharingSettings(const SpaceSharingSettings &value)
CreateSpaceRequest & WithSpaceSettings(const SpaceSettings &value)
const Aws::String & GetSpaceDisplayName() const
void SetSpaceDisplayName(const Aws::String &value)
CreateSpaceRequest & WithSpaceSharingSettings(const SpaceSharingSettings &value)
void SetSpaceSettings(const SpaceSettings &value)
CreateSpaceRequest & WithSpaceDisplayName(const Aws::String &value)
CreateSpaceRequest & WithDomainId(const char *value)
void SetSpaceSettings(SpaceSettings &&value)
virtual const char * GetServiceRequestName() const override
void SetOwnershipSettings(OwnershipSettings &&value)
CreateSpaceRequest & WithSpaceSettings(SpaceSettings &&value)
const SpaceSharingSettings & GetSpaceSharingSettings() const
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