AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateApplicationPresignedUrlRequest.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/kinesisanalyticsv2/model/UrlType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace KinesisAnalyticsV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_KINESISANALYTICSV2_API CreateApplicationPresignedUrlRequest();
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 "CreateApplicationPresignedUrl"; }
32
33 AWS_KINESISANALYTICSV2_API Aws::String SerializePayload() const override;
34
35 AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
42 inline const Aws::String& GetApplicationName() const{ return m_applicationName; }
43 inline bool ApplicationNameHasBeenSet() const { return m_applicationNameHasBeenSet; }
44 inline void SetApplicationName(const Aws::String& value) { m_applicationNameHasBeenSet = true; m_applicationName = value; }
45 inline void SetApplicationName(Aws::String&& value) { m_applicationNameHasBeenSet = true; m_applicationName = std::move(value); }
46 inline void SetApplicationName(const char* value) { m_applicationNameHasBeenSet = true; m_applicationName.assign(value); }
49 inline CreateApplicationPresignedUrlRequest& WithApplicationName(const char* value) { SetApplicationName(value); return *this;}
51
53
57 inline const UrlType& GetUrlType() const{ return m_urlType; }
58 inline bool UrlTypeHasBeenSet() const { return m_urlTypeHasBeenSet; }
59 inline void SetUrlType(const UrlType& value) { m_urlTypeHasBeenSet = true; m_urlType = value; }
60 inline void SetUrlType(UrlType&& value) { m_urlTypeHasBeenSet = true; m_urlType = std::move(value); }
61 inline CreateApplicationPresignedUrlRequest& WithUrlType(const UrlType& value) { SetUrlType(value); return *this;}
62 inline CreateApplicationPresignedUrlRequest& WithUrlType(UrlType&& value) { SetUrlType(std::move(value)); return *this;}
64
66
69 inline long long GetSessionExpirationDurationInSeconds() const{ return m_sessionExpirationDurationInSeconds; }
70 inline bool SessionExpirationDurationInSecondsHasBeenSet() const { return m_sessionExpirationDurationInSecondsHasBeenSet; }
71 inline void SetSessionExpirationDurationInSeconds(long long value) { m_sessionExpirationDurationInSecondsHasBeenSet = true; m_sessionExpirationDurationInSeconds = value; }
74 private:
75
76 Aws::String m_applicationName;
77 bool m_applicationNameHasBeenSet = false;
78
79 UrlType m_urlType;
80 bool m_urlTypeHasBeenSet = false;
81
82 long long m_sessionExpirationDurationInSeconds;
83 bool m_sessionExpirationDurationInSecondsHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace KinesisAnalyticsV2
88} // namespace Aws
CreateApplicationPresignedUrlRequest & WithUrlType(const UrlType &value)
AWS_KINESISANALYTICSV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateApplicationPresignedUrlRequest & WithSessionExpirationDurationInSeconds(long long value)
CreateApplicationPresignedUrlRequest & WithApplicationName(const Aws::String &value)
CreateApplicationPresignedUrlRequest & WithApplicationName(const char *value)
AWS_KINESISANALYTICSV2_API Aws::String SerializePayload() const override
CreateApplicationPresignedUrlRequest & WithApplicationName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String