AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
IotTwinMakerSourceConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
10#include <aws/iottwinmaker/model/IotTwinMakerSourceConfigurationFilter.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTTwinMaker {
22namespace Model {
23
31 public:
32 AWS_IOTTWINMAKER_API IotTwinMakerSourceConfiguration() = default;
35 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetWorkspace() const { return m_workspace; }
42 inline bool WorkspaceHasBeenSet() const { return m_workspaceHasBeenSet; }
43 template <typename WorkspaceT = Aws::String>
44 void SetWorkspace(WorkspaceT&& value) {
45 m_workspaceHasBeenSet = true;
46 m_workspace = std::forward<WorkspaceT>(value);
47 }
48 template <typename WorkspaceT = Aws::String>
50 SetWorkspace(std::forward<WorkspaceT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<IotTwinMakerSourceConfigurationFilter>& GetFilters() const { return m_filters; }
60 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
61 template <typename FiltersT = Aws::Vector<IotTwinMakerSourceConfigurationFilter>>
62 void SetFilters(FiltersT&& value) {
63 m_filtersHasBeenSet = true;
64 m_filters = std::forward<FiltersT>(value);
65 }
66 template <typename FiltersT = Aws::Vector<IotTwinMakerSourceConfigurationFilter>>
68 SetFilters(std::forward<FiltersT>(value));
69 return *this;
70 }
71 template <typename FiltersT = IotTwinMakerSourceConfigurationFilter>
73 m_filtersHasBeenSet = true;
74 m_filters.emplace_back(std::forward<FiltersT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_workspace;
80
82 bool m_workspaceHasBeenSet = false;
83 bool m_filtersHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace IoTTwinMaker
88} // namespace Aws
IotTwinMakerSourceConfiguration & WithFilters(FiltersT &&value)
AWS_IOTTWINMAKER_API IotTwinMakerSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
IotTwinMakerSourceConfiguration & AddFilters(FiltersT &&value)
const Aws::Vector< IotTwinMakerSourceConfigurationFilter > & GetFilters() const
IotTwinMakerSourceConfiguration & WithWorkspace(WorkspaceT &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTTWINMAKER_API IotTwinMakerSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTTWINMAKER_API IotTwinMakerSourceConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue