AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreatePresignedDomainUrlRequest.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 <utility>
11
12namespace Aws
13{
14namespace SageMaker
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_SAGEMAKER_API CreatePresignedDomainUrlRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreatePresignedDomainUrl"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetDomainId() const { return m_domainId; }
42 inline bool DomainIdHasBeenSet() const { return m_domainIdHasBeenSet; }
43 template<typename DomainIdT = Aws::String>
44 void SetDomainId(DomainIdT&& value) { m_domainIdHasBeenSet = true; m_domainId = std::forward<DomainIdT>(value); }
45 template<typename DomainIdT = Aws::String>
46 CreatePresignedDomainUrlRequest& WithDomainId(DomainIdT&& value) { SetDomainId(std::forward<DomainIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetUserProfileName() const { return m_userProfileName; }
54 inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
55 template<typename UserProfileNameT = Aws::String>
56 void SetUserProfileName(UserProfileNameT&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::forward<UserProfileNameT>(value); }
57 template<typename UserProfileNameT = Aws::String>
58 CreatePresignedDomainUrlRequest& WithUserProfileName(UserProfileNameT&& value) { SetUserProfileName(std::forward<UserProfileNameT>(value)); return *this;}
60
62
65 inline int GetSessionExpirationDurationInSeconds() const { return m_sessionExpirationDurationInSeconds; }
66 inline bool SessionExpirationDurationInSecondsHasBeenSet() const { return m_sessionExpirationDurationInSecondsHasBeenSet; }
67 inline void SetSessionExpirationDurationInSeconds(int value) { m_sessionExpirationDurationInSecondsHasBeenSet = true; m_sessionExpirationDurationInSeconds = value; }
70
72
76 inline int GetExpiresInSeconds() const { return m_expiresInSeconds; }
77 inline bool ExpiresInSecondsHasBeenSet() const { return m_expiresInSecondsHasBeenSet; }
78 inline void SetExpiresInSeconds(int value) { m_expiresInSecondsHasBeenSet = true; m_expiresInSeconds = value; }
81
83
86 inline const Aws::String& GetSpaceName() const { return m_spaceName; }
87 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
88 template<typename SpaceNameT = Aws::String>
89 void SetSpaceName(SpaceNameT&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::forward<SpaceNameT>(value); }
90 template<typename SpaceNameT = Aws::String>
91 CreatePresignedDomainUrlRequest& WithSpaceName(SpaceNameT&& value) { SetSpaceName(std::forward<SpaceNameT>(value)); return *this;}
93
95
111 inline const Aws::String& GetLandingUri() const { return m_landingUri; }
112 inline bool LandingUriHasBeenSet() const { return m_landingUriHasBeenSet; }
113 template<typename LandingUriT = Aws::String>
114 void SetLandingUri(LandingUriT&& value) { m_landingUriHasBeenSet = true; m_landingUri = std::forward<LandingUriT>(value); }
115 template<typename LandingUriT = Aws::String>
116 CreatePresignedDomainUrlRequest& WithLandingUri(LandingUriT&& value) { SetLandingUri(std::forward<LandingUriT>(value)); return *this;}
118 private:
119
120 Aws::String m_domainId;
121 bool m_domainIdHasBeenSet = false;
122
123 Aws::String m_userProfileName;
124 bool m_userProfileNameHasBeenSet = false;
125
126 int m_sessionExpirationDurationInSeconds{0};
127 bool m_sessionExpirationDurationInSecondsHasBeenSet = false;
128
129 int m_expiresInSeconds{0};
130 bool m_expiresInSecondsHasBeenSet = false;
131
132 Aws::String m_spaceName;
133 bool m_spaceNameHasBeenSet = false;
134
135 Aws::String m_landingUri;
136 bool m_landingUriHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace SageMaker
141} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreatePresignedDomainUrlRequest & WithExpiresInSeconds(int value)
CreatePresignedDomainUrlRequest & WithDomainId(DomainIdT &&value)
CreatePresignedDomainUrlRequest & WithLandingUri(LandingUriT &&value)
CreatePresignedDomainUrlRequest & WithSessionExpirationDurationInSeconds(int value)
CreatePresignedDomainUrlRequest & WithUserProfileName(UserProfileNameT &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API CreatePresignedDomainUrlRequest()=default
CreatePresignedDomainUrlRequest & WithSpaceName(SpaceNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String