AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FunctionResponse.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 FunctionResponse();
38 AWS_IOTTWINMAKER_API FunctionResponse(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTTWINMAKER_API FunctionResponse& 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); }
53 inline FunctionResponse& AddRequiredProperties(const Aws::String& value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties.push_back(value); return *this; }
54 inline FunctionResponse& AddRequiredProperties(Aws::String&& value) { m_requiredPropertiesHasBeenSet = true; m_requiredProperties.push_back(std::move(value)); return *this; }
55 inline FunctionResponse& 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 FunctionResponse& WithScope(const Scope& value) { SetScope(value); return *this;}
67 inline FunctionResponse& 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 FunctionResponse& WithImplementedBy(const DataConnector& value) { SetImplementedBy(value); return *this;}
79 inline FunctionResponse& WithImplementedBy(DataConnector&& value) { SetImplementedBy(std::move(value)); return *this;}
81
83
86 inline bool GetIsInherited() const{ return m_isInherited; }
87 inline bool IsInheritedHasBeenSet() const { return m_isInheritedHasBeenSet; }
88 inline void SetIsInherited(bool value) { m_isInheritedHasBeenSet = true; m_isInherited = value; }
89 inline FunctionResponse& WithIsInherited(bool value) { SetIsInherited(value); return *this;}
91 private:
92
93 Aws::Vector<Aws::String> m_requiredProperties;
94 bool m_requiredPropertiesHasBeenSet = false;
95
96 Scope m_scope;
97 bool m_scopeHasBeenSet = false;
98
99 DataConnector m_implementedBy;
100 bool m_implementedByHasBeenSet = false;
101
102 bool m_isInherited;
103 bool m_isInheritedHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace IoTTwinMaker
108} // namespace Aws
FunctionResponse & WithScope(Scope &&value)
FunctionResponse & WithRequiredProperties(Aws::Vector< Aws::String > &&value)
const DataConnector & GetImplementedBy() const
AWS_IOTTWINMAKER_API FunctionResponse(Aws::Utils::Json::JsonView jsonValue)
FunctionResponse & WithImplementedBy(DataConnector &&value)
const Aws::Vector< Aws::String > & GetRequiredProperties() const
void SetImplementedBy(DataConnector &&value)
AWS_IOTTWINMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRequiredProperties(const Aws::Vector< Aws::String > &value)
FunctionResponse & WithScope(const Scope &value)
void SetImplementedBy(const DataConnector &value)
FunctionResponse & WithIsInherited(bool value)
void SetRequiredProperties(Aws::Vector< Aws::String > &&value)
FunctionResponse & AddRequiredProperties(Aws::String &&value)
FunctionResponse & AddRequiredProperties(const char *value)
FunctionResponse & AddRequiredProperties(const Aws::String &value)
AWS_IOTTWINMAKER_API FunctionResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
FunctionResponse & WithImplementedBy(const DataConnector &value)
FunctionResponse & WithRequiredProperties(const Aws::Vector< 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