AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
49 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
50 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
51 inline AuthParameter& WithKey(const Aws::String& value) { SetKey(value); return *this;}
52 inline AuthParameter& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
53 inline AuthParameter& WithKey(const char* value) { SetKey(value); return *this;}
55
57
60 inline bool GetIsRequired() const{ return m_isRequired; }
61 inline bool IsRequiredHasBeenSet() const { return m_isRequiredHasBeenSet; }
62 inline void SetIsRequired(bool value) { m_isRequiredHasBeenSet = true; m_isRequired = value; }
63 inline AuthParameter& WithIsRequired(bool value) { SetIsRequired(value); return *this;}
65
67
70 inline const Aws::String& GetLabel() const{ return m_label; }
71 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
72 inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; }
73 inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
74 inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); }
75 inline AuthParameter& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
76 inline AuthParameter& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
77 inline AuthParameter& WithLabel(const char* value) { SetLabel(value); return *this;}
79
81
84 inline const Aws::String& GetDescription() const{ return m_description; }
85 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
86 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
87 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
88 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
89 inline AuthParameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
90 inline AuthParameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
91 inline AuthParameter& WithDescription(const char* value) { SetDescription(value); return *this;}
93
95
98 inline bool GetIsSensitiveField() const{ return m_isSensitiveField; }
99 inline bool IsSensitiveFieldHasBeenSet() const { return m_isSensitiveFieldHasBeenSet; }
100 inline void SetIsSensitiveField(bool value) { m_isSensitiveFieldHasBeenSet = true; m_isSensitiveField = value; }
101 inline AuthParameter& WithIsSensitiveField(bool value) { SetIsSensitiveField(value); return *this;}
103
105
109 inline const Aws::Vector<Aws::String>& GetConnectorSuppliedValues() const{ return m_connectorSuppliedValues; }
110 inline bool ConnectorSuppliedValuesHasBeenSet() const { return m_connectorSuppliedValuesHasBeenSet; }
111 inline void SetConnectorSuppliedValues(const Aws::Vector<Aws::String>& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues = value; }
112 inline void SetConnectorSuppliedValues(Aws::Vector<Aws::String>&& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues = std::move(value); }
115 inline AuthParameter& AddConnectorSuppliedValues(const Aws::String& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues.push_back(value); return *this; }
116 inline AuthParameter& AddConnectorSuppliedValues(Aws::String&& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues.push_back(std::move(value)); return *this; }
117 inline AuthParameter& AddConnectorSuppliedValues(const char* value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues.push_back(value); return *this; }
119 private:
120
121 Aws::String m_key;
122 bool m_keyHasBeenSet = false;
123
124 bool m_isRequired;
125 bool m_isRequiredHasBeenSet = false;
126
127 Aws::String m_label;
128 bool m_labelHasBeenSet = false;
129
130 Aws::String m_description;
131 bool m_descriptionHasBeenSet = false;
132
133 bool m_isSensitiveField;
134 bool m_isSensitiveFieldHasBeenSet = false;
135
136 Aws::Vector<Aws::String> m_connectorSuppliedValues;
137 bool m_connectorSuppliedValuesHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Appflow
142} // namespace Aws
AuthParameter & WithLabel(const char *value)
void SetKey(Aws::String &&value)
AuthParameter & AddConnectorSuppliedValues(Aws::String &&value)
AuthParameter & AddConnectorSuppliedValues(const char *value)
void SetKey(const char *value)
void SetConnectorSuppliedValues(const Aws::Vector< Aws::String > &value)
void SetLabel(const Aws::String &value)
void SetKey(const Aws::String &value)
void SetDescription(Aws::String &&value)
AuthParameter & AddConnectorSuppliedValues(const Aws::String &value)
const Aws::String & GetKey() const
AuthParameter & WithLabel(const Aws::String &value)
AuthParameter & WithDescription(const char *value)
AuthParameter & WithConnectorSuppliedValues(Aws::Vector< Aws::String > &&value)
AuthParameter & WithKey(const char *value)
AWS_APPFLOW_API AuthParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
AuthParameter & WithIsSensitiveField(bool value)
void SetConnectorSuppliedValues(Aws::Vector< Aws::String > &&value)
void SetDescription(const char *value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLabel(Aws::String &&value)
void SetDescription(const Aws::String &value)
AWS_APPFLOW_API AuthParameter(Aws::Utils::Json::JsonView jsonValue)
AuthParameter & WithKey(const Aws::String &value)
const Aws::String & GetDescription() const
AuthParameter & WithKey(Aws::String &&value)
AuthParameter & WithIsRequired(bool value)
AuthParameter & WithConnectorSuppliedValues(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetConnectorSuppliedValues() const
const Aws::String & GetLabel() const
AuthParameter & WithDescription(Aws::String &&value)
void SetLabel(const char *value)
AuthParameter & WithDescription(const Aws::String &value)
AuthParameter & WithLabel(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