AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DownloadUrlMetadata.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_CONNECT_API DownloadUrlMetadata();
37 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetUrl() const{ return m_url; }
45 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
46 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
47 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
48 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
49 inline DownloadUrlMetadata& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
50 inline DownloadUrlMetadata& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
51 inline DownloadUrlMetadata& WithUrl(const char* value) { SetUrl(value); return *this;}
53
55
59 inline const Aws::String& GetUrlExpiry() const{ return m_urlExpiry; }
60 inline bool UrlExpiryHasBeenSet() const { return m_urlExpiryHasBeenSet; }
61 inline void SetUrlExpiry(const Aws::String& value) { m_urlExpiryHasBeenSet = true; m_urlExpiry = value; }
62 inline void SetUrlExpiry(Aws::String&& value) { m_urlExpiryHasBeenSet = true; m_urlExpiry = std::move(value); }
63 inline void SetUrlExpiry(const char* value) { m_urlExpiryHasBeenSet = true; m_urlExpiry.assign(value); }
64 inline DownloadUrlMetadata& WithUrlExpiry(const Aws::String& value) { SetUrlExpiry(value); return *this;}
65 inline DownloadUrlMetadata& WithUrlExpiry(Aws::String&& value) { SetUrlExpiry(std::move(value)); return *this;}
66 inline DownloadUrlMetadata& WithUrlExpiry(const char* value) { SetUrlExpiry(value); return *this;}
68 private:
69
70 Aws::String m_url;
71 bool m_urlHasBeenSet = false;
72
73 Aws::String m_urlExpiry;
74 bool m_urlExpiryHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Connect
79} // namespace Aws
DownloadUrlMetadata & WithUrl(Aws::String &&value)
AWS_CONNECT_API DownloadUrlMetadata(Aws::Utils::Json::JsonView jsonValue)
DownloadUrlMetadata & WithUrl(const char *value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DownloadUrlMetadata & WithUrlExpiry(Aws::String &&value)
void SetUrl(const Aws::String &value)
DownloadUrlMetadata & WithUrlExpiry(const Aws::String &value)
AWS_CONNECT_API DownloadUrlMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
DownloadUrlMetadata & WithUrl(const Aws::String &value)
void SetUrlExpiry(const Aws::String &value)
DownloadUrlMetadata & WithUrlExpiry(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue