AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CustomContentConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/CustomContentType.h>
10#include <aws/quicksight/model/CustomContentImageScalingConfiguration.h>
11#include <aws/quicksight/model/VisualInteractionOptions.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API CustomContentConfiguration() = default;
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::String& GetContentUrl() const { return m_contentUrl; }
50 inline bool ContentUrlHasBeenSet() const { return m_contentUrlHasBeenSet; }
51 template<typename ContentUrlT = Aws::String>
52 void SetContentUrl(ContentUrlT&& value) { m_contentUrlHasBeenSet = true; m_contentUrl = std::forward<ContentUrlT>(value); }
53 template<typename ContentUrlT = Aws::String>
54 CustomContentConfiguration& WithContentUrl(ContentUrlT&& value) { SetContentUrl(std::forward<ContentUrlT>(value)); return *this;}
56
58
62 inline CustomContentType GetContentType() const { return m_contentType; }
63 inline bool ContentTypeHasBeenSet() const { return m_contentTypeHasBeenSet; }
64 inline void SetContentType(CustomContentType value) { m_contentTypeHasBeenSet = true; m_contentType = value; }
67
69
74 inline CustomContentImageScalingConfiguration GetImageScaling() const { return m_imageScaling; }
75 inline bool ImageScalingHasBeenSet() const { return m_imageScalingHasBeenSet; }
76 inline void SetImageScaling(CustomContentImageScalingConfiguration value) { m_imageScalingHasBeenSet = true; m_imageScaling = value; }
79
81
84 inline const VisualInteractionOptions& GetInteractions() const { return m_interactions; }
85 inline bool InteractionsHasBeenSet() const { return m_interactionsHasBeenSet; }
86 template<typename InteractionsT = VisualInteractionOptions>
87 void SetInteractions(InteractionsT&& value) { m_interactionsHasBeenSet = true; m_interactions = std::forward<InteractionsT>(value); }
88 template<typename InteractionsT = VisualInteractionOptions>
89 CustomContentConfiguration& WithInteractions(InteractionsT&& value) { SetInteractions(std::forward<InteractionsT>(value)); return *this;}
91 private:
92
93 Aws::String m_contentUrl;
94 bool m_contentUrlHasBeenSet = false;
95
97 bool m_contentTypeHasBeenSet = false;
98
100 bool m_imageScalingHasBeenSet = false;
101
102 VisualInteractionOptions m_interactions;
103 bool m_interactionsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace QuickSight
108} // 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