AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateSpaceRequest.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/SpaceSettings.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API UpdateSpaceRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateSpace"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDomainId() const { return m_domainId; }
43 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
44 template<typename DomainIdT = Aws::String>
45 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
46 template<typename DomainIdT = Aws::String>
47 UpdateSpaceRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
55 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
56 template<typename SpaceNameT = Aws::String>
57 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
58 template<typename SpaceNameT = Aws::String>
59 UpdateSpaceRequest& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
61
63
66 inline const SpaceSettings& GetSpaceSettings() const { return m_spaceSettings; }
67 inline bool SpaceSettingsHasBeenSet() const { return m_spaceSettingsHasBeenSet; }
68 template<typename SpaceSettingsT = SpaceSettings>
69 void SetSpaceSettings(SpaceSettingsT&& value) { m_spaceSettingsHasBeenSet = true; m_spaceSettings = std::forward<SpaceSettingsT>(value); }
70 template<typename SpaceSettingsT = SpaceSettings>
71 UpdateSpaceRequest& WithSpaceSettings(SpaceSettingsT&& value) { SetSpaceSettings(std::forward<SpaceSettingsT>(value)); return *this;}
73
75
78 inline const Aws::String& GetSpaceDisplayName() const { return m_spaceDisplayName; }
79 inline bool SpaceDisplayNameHasBeenSet() const { return m_spaceDisplayNameHasBeenSet; }
80 template<typename SpaceDisplayNameT = Aws::String>
81 void SetSpaceDisplayName(SpaceDisplayNameT&& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = std::forward<SpaceDisplayNameT>(value); }
82 template<typename SpaceDisplayNameT = Aws::String>
83 UpdateSpaceRequest& WithSpaceDisplayName(SpaceDisplayNameT&& value) { SetSpaceDisplayName(std::forward<SpaceDisplayNameT>(value)); return *this;}
85 private:
86
87 Aws::String m_domainId;
88 bool m_domainIdHasBeenSet = false;
89
90 Aws::String m_spaceName;
91 bool m_spaceNameHasBeenSet = false;
92
93 SpaceSettings m_spaceSettings;
94 bool m_spaceSettingsHasBeenSet = false;
95
96 Aws::String m_spaceDisplayName;
97 bool m_spaceDisplayNameHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace SageMaker
102} // 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