AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateStreamingURLResult.h
1
6#pragma once
7#include <aws/appstream/AppStream_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace AppStream
25{
26namespace Model
27{
29 {
30 public:
31 AWS_APPSTREAM_API CreateStreamingURLResult() = default;
34
35
37
40 inline const Aws::String& GetStreamingURL() const { return m_streamingURL; }
41 template<typename StreamingURLT = Aws::String>
42 void SetStreamingURL(StreamingURLT&& value) { m_streamingURLHasBeenSet = true; m_streamingURL = std::forward<StreamingURLT>(value); }
43 template<typename StreamingURLT = Aws::String>
44 CreateStreamingURLResult& WithStreamingURL(StreamingURLT&& value) { SetStreamingURL(std::forward<StreamingURLT>(value)); return *this;}
46
48
51 inline const Aws::Utils::DateTime& GetExpires() const { return m_expires; }
52 template<typename ExpiresT = Aws::Utils::DateTime>
53 void SetExpires(ExpiresT&& value) { m_expiresHasBeenSet = true; m_expires = std::forward<ExpiresT>(value); }
54 template<typename ExpiresT = Aws::Utils::DateTime>
55 CreateStreamingURLResult& WithExpires(ExpiresT&& value) { SetExpires(std::forward<ExpiresT>(value)); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 CreateStreamingURLResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 Aws::String m_streamingURL;
69 bool m_streamingURLHasBeenSet = false;
70
71 Aws::Utils::DateTime m_expires{};
72 bool m_expiresHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace AppStream
80} // namespace Aws
CreateStreamingURLResult & WithExpires(ExpiresT &&value)
CreateStreamingURLResult & WithRequestId(RequestIdT &&value)
AWS_APPSTREAM_API CreateStreamingURLResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateStreamingURLResult & WithStreamingURL(StreamingURLT &&value)
AWS_APPSTREAM_API CreateStreamingURLResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPSTREAM_API CreateStreamingURLResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue