AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateSpaceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/SpaceSettings.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API UpdateSpaceRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateSpace"; }
29
30 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetDomainId() const { return m_domainId; }
39 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
40 template <typename DomainIdT = Aws::String>
41 void SetDomainId(DomainIdT&& value) {
42 m_domainIdHasBeenSet = true;
43 m_domainId = std::forward<DomainIdT>(value);
44 }
45 template <typename DomainIdT = Aws::String>
46 UpdateSpaceRequest& WithDomainId(DomainIdT&& value) {
47 SetDomainId(std::forward<DomainIdT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
57 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
58 template <typename SpaceNameT = Aws::String>
59 void SetSpaceName(SpaceNameT&& value) {
60 m_spaceNameHasBeenSet = true;
61 m_spaceName = std::forward<SpaceNameT>(value);
62 }
63 template <typename SpaceNameT = Aws::String>
64 UpdateSpaceRequest& WithSpaceName(SpaceNameT&& value) {
65 SetSpaceName(std::forward<SpaceNameT>(value));
66 return *this;
67 }
69
71
74 inline const SpaceSettings& GetSpaceSettings() const { return m_spaceSettings; }
75 inline bool SpaceSettingsHasBeenSet() const { return m_spaceSettingsHasBeenSet; }
76 template <typename SpaceSettingsT = SpaceSettings>
77 void SetSpaceSettings(SpaceSettingsT&& value) {
78 m_spaceSettingsHasBeenSet = true;
79 m_spaceSettings = std::forward<SpaceSettingsT>(value);
80 }
81 template <typename SpaceSettingsT = SpaceSettings>
82 UpdateSpaceRequest& WithSpaceSettings(SpaceSettingsT&& value) {
83 SetSpaceSettings(std::forward<SpaceSettingsT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetSpaceDisplayName() const { return m_spaceDisplayName; }
93 inline bool SpaceDisplayNameHasBeenSet() const { return m_spaceDisplayNameHasBeenSet; }
94 template <typename SpaceDisplayNameT = Aws::String>
95 void SetSpaceDisplayName(SpaceDisplayNameT&& value) {
96 m_spaceDisplayNameHasBeenSet = true;
97 m_spaceDisplayName = std::forward<SpaceDisplayNameT>(value);
98 }
99 template <typename SpaceDisplayNameT = Aws::String>
100 UpdateSpaceRequest& WithSpaceDisplayName(SpaceDisplayNameT&& value) {
101 SetSpaceDisplayName(std::forward<SpaceDisplayNameT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_domainId;
107
108 Aws::String m_spaceName;
109
110 SpaceSettings m_spaceSettings;
111
112 Aws::String m_spaceDisplayName;
113 bool m_domainIdHasBeenSet = false;
114 bool m_spaceNameHasBeenSet = false;
115 bool m_spaceSettingsHasBeenSet = false;
116 bool m_spaceDisplayNameHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace SageMaker
121} // namespace Aws
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
UpdateSpaceRequest & WithSpaceSettings(SpaceSettingsT &&value)
void SetSpaceSettings(SpaceSettingsT &&value)
const SpaceSettings & GetSpaceSettings() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API UpdateSpaceRequest()=default
UpdateSpaceRequest & WithSpaceDisplayName(SpaceDisplayNameT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetSpaceDisplayName() const
UpdateSpaceRequest & WithSpaceName(SpaceNameT &&value)
UpdateSpaceRequest & WithDomainId(DomainIdT &&value)
void SetSpaceDisplayName(SpaceDisplayNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String