AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
45 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
46 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
47 inline UpdateSpaceRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
48 inline UpdateSpaceRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
49 inline UpdateSpaceRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
51
53
56 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
57 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
58 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
59 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
60 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
61 inline UpdateSpaceRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
62 inline UpdateSpaceRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
63 inline UpdateSpaceRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
65
67
70 inline const SpaceSettings& GetSpaceSettings() const{ return m_spaceSettings; }
71 inline bool SpaceSettingsHasBeenSet() const { return m_spaceSettingsHasBeenSet; }
72 inline void SetSpaceSettings(const SpaceSettings& value) { m_spaceSettingsHasBeenSet = true; m_spaceSettings = value; }
73 inline void SetSpaceSettings(SpaceSettings&& value) { m_spaceSettingsHasBeenSet = true; m_spaceSettings = std::move(value); }
74 inline UpdateSpaceRequest& WithSpaceSettings(const SpaceSettings& value) { SetSpaceSettings(value); return *this;}
75 inline UpdateSpaceRequest& WithSpaceSettings(SpaceSettings&& value) { SetSpaceSettings(std::move(value)); return *this;}
77
79
82 inline const Aws::String& GetSpaceDisplayName() const{ return m_spaceDisplayName; }
83 inline bool SpaceDisplayNameHasBeenSet() const { return m_spaceDisplayNameHasBeenSet; }
84 inline void SetSpaceDisplayName(const Aws::String& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = value; }
85 inline void SetSpaceDisplayName(Aws::String&& value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName = std::move(value); }
86 inline void SetSpaceDisplayName(const char* value) { m_spaceDisplayNameHasBeenSet = true; m_spaceDisplayName.assign(value); }
87 inline UpdateSpaceRequest& WithSpaceDisplayName(const Aws::String& value) { SetSpaceDisplayName(value); return *this;}
88 inline UpdateSpaceRequest& WithSpaceDisplayName(Aws::String&& value) { SetSpaceDisplayName(std::move(value)); return *this;}
89 inline UpdateSpaceRequest& WithSpaceDisplayName(const char* value) { SetSpaceDisplayName(value); return *this;}
91 private:
92
93 Aws::String m_domainId;
94 bool m_domainIdHasBeenSet = false;
95
96 Aws::String m_spaceName;
97 bool m_spaceNameHasBeenSet = false;
98
99 SpaceSettings m_spaceSettings;
100 bool m_spaceSettingsHasBeenSet = false;
101
102 Aws::String m_spaceDisplayName;
103 bool m_spaceDisplayNameHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace SageMaker
108} // namespace Aws
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
void SetSpaceName(const Aws::String &value)
UpdateSpaceRequest & WithDomainId(const char *value)
UpdateSpaceRequest & WithSpaceName(const char *value)
UpdateSpaceRequest & WithSpaceDisplayName(Aws::String &&value)
UpdateSpaceRequest & WithSpaceName(Aws::String &&value)
UpdateSpaceRequest & WithSpaceSettings(SpaceSettings &&value)
const SpaceSettings & GetSpaceSettings() const
void SetSpaceDisplayName(const Aws::String &value)
UpdateSpaceRequest & WithDomainId(const Aws::String &value)
UpdateSpaceRequest & WithSpaceName(const Aws::String &value)
UpdateSpaceRequest & WithSpaceDisplayName(const Aws::String &value)
UpdateSpaceRequest & WithSpaceSettings(const SpaceSettings &value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetSpaceSettings(SpaceSettings &&value)
UpdateSpaceRequest & WithSpaceDisplayName(const char *value)
virtual const char * GetServiceRequestName() const override
void SetSpaceSettings(const SpaceSettings &value)
const Aws::String & GetSpaceDisplayName() const
UpdateSpaceRequest & WithDomainId(Aws::String &&value)
void SetDomainId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String