AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
ImageSource.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
28 public:
29 AWS_QUICKSIGHT_API ImageSource() = default;
30 AWS_QUICKSIGHT_API ImageSource(Aws::Utils::Json::JsonView jsonValue);
31 AWS_QUICKSIGHT_API ImageSource& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetPublicUrl() const { return m_publicUrl; }
39 inline bool PublicUrlHasBeenSet() const { return m_publicUrlHasBeenSet; }
40 template <typename PublicUrlT = Aws::String>
41 void SetPublicUrl(PublicUrlT&& value) {
42 m_publicUrlHasBeenSet = true;
43 m_publicUrl = std::forward<PublicUrlT>(value);
44 }
45 template <typename PublicUrlT = Aws::String>
46 ImageSource& WithPublicUrl(PublicUrlT&& value) {
47 SetPublicUrl(std::forward<PublicUrlT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetS3Uri() const { return m_s3Uri; }
57 inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; }
58 template <typename S3UriT = Aws::String>
59 void SetS3Uri(S3UriT&& value) {
60 m_s3UriHasBeenSet = true;
61 m_s3Uri = std::forward<S3UriT>(value);
62 }
63 template <typename S3UriT = Aws::String>
64 ImageSource& WithS3Uri(S3UriT&& value) {
65 SetS3Uri(std::forward<S3UriT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_publicUrl;
71
72 Aws::String m_s3Uri;
73 bool m_publicUrlHasBeenSet = false;
74 bool m_s3UriHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
AWS_QUICKSIGHT_API ImageSource()=default
void SetPublicUrl(PublicUrlT &&value)
Definition ImageSource.h:41
const Aws::String & GetS3Uri() const
Definition ImageSource.h:56
ImageSource & WithPublicUrl(PublicUrlT &&value)
Definition ImageSource.h:46
ImageSource & WithS3Uri(S3UriT &&value)
Definition ImageSource.h:64
AWS_QUICKSIGHT_API ImageSource(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API ImageSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPublicUrl() const
Definition ImageSource.h:38
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue