AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetDomainId(const Aws::String& value) { m_domainIdHasBeenSet = true; m_domainId = value; }
44 inline void SetDomainId(Aws::String&& value) { m_domainIdHasBeenSet = true; m_domainId = std::move(value); }
45 inline void SetDomainId(const char* value) { m_domainIdHasBeenSet = true; m_domainId.assign(value); }
46 inline CreatePresignedDomainUrlRequest& WithDomainId(const Aws::String& value) { SetDomainId(value); return *this;}
47 inline CreatePresignedDomainUrlRequest& WithDomainId(Aws::String&& value) { SetDomainId(std::move(value)); return *this;}
48 inline CreatePresignedDomainUrlRequest& WithDomainId(const char* value) { SetDomainId(value); return *this;}
50
52
55 inline const Aws::String& GetUserProfileName() const{ return m_userProfileName; }
56 inline bool UserProfileNameHasBeenSet() const { return m_userProfileNameHasBeenSet; }
57 inline void SetUserProfileName(const Aws::String& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = value; }
58 inline void SetUserProfileName(Aws::String&& value) { m_userProfileNameHasBeenSet = true; m_userProfileName = std::move(value); }
59 inline void SetUserProfileName(const char* value) { m_userProfileNameHasBeenSet = true; m_userProfileName.assign(value); }
61 inline CreatePresignedDomainUrlRequest& WithUserProfileName(Aws::String&& value) { SetUserProfileName(std::move(value)); return *this;}
62 inline CreatePresignedDomainUrlRequest& WithUserProfileName(const char* value) { SetUserProfileName(value); return *this;}
64
66
69 inline int GetSessionExpirationDurationInSeconds() const{ return m_sessionExpirationDurationInSeconds; }
70 inline bool SessionExpirationDurationInSecondsHasBeenSet() const { return m_sessionExpirationDurationInSecondsHasBeenSet; }
71 inline void SetSessionExpirationDurationInSeconds(int value) { m_sessionExpirationDurationInSecondsHasBeenSet = true; m_sessionExpirationDurationInSeconds = value; }
74
76
80 inline int GetExpiresInSeconds() const{ return m_expiresInSeconds; }
81 inline bool ExpiresInSecondsHasBeenSet() const { return m_expiresInSecondsHasBeenSet; }
82 inline void SetExpiresInSeconds(int value) { m_expiresInSecondsHasBeenSet = true; m_expiresInSeconds = value; }
85
87
90 inline const Aws::String& GetSpaceName() const{ return m_spaceName; }
91 inline bool SpaceNameHasBeenSet() const { return m_spaceNameHasBeenSet; }
92 inline void SetSpaceName(const Aws::String& value) { m_spaceNameHasBeenSet = true; m_spaceName = value; }
93 inline void SetSpaceName(Aws::String&& value) { m_spaceNameHasBeenSet = true; m_spaceName = std::move(value); }
94 inline void SetSpaceName(const char* value) { m_spaceNameHasBeenSet = true; m_spaceName.assign(value); }
95 inline CreatePresignedDomainUrlRequest& WithSpaceName(const Aws::String& value) { SetSpaceName(value); return *this;}
96 inline CreatePresignedDomainUrlRequest& WithSpaceName(Aws::String&& value) { SetSpaceName(std::move(value)); return *this;}
97 inline CreatePresignedDomainUrlRequest& WithSpaceName(const char* value) { SetSpaceName(value); return *this;}
99
101
117 inline const Aws::String& GetLandingUri() const{ return m_landingUri; }
118 inline bool LandingUriHasBeenSet() const { return m_landingUriHasBeenSet; }
119 inline void SetLandingUri(const Aws::String& value) { m_landingUriHasBeenSet = true; m_landingUri = value; }
120 inline void SetLandingUri(Aws::String&& value) { m_landingUriHasBeenSet = true; m_landingUri = std::move(value); }
121 inline void SetLandingUri(const char* value) { m_landingUriHasBeenSet = true; m_landingUri.assign(value); }
122 inline CreatePresignedDomainUrlRequest& WithLandingUri(const Aws::String& value) { SetLandingUri(value); return *this;}
123 inline CreatePresignedDomainUrlRequest& WithLandingUri(Aws::String&& value) { SetLandingUri(std::move(value)); return *this;}
124 inline CreatePresignedDomainUrlRequest& WithLandingUri(const char* value) { SetLandingUri(value); return *this;}
126 private:
127
128 Aws::String m_domainId;
129 bool m_domainIdHasBeenSet = false;
130
131 Aws::String m_userProfileName;
132 bool m_userProfileNameHasBeenSet = false;
133
134 int m_sessionExpirationDurationInSeconds;
135 bool m_sessionExpirationDurationInSecondsHasBeenSet = false;
136
137 int m_expiresInSeconds;
138 bool m_expiresInSecondsHasBeenSet = false;
139
140 Aws::String m_spaceName;
141 bool m_spaceNameHasBeenSet = false;
142
143 Aws::String m_landingUri;
144 bool m_landingUriHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace SageMaker
149} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreatePresignedDomainUrlRequest & WithExpiresInSeconds(int value)
CreatePresignedDomainUrlRequest & WithLandingUri(const Aws::String &value)
CreatePresignedDomainUrlRequest & WithLandingUri(Aws::String &&value)
CreatePresignedDomainUrlRequest & WithUserProfileName(const char *value)
CreatePresignedDomainUrlRequest & WithDomainId(const Aws::String &value)
CreatePresignedDomainUrlRequest & WithSessionExpirationDurationInSeconds(int value)
CreatePresignedDomainUrlRequest & WithUserProfileName(const Aws::String &value)
CreatePresignedDomainUrlRequest & WithUserProfileName(Aws::String &&value)
CreatePresignedDomainUrlRequest & WithSpaceName(Aws::String &&value)
CreatePresignedDomainUrlRequest & WithSpaceName(const char *value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreatePresignedDomainUrlRequest & WithDomainId(const char *value)
CreatePresignedDomainUrlRequest & WithSpaceName(const Aws::String &value)
CreatePresignedDomainUrlRequest & WithDomainId(Aws::String &&value)
CreatePresignedDomainUrlRequest & WithLandingUri(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String