AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetUploadJobPathResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace CustomerProfiles {
24namespace Model {
26 public:
27 AWS_CUSTOMERPROFILES_API GetUploadJobPathResult() = default;
30
32
36 inline const Aws::String& GetUrl() const { return m_url; }
37 template <typename UrlT = Aws::String>
38 void SetUrl(UrlT&& value) {
39 m_urlHasBeenSet = true;
40 m_url = std::forward<UrlT>(value);
41 }
42 template <typename UrlT = Aws::String>
44 SetUrl(std::forward<UrlT>(value));
45 return *this;
46 }
48
50
58 inline const Aws::String& GetClientToken() const { return m_clientToken; }
59 template <typename ClientTokenT = Aws::String>
60 void SetClientToken(ClientTokenT&& value) {
61 m_clientTokenHasBeenSet = true;
62 m_clientToken = std::forward<ClientTokenT>(value);
63 }
64 template <typename ClientTokenT = Aws::String>
65 GetUploadJobPathResult& WithClientToken(ClientTokenT&& value) {
66 SetClientToken(std::forward<ClientTokenT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::Utils::DateTime& GetValidUntil() const { return m_validUntil; }
77 template <typename ValidUntilT = Aws::Utils::DateTime>
78 void SetValidUntil(ValidUntilT&& value) {
79 m_validUntilHasBeenSet = true;
80 m_validUntil = std::forward<ValidUntilT>(value);
81 }
82 template <typename ValidUntilT = Aws::Utils::DateTime>
83 GetUploadJobPathResult& WithValidUntil(ValidUntilT&& value) {
84 SetValidUntil(std::forward<ValidUntilT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
104
105 private:
106 Aws::String m_url;
107
108 Aws::String m_clientToken;
109
110 Aws::Utils::DateTime m_validUntil{};
111
112 Aws::String m_requestId;
113 Aws::Http::HttpResponseCode m_HttpResponseCode;
114 bool m_urlHasBeenSet = false;
115 bool m_clientTokenHasBeenSet = false;
116 bool m_validUntilHasBeenSet = false;
117 bool m_requestIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace CustomerProfiles
122} // namespace Aws
GetUploadJobPathResult & WithClientToken(ClientTokenT &&value)
AWS_CUSTOMERPROFILES_API GetUploadJobPathResult()=default
GetUploadJobPathResult & WithRequestId(RequestIdT &&value)
AWS_CUSTOMERPROFILES_API GetUploadJobPathResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CUSTOMERPROFILES_API GetUploadJobPathResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUploadJobPathResult & WithValidUntil(ValidUntilT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue