AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
StaticFileSource.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/StaticFileUrlSourceOptions.h>
9#include <aws/quicksight/model/StaticFileS3SourceOptions.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API StaticFileSource() = default;
36 AWS_QUICKSIGHT_API StaticFileSource(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const StaticFileUrlSourceOptions& GetUrlOptions() const { return m_urlOptions; }
46 inline bool UrlOptionsHasBeenSet() const { return m_urlOptionsHasBeenSet; }
47 template<typename UrlOptionsT = StaticFileUrlSourceOptions>
48 void SetUrlOptions(UrlOptionsT&& value) { m_urlOptionsHasBeenSet = true; m_urlOptions = std::forward<UrlOptionsT>(value); }
49 template<typename UrlOptionsT = StaticFileUrlSourceOptions>
50 StaticFileSource& WithUrlOptions(UrlOptionsT&& value) { SetUrlOptions(std::forward<UrlOptionsT>(value)); return *this;}
52
54
58 inline const StaticFileS3SourceOptions& GetS3Options() const { return m_s3Options; }
59 inline bool S3OptionsHasBeenSet() const { return m_s3OptionsHasBeenSet; }
60 template<typename S3OptionsT = StaticFileS3SourceOptions>
61 void SetS3Options(S3OptionsT&& value) { m_s3OptionsHasBeenSet = true; m_s3Options = std::forward<S3OptionsT>(value); }
62 template<typename S3OptionsT = StaticFileS3SourceOptions>
63 StaticFileSource& WithS3Options(S3OptionsT&& value) { SetS3Options(std::forward<S3OptionsT>(value)); return *this;}
65 private:
66
67 StaticFileUrlSourceOptions m_urlOptions;
68 bool m_urlOptionsHasBeenSet = false;
69
70 StaticFileS3SourceOptions m_s3Options;
71 bool m_s3OptionsHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
AWS_QUICKSIGHT_API StaticFileSource & operator=(Aws::Utils::Json::JsonView jsonValue)
const StaticFileS3SourceOptions & GetS3Options() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
StaticFileSource & WithUrlOptions(UrlOptionsT &&value)
const StaticFileUrlSourceOptions & GetUrlOptions() const
AWS_QUICKSIGHT_API StaticFileSource()=default
StaticFileSource & WithS3Options(S3OptionsT &&value)
AWS_QUICKSIGHT_API StaticFileSource(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue