AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
CreateStreamingURLResult.h
Go to the documentation of this file.
1
6#pragma once
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:
34
35
39 inline const Aws::String& GetStreamingURL() const{ return m_streamingURL; }
40
44 inline void SetStreamingURL(const Aws::String& value) { m_streamingURL = value; }
45
49 inline void SetStreamingURL(Aws::String&& value) { m_streamingURL = std::move(value); }
50
54 inline void SetStreamingURL(const char* value) { m_streamingURL.assign(value); }
55
59 inline CreateStreamingURLResult& WithStreamingURL(const Aws::String& value) { SetStreamingURL(value); return *this;}
60
64 inline CreateStreamingURLResult& WithStreamingURL(Aws::String&& value) { SetStreamingURL(std::move(value)); return *this;}
65
69 inline CreateStreamingURLResult& WithStreamingURL(const char* value) { SetStreamingURL(value); return *this;}
70
71
75 inline const Aws::Utils::DateTime& GetExpires() const{ return m_expires; }
76
80 inline void SetExpires(const Aws::Utils::DateTime& value) { m_expires = value; }
81
85 inline void SetExpires(Aws::Utils::DateTime&& value) { m_expires = std::move(value); }
86
90 inline CreateStreamingURLResult& WithExpires(const Aws::Utils::DateTime& value) { SetExpires(value); return *this;}
91
95 inline CreateStreamingURLResult& WithExpires(Aws::Utils::DateTime&& value) { SetExpires(std::move(value)); return *this;}
96
97 private:
98
99 Aws::String m_streamingURL;
100
101 Aws::Utils::DateTime m_expires;
102 };
103
104} // namespace Model
105} // namespace AppStream
106} // namespace Aws
#define AWS_APPSTREAM_API
AWS_APPSTREAM_API CreateStreamingURLResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateStreamingURLResult & WithStreamingURL(const Aws::String &value)
void SetExpires(const Aws::Utils::DateTime &value)
CreateStreamingURLResult & WithExpires(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetExpires() const
CreateStreamingURLResult & WithStreamingURL(Aws::String &&value)
AWS_APPSTREAM_API CreateStreamingURLResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateStreamingURLResult & WithExpires(Aws::Utils::DateTime &&value)
CreateStreamingURLResult & WithStreamingURL(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String