AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartContentUploadResult.h
1
6#pragma once
7#include <aws/qconnect/QConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace QConnect
26{
27namespace Model
28{
30 {
31 public:
32 AWS_QCONNECT_API StartContentUploadResult();
35
36
38
41 inline const Aws::Map<Aws::String, Aws::String>& GetHeadersToInclude() const{ return m_headersToInclude; }
42 inline void SetHeadersToInclude(const Aws::Map<Aws::String, Aws::String>& value) { m_headersToInclude = value; }
43 inline void SetHeadersToInclude(Aws::Map<Aws::String, Aws::String>&& value) { m_headersToInclude = std::move(value); }
46 inline StartContentUploadResult& AddHeadersToInclude(const Aws::String& key, const Aws::String& value) { m_headersToInclude.emplace(key, value); return *this; }
47 inline StartContentUploadResult& AddHeadersToInclude(Aws::String&& key, const Aws::String& value) { m_headersToInclude.emplace(std::move(key), value); return *this; }
48 inline StartContentUploadResult& AddHeadersToInclude(const Aws::String& key, Aws::String&& value) { m_headersToInclude.emplace(key, std::move(value)); return *this; }
49 inline StartContentUploadResult& AddHeadersToInclude(Aws::String&& key, Aws::String&& value) { m_headersToInclude.emplace(std::move(key), std::move(value)); return *this; }
50 inline StartContentUploadResult& AddHeadersToInclude(const char* key, Aws::String&& value) { m_headersToInclude.emplace(key, std::move(value)); return *this; }
51 inline StartContentUploadResult& AddHeadersToInclude(Aws::String&& key, const char* value) { m_headersToInclude.emplace(std::move(key), value); return *this; }
52 inline StartContentUploadResult& AddHeadersToInclude(const char* key, const char* value) { m_headersToInclude.emplace(key, value); return *this; }
54
56
59 inline const Aws::String& GetUploadId() const{ return m_uploadId; }
60 inline void SetUploadId(const Aws::String& value) { m_uploadId = value; }
61 inline void SetUploadId(Aws::String&& value) { m_uploadId = std::move(value); }
62 inline void SetUploadId(const char* value) { m_uploadId.assign(value); }
63 inline StartContentUploadResult& WithUploadId(const Aws::String& value) { SetUploadId(value); return *this;}
64 inline StartContentUploadResult& WithUploadId(Aws::String&& value) { SetUploadId(std::move(value)); return *this;}
65 inline StartContentUploadResult& WithUploadId(const char* value) { SetUploadId(value); return *this;}
67
69
72 inline const Aws::String& GetUrl() const{ return m_url; }
73 inline void SetUrl(const Aws::String& value) { m_url = value; }
74 inline void SetUrl(Aws::String&& value) { m_url = std::move(value); }
75 inline void SetUrl(const char* value) { m_url.assign(value); }
76 inline StartContentUploadResult& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
77 inline StartContentUploadResult& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
78 inline StartContentUploadResult& WithUrl(const char* value) { SetUrl(value); return *this;}
80
82
85 inline const Aws::Utils::DateTime& GetUrlExpiry() const{ return m_urlExpiry; }
86 inline void SetUrlExpiry(const Aws::Utils::DateTime& value) { m_urlExpiry = value; }
87 inline void SetUrlExpiry(Aws::Utils::DateTime&& value) { m_urlExpiry = std::move(value); }
88 inline StartContentUploadResult& WithUrlExpiry(const Aws::Utils::DateTime& value) { SetUrlExpiry(value); return *this;}
89 inline StartContentUploadResult& WithUrlExpiry(Aws::Utils::DateTime&& value) { SetUrlExpiry(std::move(value)); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const{ return m_requestId; }
95 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
96 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
97 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
98 inline StartContentUploadResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
99 inline StartContentUploadResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 inline StartContentUploadResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
102 private:
103
104 Aws::Map<Aws::String, Aws::String> m_headersToInclude;
105
106 Aws::String m_uploadId;
107
108 Aws::String m_url;
109
110 Aws::Utils::DateTime m_urlExpiry;
111
112 Aws::String m_requestId;
113 };
114
115} // namespace Model
116} // namespace QConnect
117} // namespace Aws
StartContentUploadResult & WithRequestId(Aws::String &&value)
StartContentUploadResult & WithHeadersToInclude(const Aws::Map< Aws::String, Aws::String > &value)
StartContentUploadResult & WithUploadId(Aws::String &&value)
StartContentUploadResult & AddHeadersToInclude(Aws::String &&key, const Aws::String &value)
StartContentUploadResult & WithRequestId(const Aws::String &value)
StartContentUploadResult & WithUrl(const char *value)
AWS_QCONNECT_API StartContentUploadResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartContentUploadResult & AddHeadersToInclude(Aws::String &&key, Aws::String &&value)
AWS_QCONNECT_API StartContentUploadResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartContentUploadResult & WithUploadId(const char *value)
StartContentUploadResult & WithUrl(Aws::String &&value)
const Aws::Utils::DateTime & GetUrlExpiry() const
StartContentUploadResult & WithHeadersToInclude(Aws::Map< Aws::String, Aws::String > &&value)
void SetHeadersToInclude(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetHeadersToInclude() const
void SetUrlExpiry(const Aws::Utils::DateTime &value)
StartContentUploadResult & WithUploadId(const Aws::String &value)
void SetHeadersToInclude(const Aws::Map< Aws::String, Aws::String > &value)
StartContentUploadResult & AddHeadersToInclude(const Aws::String &key, Aws::String &&value)
StartContentUploadResult & WithUrl(const Aws::String &value)
StartContentUploadResult & AddHeadersToInclude(Aws::String &&key, const char *value)
StartContentUploadResult & WithUrlExpiry(const Aws::Utils::DateTime &value)
StartContentUploadResult & WithUrlExpiry(Aws::Utils::DateTime &&value)
StartContentUploadResult & AddHeadersToInclude(const Aws::String &key, const Aws::String &value)
StartContentUploadResult & AddHeadersToInclude(const char *key, Aws::String &&value)
StartContentUploadResult & WithRequestId(const char *value)
StartContentUploadResult & AddHeadersToInclude(const char *key, const char *value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue