AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteAppRequest.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/AppType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API DeleteAppRequest();
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_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 DeleteAppRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
48 inline DeleteAppRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
49 inline DeleteAppRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
51
53
57 inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
58 inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
59 inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; }
60 inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); }
61 inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); }
62 inline DeleteAppRequest& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
63 inline DeleteAppRequest& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
64 inline DeleteAppRequest& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
66
68
72 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
73 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
74 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
75 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
76 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
77 inline DeleteAppRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
78 inline DeleteAppRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
79 inline DeleteAppRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
81
83
86 inline const AppType& GetAppType() const{ return m_appType; }
87 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
88 inline void SetAppType(const AppType& value) { m_appTypeHasBeenSet = true; m_appType = value; }
89 inline void SetAppType(AppType&& value) { m_appTypeHasBeenSet = true; m_appType = std::move(value); }
90 inline DeleteAppRequest& WithAppType(const AppType& value) { SetAppType(value); return *this;}
91 inline DeleteAppRequest& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;}
93
95
98 inline const Aws::String& GetAppName() const{ return m_appName; }
99 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
100 inline void SetAppName(const Aws::String& value) { m_appNameHasBeenSet = true; m_appName = value; }
101 inline void SetAppName(Aws::String&& value) { m_appNameHasBeenSet = true; m_appName = std::move(value); }
102 inline void SetAppName(const char* value) { m_appNameHasBeenSet = true; m_appName.assign(value); }
103 inline DeleteAppRequest& WithAppName(const Aws::String& value) { SetAppName(value); return *this;}
104 inline DeleteAppRequest& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;}
105 inline DeleteAppRequest& WithAppName(const char* value) { SetAppName(value); return *this;}
107 private:
108
109 Aws::String m_domainId;
110 bool m_domainIdHasBeenSet = false;
111
112 Aws::String m_userProfileName;
113 bool m_userProfileNameHasBeenSet = false;
114
115 Aws::String m_spaceName;
116 bool m_spaceNameHasBeenSet = false;
117
118 AppType m_appType;
119 bool m_appTypeHasBeenSet = false;
120
121 Aws::String m_appName;
122 bool m_appNameHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace SageMaker
127} // namespace Aws
void SetUserProfileName(Aws::String &&value)
void SetAppType(const AppType &value)
void SetUserProfileName(const Aws::String &value)
void SetSpaceName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
const Aws::String & GetSpaceName() const
DeleteAppRequest & WithUserProfileName(Aws::String &&value)
DeleteAppRequest & WithSpaceName(const Aws::String &value)
DeleteAppRequest & WithDomainId(const char *value)
DeleteAppRequest & WithUserProfileName(const Aws::String &value)
DeleteAppRequest & WithDomainId(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteAppRequest & WithSpaceName(Aws::String &&value)
void SetAppName(const Aws::String &value)
void SetDomainId(const Aws::String &value)
const Aws::String & GetDomainId() const
DeleteAppRequest & WithUserProfileName(const char *value)
DeleteAppRequest & WithAppType(AppType &&value)
DeleteAppRequest & WithSpaceName(const char *value)
const Aws::String & GetAppName() const
DeleteAppRequest & WithAppName(const Aws::String &value)
DeleteAppRequest & WithAppName(Aws::String &&value)
DeleteAppRequest & WithAppType(const AppType &value)
const Aws::String & GetUserProfileName() const
DeleteAppRequest & WithDomainId(const Aws::String &value)
DeleteAppRequest & WithAppName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String