AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
ImageConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ImageSource.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 ImageConfiguration() = default;
30 AWS_QUICKSIGHT_API ImageConfiguration(Aws::Utils::Json::JsonView jsonValue);
32 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const ImageSource& GetSource() const { return m_source; }
39 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
40 template <typename SourceT = ImageSource>
41 void SetSource(SourceT&& value) {
42 m_sourceHasBeenSet = true;
43 m_source = std::forward<SourceT>(value);
44 }
45 template <typename SourceT = ImageSource>
46 ImageConfiguration& WithSource(SourceT&& value) {
47 SetSource(std::forward<SourceT>(value));
48 return *this;
49 }
51 private:
52 ImageSource m_source;
53 bool m_sourceHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace QuickSight
58} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ImageConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API ImageConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API ImageConfiguration()=default
ImageConfiguration & WithSource(SourceT &&value)
Aws::Utils::Json::JsonValue JsonValue