AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IotTwinMakerSourceConfiguration.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iottwinmaker/model/IotTwinMakerSourceConfigurationFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTTwinMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTTWINMAKER_API IotTwinMakerSourceConfiguration() = default;
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetWorkspace() const { return m_workspace; }
48 inline bool WorkspaceHasBeenSet() const { return m_workspaceHasBeenSet; }
49 template<typename WorkspaceT = Aws::String>
50 void SetWorkspace(WorkspaceT&& value) { m_workspaceHasBeenSet = true; m_workspace = std::forward<WorkspaceT>(value); }
51 template<typename WorkspaceT = Aws::String>
52 IotTwinMakerSourceConfiguration& WithWorkspace(WorkspaceT&& value) { SetWorkspace(std::forward<WorkspaceT>(value)); return *this;}
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) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
63 template<typename FiltersT = Aws::Vector<IotTwinMakerSourceConfigurationFilter>>
64 IotTwinMakerSourceConfiguration& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
65 template<typename FiltersT = IotTwinMakerSourceConfigurationFilter>
66 IotTwinMakerSourceConfiguration& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
68 private:
69
70 Aws::String m_workspace;
71 bool m_workspaceHasBeenSet = false;
72
74 bool m_filtersHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace IoTTwinMaker
79} // 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