AWS SDK for C++  1.9.155
AWS SDK for C++
DeleteAppRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SageMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "DeleteApp"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetDomainId() const{ return m_domainId; }
42 
46  inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
47 
51  inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
52 
56  inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
57 
61  inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
62 
66  inline DeleteAppRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
67 
71  inline DeleteAppRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
72 
76  inline DeleteAppRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
77 
78 
82  inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
83 
87  inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
88 
92  inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; }
93 
97  inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); }
98 
102  inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); }
103 
107  inline DeleteAppRequest& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
108 
112  inline DeleteAppRequest& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
113 
117  inline DeleteAppRequest& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
118 
119 
123  inline const AppType& GetAppType() const{ return m_appType; }
124 
128  inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
129 
133  inline void SetAppType(const AppType& value) { m_appTypeHasBeenSet = true; m_appType = value; }
134 
138  inline void SetAppType(AppType&& value) { m_appTypeHasBeenSet = true; m_appType = std::move(value); }
139 
143  inline DeleteAppRequest& WithAppType(const AppType& value) { SetAppType(value); return *this;}
144 
148  inline DeleteAppRequest& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;}
149 
150 
154  inline const Aws::String& GetAppName() const{ return m_appName; }
155 
159  inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
160 
164  inline void SetAppName(const Aws::String& value) { m_appNameHasBeenSet = true; m_appName = value; }
165 
169  inline void SetAppName(Aws::String&& value) { m_appNameHasBeenSet = true; m_appName = std::move(value); }
170 
174  inline void SetAppName(const char* value) { m_appNameHasBeenSet = true; m_appName.assign(value); }
175 
179  inline DeleteAppRequest& WithAppName(const Aws::String& value) { SetAppName(value); return *this;}
180 
184  inline DeleteAppRequest& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;}
185 
189  inline DeleteAppRequest& WithAppName(const char* value) { SetAppName(value); return *this;}
190 
191  private:
192 
193  Aws::String m_domainId;
194  bool m_domainIdHasBeenSet;
195 
196  Aws::String m_userProfileName;
197  bool m_userProfileNameHasBeenSet;
198 
199  AppType m_appType;
200  bool m_appTypeHasBeenSet;
201 
202  Aws::String m_appName;
203  bool m_appNameHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace SageMaker
208 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DeleteAppRequest::WithUserProfileName
DeleteAppRequest & WithUserProfileName(const Aws::String &value)
Definition: DeleteAppRequest.h:107
Aws::SageMaker::Model::DeleteAppRequest::WithDomainId
DeleteAppRequest & WithDomainId(const Aws::String &value)
Definition: DeleteAppRequest.h:66
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::DeleteAppRequest::WithAppType
DeleteAppRequest & WithAppType(const AppType &value)
Definition: DeleteAppRequest.h:143
Aws::SageMaker::Model::DeleteAppRequest::SetAppName
void SetAppName(const Aws::String &value)
Definition: DeleteAppRequest.h:164
Aws::SageMaker::Model::AppType
AppType
Definition: AppType.h:17
Aws::SageMaker::Model::DeleteAppRequest::WithAppType
DeleteAppRequest & WithAppType(AppType &&value)
Definition: DeleteAppRequest.h:148
Aws::SageMaker::Model::DeleteAppRequest::GetAppType
const AppType & GetAppType() const
Definition: DeleteAppRequest.h:123
Aws::SageMaker::Model::DeleteAppRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::DeleteAppRequest::UserProfileNameHasBeenSet
bool UserProfileNameHasBeenSet() const
Definition: DeleteAppRequest.h:87
AppType.h
Aws::SageMaker::Model::DeleteAppRequest
Definition: DeleteAppRequest.h:23
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::DeleteAppRequest::SetAppType
void SetAppType(AppType &&value)
Definition: DeleteAppRequest.h:138
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DeleteAppRequest::SetDomainId
void SetDomainId(const char *value)
Definition: DeleteAppRequest.h:61
Aws::SageMaker::Model::DeleteAppRequest::WithUserProfileName
DeleteAppRequest & WithUserProfileName(const char *value)
Definition: DeleteAppRequest.h:117
Aws::SageMaker::Model::DeleteAppRequest::SetUserProfileName
void SetUserProfileName(Aws::String &&value)
Definition: DeleteAppRequest.h:97
Aws::SageMaker::Model::DeleteAppRequest::GetDomainId
const Aws::String & GetDomainId() const
Definition: DeleteAppRequest.h:41
AWSString.h
Aws::SageMaker::Model::DeleteAppRequest::SetAppName
void SetAppName(Aws::String &&value)
Definition: DeleteAppRequest.h:169
Aws::SageMaker::Model::DeleteAppRequest::DomainIdHasBeenSet
bool DomainIdHasBeenSet() const
Definition: DeleteAppRequest.h:46
Aws::SageMaker::Model::DeleteAppRequest::WithAppName
DeleteAppRequest & WithAppName(Aws::String &&value)
Definition: DeleteAppRequest.h:184
Aws::SageMaker::Model::DeleteAppRequest::GetUserProfileName
const Aws::String & GetUserProfileName() const
Definition: DeleteAppRequest.h:82
Aws::SageMaker::Model::DeleteAppRequest::AppTypeHasBeenSet
bool AppTypeHasBeenSet() const
Definition: DeleteAppRequest.h:128
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DeleteAppRequest::SetAppType
void SetAppType(const AppType &value)
Definition: DeleteAppRequest.h:133
SageMakerRequest.h
Aws::SageMaker::Model::DeleteAppRequest::AppNameHasBeenSet
bool AppNameHasBeenSet() const
Definition: DeleteAppRequest.h:159
Aws::SageMaker::Model::DeleteAppRequest::SetAppName
void SetAppName(const char *value)
Definition: DeleteAppRequest.h:174
Aws::SageMaker::Model::DeleteAppRequest::SetUserProfileName
void SetUserProfileName(const char *value)
Definition: DeleteAppRequest.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DeleteAppRequest::SetDomainId
void SetDomainId(const Aws::String &value)
Definition: DeleteAppRequest.h:51
Aws::SageMaker::Model::DeleteAppRequest::SetDomainId
void SetDomainId(Aws::String &&value)
Definition: DeleteAppRequest.h:56
Aws::SageMaker::Model::DeleteAppRequest::SetUserProfileName
void SetUserProfileName(const Aws::String &value)
Definition: DeleteAppRequest.h:92
Aws::SageMaker::Model::DeleteAppRequest::GetAppName
const Aws::String & GetAppName() const
Definition: DeleteAppRequest.h:154
Aws::SageMaker::Model::DeleteAppRequest::WithDomainId
DeleteAppRequest & WithDomainId(const char *value)
Definition: DeleteAppRequest.h:76
Aws::SageMaker::Model::DeleteAppRequest::WithAppName
DeleteAppRequest & WithAppName(const char *value)
Definition: DeleteAppRequest.h:189
Aws::SageMaker::Model::DeleteAppRequest::WithUserProfileName
DeleteAppRequest & WithUserProfileName(Aws::String &&value)
Definition: DeleteAppRequest.h:112
Aws::SageMaker::Model::DeleteAppRequest::DeleteAppRequest
DeleteAppRequest()
Aws::SageMaker::Model::DeleteAppRequest::WithDomainId
DeleteAppRequest & WithDomainId(Aws::String &&value)
Definition: DeleteAppRequest.h:71
Aws::SageMaker::Model::DeleteAppRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::DeleteAppRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteAppRequest.h:31
Aws::SageMaker::Model::DeleteAppRequest::WithAppName
DeleteAppRequest & WithAppName(const Aws::String &value)
Definition: DeleteAppRequest.h:179