AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 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 DeleteAppRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
49
51
55 inline const Aws::String& GetUserProfileName() const { return m_userProfileName; }
56 inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
57 template<typename UserProfileNameT = Aws::String>
58 void SetUserProfileName(UserProfileNameT&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::forward<UserProfileNameT>(value); }
59 template<typename UserProfileNameT = Aws::String>
60 DeleteAppRequest& WithUserProfileName(UserProfileNameT&& value) { SetUserProfileName(std::forward<UserProfileNameT>(value)); return *this;}
62
64
68 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
69 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
70 template<typename SpaceNameT = Aws::String>
71 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
72 template<typename SpaceNameT = Aws::String>
73 DeleteAppRequest& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
75
77
80 inline AppType GetAppType() const { return m_appType; }
81 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
82 inline void SetAppType(AppType value) { m_appTypeHasBeenSet = true; m_appType = value; }
83 inline DeleteAppRequest& WithAppType(AppType value) { SetAppType(value); return *this;}
85
87
90 inline const Aws::String& GetAppName() const { return m_appName; }
91 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
92 template<typename AppNameT = Aws::String>
93 void SetAppName(AppNameT&& value) { m_appNameHasBeenSet = true; m_appName = std::forward<AppNameT>(value); }
94 template<typename AppNameT = Aws::String>
95 DeleteAppRequest& WithAppName(AppNameT&& value) { SetAppName(std::forward<AppNameT>(value)); return *this;}
97 private:
98
99 Aws::String m_domainId;
100 bool m_domainIdHasBeenSet = false;
101
102 Aws::String m_userProfileName;
103 bool m_userProfileNameHasBeenSet = false;
104
105 Aws::String m_spaceName;
106 bool m_spaceNameHasBeenSet = false;
107
108 AppType m_appType{AppType::NOT_SET};
109 bool m_appTypeHasBeenSet = false;
110
111 Aws::String m_appName;
112 bool m_appNameHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace SageMaker
117} // 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