AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetWorkspace(const Aws::String& value) { m_workspaceHasBeenSet = true; m_workspace = value; }
50 inline void SetWorkspace(Aws::String&& value) { m_workspaceHasBeenSet = true; m_workspace = std::move(value); }
51 inline void SetWorkspace(const char* value) { m_workspaceHasBeenSet = true; m_workspace.assign(value); }
52 inline IotTwinMakerSourceConfiguration& WithWorkspace(const Aws::String& value) { SetWorkspace(value); return *this;}
53 inline IotTwinMakerSourceConfiguration& WithWorkspace(Aws::String&& value) { SetWorkspace(std::move(value)); return *this;}
54 inline IotTwinMakerSourceConfiguration& WithWorkspace(const char* value) { SetWorkspace(value); return *this;}
56
58
61 inline const Aws::Vector<IotTwinMakerSourceConfigurationFilter>& GetFilters() const{ return m_filters; }
62 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
63 inline void SetFilters(const Aws::Vector<IotTwinMakerSourceConfigurationFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
64 inline void SetFilters(Aws::Vector<IotTwinMakerSourceConfigurationFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
67 inline IotTwinMakerSourceConfiguration& AddFilters(const IotTwinMakerSourceConfigurationFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
68 inline IotTwinMakerSourceConfiguration& AddFilters(IotTwinMakerSourceConfigurationFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
70 private:
71
72 Aws::String m_workspace;
73 bool m_workspaceHasBeenSet = false;
74
76 bool m_filtersHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace IoTTwinMaker
81} // namespace Aws
void SetFilters(const Aws::Vector< IotTwinMakerSourceConfigurationFilter > &value)
IotTwinMakerSourceConfiguration & WithWorkspace(Aws::String &&value)
IotTwinMakerSourceConfiguration & AddFilters(const IotTwinMakerSourceConfigurationFilter &value)
AWS_IOTTWINMAKER_API IotTwinMakerSourceConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< IotTwinMakerSourceConfigurationFilter > & GetFilters() const
IotTwinMakerSourceConfiguration & AddFilters(IotTwinMakerSourceConfigurationFilter &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
IotTwinMakerSourceConfiguration & WithFilters(const Aws::Vector< IotTwinMakerSourceConfigurationFilter > &value)
AWS_IOTTWINMAKER_API IotTwinMakerSourceConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFilters(Aws::Vector< IotTwinMakerSourceConfigurationFilter > &&value)
IotTwinMakerSourceConfiguration & WithFilters(Aws::Vector< IotTwinMakerSourceConfigurationFilter > &&value)
IotTwinMakerSourceConfiguration & WithWorkspace(const char *value)
IotTwinMakerSourceConfiguration & WithWorkspace(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue