AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreatePartnerAppPresignedUrlRequest.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 CreatePartnerAppPresignedUrlRequest() = 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 "CreatePartnerAppPresignedUrl"; }
31
32 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template<typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
45 template<typename ArnT = Aws::String>
46 CreatePartnerAppPresignedUrlRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
48
50
53 inline int GetExpiresInSeconds() const { return m_expiresInSeconds; }
54 inline bool ExpiresInSecondsHasBeenSet() const { return m_expiresInSecondsHasBeenSet; }
55 inline void SetExpiresInSeconds(int value) { m_expiresInSecondsHasBeenSet = true; m_expiresInSeconds = value; }
58
60
64 inline int GetSessionExpirationDurationInSeconds() const { return m_sessionExpirationDurationInSeconds; }
65 inline bool SessionExpirationDurationInSecondsHasBeenSet() const { return m_sessionExpirationDurationInSecondsHasBeenSet; }
66 inline void SetSessionExpirationDurationInSeconds(int value) { m_sessionExpirationDurationInSecondsHasBeenSet = true; m_sessionExpirationDurationInSeconds = value; }
69 private:
70
71 Aws::String m_arn;
72 bool m_arnHasBeenSet = false;
73
74 int m_expiresInSeconds{0};
75 bool m_expiresInSecondsHasBeenSet = false;
76
77 int m_sessionExpirationDurationInSeconds{0};
78 bool m_sessionExpirationDurationInSecondsHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SageMaker
83} // namespace Aws
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreatePartnerAppPresignedUrlRequest & WithSessionExpirationDurationInSeconds(int value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
CreatePartnerAppPresignedUrlRequest & WithExpiresInSeconds(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String