AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
DeleteAppRequest.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/AppType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SageMaker {
16namespace Model {
17
21 public:
22 AWS_SAGEMAKER_API DeleteAppRequest() = 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 "DeleteApp"; }
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 DeleteAppRequest& WithDomainId(DomainIdT&& value) {
47 SetDomainId(std::forward<DomainIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetUserProfileName() const { return m_userProfileName; }
58 inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
59 template <typename UserProfileNameT = Aws::String>
60 void SetUserProfileName(UserProfileNameT&& value) {
61 m_userProfileNameHasBeenSet = true;
62 m_userProfileName = std::forward<UserProfileNameT>(value);
63 }
64 template <typename UserProfileNameT = Aws::String>
65 DeleteAppRequest& WithUserProfileName(UserProfileNameT&& value) {
66 SetUserProfileName(std::forward<UserProfileNameT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
77 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
78 template <typename SpaceNameT = Aws::String>
79 void SetSpaceName(SpaceNameT&& value) {
80 m_spaceNameHasBeenSet = true;
81 m_spaceName = std::forward<SpaceNameT>(value);
82 }
83 template <typename SpaceNameT = Aws::String>
84 DeleteAppRequest& WithSpaceName(SpaceNameT&& value) {
85 SetSpaceName(std::forward<SpaceNameT>(value));
86 return *this;
87 }
89
91
94 inline AppType GetAppType() const { return m_appType; }
95 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
96 inline void SetAppType(AppType value) {
97 m_appTypeHasBeenSet = true;
98 m_appType = value;
99 }
101 SetAppType(value);
102 return *this;
103 }
105
107
110 inline const Aws::String& GetAppName() const { return m_appName; }
111 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
112 template <typename AppNameT = Aws::String>
113 void SetAppName(AppNameT&& value) {
114 m_appNameHasBeenSet = true;
115 m_appName = std::forward<AppNameT>(value);
116 }
117 template <typename AppNameT = Aws::String>
118 DeleteAppRequest& WithAppName(AppNameT&& value) {
119 SetAppName(std::forward<AppNameT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_domainId;
125
126 Aws::String m_userProfileName;
127
128 Aws::String m_spaceName;
129
130 AppType m_appType{AppType::NOT_SET};
131
132 Aws::String m_appName;
133 bool m_domainIdHasBeenSet = false;
134 bool m_userProfileNameHasBeenSet = false;
135 bool m_spaceNameHasBeenSet = false;
136 bool m_appTypeHasBeenSet = false;
137 bool m_appNameHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace SageMaker
142} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
DeleteAppRequest & WithSpaceName(SpaceNameT &&value)
const Aws::String & GetSpaceName() const
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteAppRequest & WithAppType(AppType value)
const Aws::String & GetDomainId() const
DeleteAppRequest & WithDomainId(DomainIdT &&value)
DeleteAppRequest & WithAppName(AppNameT &&value)
const Aws::String & GetAppName() const
void SetUserProfileName(UserProfileNameT &&value)
DeleteAppRequest & WithUserProfileName(UserProfileNameT &&value)
const Aws::String & GetUserProfileName() const
AWS_SAGEMAKER_API DeleteAppRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String