AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AuthParameter.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Appflow
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_APPFLOW_API AuthParameter() = default;
37 AWS_APPFLOW_API AuthParameter(Aws::Utils::Json::JsonView jsonValue);
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetKey() const { return m_key; }
47 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
48 template<typename KeyT = Aws::String>
49 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
50 template<typename KeyT = Aws::String>
51 AuthParameter& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
53
55
58 inline bool GetIsRequired() const { return m_isRequired; }
59 inline bool IsRequiredHasBeenSet() const { return m_isRequiredHasBeenSet; }
60 inline void SetIsRequired(bool value) { m_isRequiredHasBeenSet = true; m_isRequired = value; }
61 inline AuthParameter& WithIsRequired(bool value) { SetIsRequired(value); return *this;}
63
65
68 inline const Aws::String& GetLabel() const { return m_label; }
69 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
70 template<typename LabelT = Aws::String>
71 void SetLabel(LabelT&& value) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
72 template<typename LabelT = Aws::String>
73 AuthParameter& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
75
77
80 inline const Aws::String& GetDescription() const { return m_description; }
81 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
82 template<typename DescriptionT = Aws::String>
83 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
84 template<typename DescriptionT = Aws::String>
85 AuthParameter& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
87
89
92 inline bool GetIsSensitiveField() const { return m_isSensitiveField; }
93 inline bool IsSensitiveFieldHasBeenSet() const { return m_isSensitiveFieldHasBeenSet; }
94 inline void SetIsSensitiveField(bool value) { m_isSensitiveFieldHasBeenSet = true; m_isSensitiveField = value; }
95 inline AuthParameter& WithIsSensitiveField(bool value) { SetIsSensitiveField(value); return *this;}
97
99
103 inline const Aws::Vector<Aws::String>& GetConnectorSuppliedValues() const { return m_connectorSuppliedValues; }
104 inline bool ConnectorSuppliedValuesHasBeenSet() const { return m_connectorSuppliedValuesHasBeenSet; }
105 template<typename ConnectorSuppliedValuesT = Aws::Vector<Aws::String>>
106 void SetConnectorSuppliedValues(ConnectorSuppliedValuesT&& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues = std::forward<ConnectorSuppliedValuesT>(value); }
107 template<typename ConnectorSuppliedValuesT = Aws::Vector<Aws::String>>
108 AuthParameter& WithConnectorSuppliedValues(ConnectorSuppliedValuesT&& value) { SetConnectorSuppliedValues(std::forward<ConnectorSuppliedValuesT>(value)); return *this;}
109 template<typename ConnectorSuppliedValuesT = Aws::String>
110 AuthParameter& AddConnectorSuppliedValues(ConnectorSuppliedValuesT&& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues.emplace_back(std::forward<ConnectorSuppliedValuesT>(value)); return *this; }
112 private:
113
114 Aws::String m_key;
115 bool m_keyHasBeenSet = false;
116
117 bool m_isRequired{false};
118 bool m_isRequiredHasBeenSet = false;
119
120 Aws::String m_label;
121 bool m_labelHasBeenSet = false;
122
123 Aws::String m_description;
124 bool m_descriptionHasBeenSet = false;
125
126 bool m_isSensitiveField{false};
127 bool m_isSensitiveFieldHasBeenSet = false;
128
129 Aws::Vector<Aws::String> m_connectorSuppliedValues;
130 bool m_connectorSuppliedValuesHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace Appflow
135} // namespace Aws
AuthParameter & WithLabel(LabelT &&value)
AWS_APPFLOW_API AuthParameter()=default
const Aws::String & GetKey() const
AWS_APPFLOW_API AuthParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthParameter & WithIsSensitiveField(bool value)
void SetConnectorSuppliedValues(ConnectorSuppliedValuesT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(DescriptionT &&value)
AuthParameter & WithKey(KeyT &&value)
AWS_APPFLOW_API AuthParameter(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDescription() const
AuthParameter & AddConnectorSuppliedValues(ConnectorSuppliedValuesT &&value)
AuthParameter & WithIsRequired(bool value)
AuthParameter & WithConnectorSuppliedValues(ConnectorSuppliedValuesT &&value)
const Aws::Vector< Aws::String > & GetConnectorSuppliedValues() const
const Aws::String & GetLabel() const
AuthParameter & WithDescription(DescriptionT &&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