AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
CustomContentConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/CustomContentImageScalingConfiguration.h>
10#include <aws/quicksight/model/CustomContentType.h>
11#include <aws/quicksight/model/VisualInteractionOptions.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
32 public:
33 AWS_QUICKSIGHT_API CustomContentConfiguration() = default;
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetContentUrl() const { return m_contentUrl; }
44 inline bool ContentUrlHasBeenSet() const { return m_contentUrlHasBeenSet; }
45 template <typename ContentUrlT = Aws::String>
46 void SetContentUrl(ContentUrlT&& value) {
47 m_contentUrlHasBeenSet = true;
48 m_contentUrl = std::forward<ContentUrlT>(value);
49 }
50 template <typename ContentUrlT = Aws::String>
52 SetContentUrl(std::forward<ContentUrlT>(value));
53 return *this;
54 }
56
58
62 inline CustomContentType GetContentType() const { return m_contentType; }
63 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
64 inline void SetContentType(CustomContentType value) {
65 m_contentTypeHasBeenSet = true;
66 m_contentType = value;
67 }
69 SetContentType(value);
70 return *this;
71 }
73
75
80 inline CustomContentImageScalingConfiguration GetImageScaling() const { return m_imageScaling; }
81 inline bool ImageScalingHasBeenSet() const { return m_imageScalingHasBeenSet; }
83 m_imageScalingHasBeenSet = true;
84 m_imageScaling = value;
85 }
87 SetImageScaling(value);
88 return *this;
89 }
91
93
96 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
97 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
98 template <typename InteractionsT = VisualInteractionOptions>
99 void SetInteractions(InteractionsT&& value) {
100 m_interactionsHasBeenSet = true;
101 m_interactions = std::forward<InteractionsT>(value);
102 }
103 template <typename InteractionsT = VisualInteractionOptions>
105 SetInteractions(std::forward<InteractionsT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_contentUrl;
111
113
115
116 VisualInteractionOptions m_interactions;
117 bool m_contentUrlHasBeenSet = false;
118 bool m_contentTypeHasBeenSet = false;
119 bool m_imageScalingHasBeenSet = false;
120 bool m_interactionsHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace QuickSight
125} // namespace Aws
CustomContentConfiguration & WithContentUrl(ContentUrlT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API CustomContentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomContentConfiguration & WithInteractions(InteractionsT &&value)
void SetImageScaling(CustomContentImageScalingConfiguration value)
CustomContentConfiguration & WithContentType(CustomContentType value)
AWS_QUICKSIGHT_API CustomContentConfiguration(Aws::Utils::Json::JsonView jsonValue)
CustomContentImageScalingConfiguration GetImageScaling() const
CustomContentConfiguration & WithImageScaling(CustomContentImageScalingConfiguration value)
AWS_QUICKSIGHT_API CustomContentConfiguration()=default
const VisualInteractionOptions & GetInteractions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue