AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAppRequest.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 DescribeAppRequest();
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 "DescribeApp"; }
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 DescribeAppRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
48 inline DescribeAppRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
49 inline DescribeAppRequest& 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 DescribeAppRequest& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
63 inline DescribeAppRequest& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
64 inline DescribeAppRequest& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
66
68
71 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
72 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
73 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
74 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
75 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
76 inline DescribeAppRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
77 inline DescribeAppRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
78 inline DescribeAppRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
80
82
85 inline const AppType& GetAppType() const{ return m_appType; }
86 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
87 inline void SetAppType(const AppType& value) { m_appTypeHasBeenSet = true; m_appType = value; }
88 inline void SetAppType(AppType&& value) { m_appTypeHasBeenSet = true; m_appType = std::move(value); }
89 inline DescribeAppRequest& WithAppType(const AppType& value) { SetAppType(value); return *this;}
90 inline DescribeAppRequest& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;}
92
94
97 inline const Aws::String& GetAppName() const{ return m_appName; }
98 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
99 inline void SetAppName(const Aws::String& value) { m_appNameHasBeenSet = true; m_appName = value; }
100 inline void SetAppName(Aws::String&& value) { m_appNameHasBeenSet = true; m_appName = std::move(value); }
101 inline void SetAppName(const char* value) { m_appNameHasBeenSet = true; m_appName.assign(value); }
102 inline DescribeAppRequest& WithAppName(const Aws::String& value) { SetAppName(value); return *this;}
103 inline DescribeAppRequest& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;}
104 inline DescribeAppRequest& WithAppName(const char* value) { SetAppName(value); return *this;}
106 private:
107
108 Aws::String m_domainId;
109 bool m_domainIdHasBeenSet = false;
110
111 Aws::String m_userProfileName;
112 bool m_userProfileNameHasBeenSet = false;
113
114 Aws::String m_spaceName;
115 bool m_spaceNameHasBeenSet = false;
116
117 AppType m_appType;
118 bool m_appTypeHasBeenSet = false;
119
120 Aws::String m_appName;
121 bool m_appNameHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace SageMaker
126} // namespace Aws
void SetUserProfileName(const Aws::String &value)
DescribeAppRequest & WithSpaceName(const char *value)
const Aws::String & GetUserProfileName() const
DescribeAppRequest & WithSpaceName(Aws::String &&value)
DescribeAppRequest & WithAppName(Aws::String &&value)
DescribeAppRequest & WithAppName(const char *value)
DescribeAppRequest & WithAppType(AppType &&value)
DescribeAppRequest & WithAppName(const Aws::String &value)
DescribeAppRequest & WithDomainId(const char *value)
DescribeAppRequest & WithUserProfileName(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
DescribeAppRequest & WithUserProfileName(const Aws::String &value)
void SetSpaceName(const Aws::String &value)
DescribeAppRequest & WithUserProfileName(const char *value)
DescribeAppRequest & WithAppType(const AppType &value)
void SetAppName(const Aws::String &value)
DescribeAppRequest & WithDomainId(Aws::String &&value)
DescribeAppRequest & WithDomainId(const Aws::String &value)
DescribeAppRequest & WithSpaceName(const 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