AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FunctionRequest.h
1
6#pragma once
7#include <aws/iottwinmaker/IoTTwinMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iottwinmaker/model/Scope.h>
10#include <aws/iottwinmaker/model/DataConnector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTTwinMaker
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_IOTTWINMAKER_API FunctionRequest();
38 AWS_IOTTWINMAKER_API FunctionRequest(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API FunctionRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Vector<Aws::String>& GetRequiredProperties() const{ return m_requiredProperties; }
48 inline bool RequiredPropertiesHasBeenSet() const { return m_requiredPropertiesHasBeenSet; }
49 inline void SetRequiredProperties(const Aws::Vector<Aws::String>& value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties = value; }
50 inline void SetRequiredProperties(Aws::Vector<Aws::String>&& value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties = std::move(value); }
52 inline FunctionRequest& WithRequiredProperties(Aws::Vector<Aws::String>&& value) { SetRequiredProperties(std::move(value)); return *this;}
53 inline FunctionRequest& AddRequiredProperties(const Aws::String& value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties.push_back(value); return *this; }
54 inline FunctionRequest& AddRequiredProperties(Aws::String&& value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties.push_back(std::move(value)); return *this; }
55 inline FunctionRequest& AddRequiredProperties(const char* value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties.push_back(value); return *this; }
57
59
62 inline const Scope& GetScope() const{ return m_scope; }
63 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
64 inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
65 inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
66 inline FunctionRequest& WithScope(const Scope& value) { SetScope(value); return *this;}
67 inline FunctionRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
69
71
74 inline const DataConnector& GetImplementedBy() const{ return m_implementedBy; }
75 inline bool ImplementedByHasBeenSet() const { return m_implementedByHasBeenSet; }
76 inline void SetImplementedBy(const DataConnector& value) { m_implementedByHasBeenSet = true; m_implementedBy = value; }
77 inline void SetImplementedBy(DataConnector&& value) { m_implementedByHasBeenSet = true; m_implementedBy = std::move(value); }
78 inline FunctionRequest& WithImplementedBy(const DataConnector& value) { SetImplementedBy(value); return *this;}
79 inline FunctionRequest& WithImplementedBy(DataConnector&& value) { SetImplementedBy(std::move(value)); return *this;}
81 private:
82
83 Aws::Vector<Aws::String> m_requiredProperties;
84 bool m_requiredPropertiesHasBeenSet = false;
85
86 Scope m_scope;
87 bool m_scopeHasBeenSet = false;
88
89 DataConnector m_implementedBy;
90 bool m_implementedByHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace IoTTwinMaker
95} // namespace Aws
FunctionRequest & WithRequiredProperties(Aws::Vector< Aws::String > &&value)
FunctionRequest & WithRequiredProperties(const Aws::Vector< Aws::String > &value)
AWS_IOTTWINMAKER_API FunctionRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
FunctionRequest & AddRequiredProperties(const char *value)
const DataConnector & GetImplementedBy() const
void SetImplementedBy(const DataConnector &value)
const Aws::Vector< Aws::String > & GetRequiredProperties() const
AWS_IOTTWINMAKER_API FunctionRequest(Aws::Utils::Json::JsonView jsonValue)
FunctionRequest & WithScope(Scope &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
FunctionRequest & WithImplementedBy(const DataConnector &value)
FunctionRequest & AddRequiredProperties(const Aws::String &value)
FunctionRequest & AddRequiredProperties(Aws::String &&value)
void SetRequiredProperties(Aws::Vector< Aws::String > &&value)
void SetImplementedBy(DataConnector &&value)
FunctionRequest & WithImplementedBy(DataConnector &&value)
void SetRequiredProperties(const Aws::Vector< Aws::String > &value)
FunctionRequest & WithScope(const Scope &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