AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
SpatialStaticFile.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/StaticFileSource.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API SpatialStaticFile() = default;
32 AWS_QUICKSIGHT_API SpatialStaticFile(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetStaticFileId() const { return m_staticFileId; }
41 inline bool StaticFileIdHasBeenSet() const { return m_staticFileIdHasBeenSet; }
42 template <typename StaticFileIdT = Aws::String>
43 void SetStaticFileId(StaticFileIdT&& value) {
44 m_staticFileIdHasBeenSet = true;
45 m_staticFileId = std::forward<StaticFileIdT>(value);
46 }
47 template <typename StaticFileIdT = Aws::String>
48 SpatialStaticFile& WithStaticFileId(StaticFileIdT&& value) {
49 SetStaticFileId(std::forward<StaticFileIdT>(value));
50 return *this;
51 }
53
55
58 inline const StaticFileSource& GetSource() const { return m_source; }
59 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
60 template <typename SourceT = StaticFileSource>
61 void SetSource(SourceT&& value) {
62 m_sourceHasBeenSet = true;
63 m_source = std::forward<SourceT>(value);
64 }
65 template <typename SourceT = StaticFileSource>
66 SpatialStaticFile& WithSource(SourceT&& value) {
67 SetSource(std::forward<SourceT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_staticFileId;
73
74 StaticFileSource m_source;
75 bool m_staticFileIdHasBeenSet = false;
76 bool m_sourceHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace QuickSight
81} // namespace Aws
const Aws::String & GetStaticFileId() const
AWS_QUICKSIGHT_API SpatialStaticFile()=default
SpatialStaticFile & WithSource(SourceT &&value)
void SetStaticFileId(StaticFileIdT &&value)
AWS_QUICKSIGHT_API SpatialStaticFile(Aws::Utils::Json::JsonView jsonValue)
const StaticFileSource & GetSource() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SpatialStaticFile & operator=(Aws::Utils::Json::JsonView jsonValue)
SpatialStaticFile & WithStaticFileId(StaticFileIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue