AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = 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 "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 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 DescribeAppRequest& 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 DescribeAppRequest& WithUserProfileName(UserProfileNameT&& value) { SetUserProfileName(std::forward<UserProfileNameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
68 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
69 template<typename SpaceNameT = Aws::String>
70 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
71 template<typename SpaceNameT = Aws::String>
72 DescribeAppRequest& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
74
76
79 inline AppType GetAppType() const { return m_appType; }
80 inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; }
81 inline void SetAppType(AppType value) { m_appTypeHasBeenSet = true; m_appType = value; }
82 inline DescribeAppRequest& WithAppType(AppType value) { SetAppType(value); return *this;}
84
86
89 inline const Aws::String& GetAppName() const { return m_appName; }
90 inline bool AppNameHasBeenSet() const { return m_appNameHasBeenSet; }
91 template<typename AppNameT = Aws::String>
92 void SetAppName(AppNameT&& value) { m_appNameHasBeenSet = true; m_appName = std::forward<AppNameT>(value); }
93 template<typename AppNameT = Aws::String>
94 DescribeAppRequest& WithAppName(AppNameT&& value) { SetAppName(std::forward<AppNameT>(value)); return *this;}
96 private:
97
98 Aws::String m_domainId;
99 bool m_domainIdHasBeenSet = false;
100
101 Aws::String m_userProfileName;
102 bool m_userProfileNameHasBeenSet = false;
103
104 Aws::String m_spaceName;
105 bool m_spaceNameHasBeenSet = false;
106
107 AppType m_appType{AppType::NOT_SET};
108 bool m_appTypeHasBeenSet = false;
109
110 Aws::String m_appName;
111 bool m_appNameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace SageMaker
116} // 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