AWS SDK for C++  1.9.141
AWS SDK for C++
DescribeAppRequest.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 "DescribeApp"; }
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 DescribeAppRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
67 
71  inline DescribeAppRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
72 
76  inline DescribeAppRequest& 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 DescribeAppRequest& WithUserProfileName(const Aws::String& value) { SetUserProfileName(value); return *this;}
108 
112  inline DescribeAppRequest& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
113 
117  inline DescribeAppRequest& 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 DescribeAppRequest& WithAppType(const AppType& value) { SetAppType(value); return *this;}
144 
148  inline DescribeAppRequest& 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 DescribeAppRequest& WithAppName(const Aws::String& value) { SetAppName(value); return *this;}
180 
184  inline DescribeAppRequest& WithAppName(Aws::String&& value) { SetAppName(std::move(value)); return *this;}
185 
189  inline DescribeAppRequest& 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::SageMaker::Model::DescribeAppRequest::WithAppName
DescribeAppRequest & WithAppName(const char *value)
Definition: DescribeAppRequest.h:189
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::DescribeAppRequest::DomainIdHasBeenSet
bool DomainIdHasBeenSet() const
Definition: DescribeAppRequest.h:46
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::SageMaker::Model::DescribeAppRequest::WithDomainId
DescribeAppRequest & WithDomainId(Aws::String &&value)
Definition: DescribeAppRequest.h:71
Aws::SageMaker::Model::DescribeAppRequest::SetAppName
void SetAppName(Aws::String &&value)
Definition: DescribeAppRequest.h:169
Aws::SageMaker::Model::DescribeAppRequest::SetUserProfileName
void SetUserProfileName(const Aws::String &value)
Definition: DescribeAppRequest.h:92
Aws::SageMaker::Model::DescribeAppRequest::WithUserProfileName
DescribeAppRequest & WithUserProfileName(Aws::String &&value)
Definition: DescribeAppRequest.h:112
Aws::SageMaker::Model::AppType
AppType
Definition: AppType.h:17
Aws::SageMaker::Model::DescribeAppRequest::SetDomainId
void SetDomainId(const char *value)
Definition: DescribeAppRequest.h:61
Aws::SageMaker::Model::DescribeAppRequest::WithAppType
DescribeAppRequest & WithAppType(AppType &&value)
Definition: DescribeAppRequest.h:148
Aws::SageMaker::Model::DescribeAppRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::SageMaker::Model::DescribeAppRequest::SetUserProfileName
void SetUserProfileName(const char *value)
Definition: DescribeAppRequest.h:102
AppType.h
Aws::SageMaker::Model::DescribeAppRequest::SetAppType
void SetAppType(const AppType &value)
Definition: DescribeAppRequest.h:133
Aws::SageMaker::Model::DescribeAppRequest::GetAppName
const Aws::String & GetAppName() const
Definition: DescribeAppRequest.h:154
Aws::SageMaker::Model::DescribeAppRequest::WithUserProfileName
DescribeAppRequest & WithUserProfileName(const char *value)
Definition: DescribeAppRequest.h:117
Aws::SageMaker::Model::DescribeAppRequest::AppNameHasBeenSet
bool AppNameHasBeenSet() const
Definition: DescribeAppRequest.h:159
Aws::SageMaker::Model::DescribeAppRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeAppRequest.h:31
Aws::SageMaker::Model::DescribeAppRequest::AppTypeHasBeenSet
bool AppTypeHasBeenSet() const
Definition: DescribeAppRequest.h:128
Aws::SageMaker::SageMakerRequest
Definition: SageMakerRequest.h:17
Aws::SageMaker::Model::DescribeAppRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SageMaker::Model::DescribeAppRequest::WithAppType
DescribeAppRequest & WithAppType(const AppType &value)
Definition: DescribeAppRequest.h:143
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::DescribeAppRequest::GetAppType
const AppType & GetAppType() const
Definition: DescribeAppRequest.h:123
Aws::SageMaker::Model::DescribeAppRequest::SetDomainId
void SetDomainId(Aws::String &&value)
Definition: DescribeAppRequest.h:56
Aws::SageMaker::Model::DescribeAppRequest::SetAppName
void SetAppName(const Aws::String &value)
Definition: DescribeAppRequest.h:164
AWSString.h
Aws::SageMaker::Model::DescribeAppRequest::WithAppName
DescribeAppRequest & WithAppName(const Aws::String &value)
Definition: DescribeAppRequest.h:179
Aws::SageMaker::Model::DescribeAppRequest::SetAppType
void SetAppType(AppType &&value)
Definition: DescribeAppRequest.h:138
Aws::SageMaker::Model::DescribeAppRequest::UserProfileNameHasBeenSet
bool UserProfileNameHasBeenSet() const
Definition: DescribeAppRequest.h:87
Aws::SageMaker::Model::DescribeAppRequest::WithDomainId
DescribeAppRequest & WithDomainId(const Aws::String &value)
Definition: DescribeAppRequest.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::DescribeAppRequest::DescribeAppRequest
DescribeAppRequest()
SageMakerRequest.h
Aws::SageMaker::Model::DescribeAppRequest::SetUserProfileName
void SetUserProfileName(Aws::String &&value)
Definition: DescribeAppRequest.h:97
Aws::SageMaker::Model::DescribeAppRequest
Definition: DescribeAppRequest.h:23
Aws::SageMaker::Model::DescribeAppRequest::SetAppName
void SetAppName(const char *value)
Definition: DescribeAppRequest.h:174
Aws::SageMaker::Model::DescribeAppRequest::WithUserProfileName
DescribeAppRequest & WithUserProfileName(const Aws::String &value)
Definition: DescribeAppRequest.h:107
Aws::SageMaker::Model::DescribeAppRequest::GetUserProfileName
const Aws::String & GetUserProfileName() const
Definition: DescribeAppRequest.h:82
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::DescribeAppRequest::WithAppName
DescribeAppRequest & WithAppName(Aws::String &&value)
Definition: DescribeAppRequest.h:184
Aws::SageMaker::Model::DescribeAppRequest::SetDomainId
void SetDomainId(const Aws::String &value)
Definition: DescribeAppRequest.h:51
Aws::SageMaker::Model::DescribeAppRequest::WithDomainId
DescribeAppRequest & WithDomainId(const char *value)
Definition: DescribeAppRequest.h:76
Aws::SageMaker::Model::DescribeAppRequest::GetDomainId
const Aws::String & GetDomainId() const
Definition: DescribeAppRequest.h:41