AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ConnectorEntity.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Appflow {
20namespace Model {
21
30 public:
31 AWS_APPFLOW_API ConnectorEntity() = default;
32 AWS_APPFLOW_API ConnectorEntity(Aws::Utils::Json::JsonView jsonValue);
34 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
48 ConnectorEntity& WithName(NameT&& value) {
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetLabel() const { return m_label; }
59 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
60 template <typename LabelT = Aws::String>
61 void SetLabel(LabelT&& value) {
62 m_labelHasBeenSet = true;
63 m_label = std::forward<LabelT>(value);
64 }
65 template <typename LabelT = Aws::String>
66 ConnectorEntity& WithLabel(LabelT&& value) {
67 SetLabel(std::forward<LabelT>(value));
68 return *this;
69 }
71
73
81 inline bool GetHasNestedEntities() const { return m_hasNestedEntities; }
82 inline bool HasNestedEntitiesHasBeenSet() const { return m_hasNestedEntitiesHasBeenSet; }
83 inline void SetHasNestedEntities(bool value) {
84 m_hasNestedEntitiesHasBeenSet = true;
85 m_hasNestedEntities = value;
86 }
89 return *this;
90 }
92 private:
93 Aws::String m_name;
94
95 Aws::String m_label;
96
97 bool m_hasNestedEntities{false};
98 bool m_nameHasBeenSet = false;
99 bool m_labelHasBeenSet = false;
100 bool m_hasNestedEntitiesHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Appflow
105} // namespace Aws
AWS_APPFLOW_API ConnectorEntity()=default
const Aws::String & GetLabel() const
ConnectorEntity & WithName(NameT &&value)
ConnectorEntity & WithLabel(LabelT &&value)
const Aws::String & GetName() const
ConnectorEntity & WithHasNestedEntities(bool value)
AWS_APPFLOW_API ConnectorEntity(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API ConnectorEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue