AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
DescribeAppRequest.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 DescribeAppRequest() = 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 "DescribeApp"; }
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 DescribeAppRequest& 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 DescribeAppRequest& WithUserProfileName(UserProfileNameT&& value) {
66 SetUserProfileName(std::forward<UserProfileNameT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
76 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
77 template <typename SpaceNameT = Aws::String>
78 void SetSpaceName(SpaceNameT&& value) {
79 m_spaceNameHasBeenSet = true;
80 m_spaceName = std::forward<SpaceNameT>(value);
81 }
82 template <typename SpaceNameT = Aws::String>
83 DescribeAppRequest& WithSpaceName(SpaceNameT&& value) {
84 SetSpaceName(std::forward<SpaceNameT>(value));
85 return *this;
86 }
88
90
93 inline AppType GetAppType() const { return m_appType; }
94 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
95 inline void SetAppType(AppType value) {
96 m_appTypeHasBeenSet = true;
97 m_appType = value;
98 }
100 SetAppType(value);
101 return *this;
102 }
104
106
109 inline const Aws::String& GetAppName() const { return m_appName; }
110 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
111 template <typename AppNameT = Aws::String>
112 void SetAppName(AppNameT&& value) {
113 m_appNameHasBeenSet = true;
114 m_appName = std::forward<AppNameT>(value);
115 }
116 template <typename AppNameT = Aws::String>
117 DescribeAppRequest& WithAppName(AppNameT&& value) {
118 SetAppName(std::forward<AppNameT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_domainId;
124
125 Aws::String m_userProfileName;
126
127 Aws::String m_spaceName;
128
129 AppType m_appType{AppType::NOT_SET};
130
131 Aws::String m_appName;
132 bool m_domainIdHasBeenSet = false;
133 bool m_userProfileNameHasBeenSet = false;
134 bool m_spaceNameHasBeenSet = false;
135 bool m_appTypeHasBeenSet = false;
136 bool m_appNameHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace SageMaker
141} // namespace Aws
DescribeAppRequest & WithAppType(AppType value)
DescribeAppRequest & WithAppName(AppNameT &&value)
const Aws::String & GetUserProfileName() const
void SetUserProfileName(UserProfileNameT &&value)
AWS_SAGEMAKER_API DescribeAppRequest()=default
DescribeAppRequest & WithSpaceName(SpaceNameT &&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 & WithDomainId(DomainIdT &&value)
DescribeAppRequest & WithUserProfileName(UserProfileNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String