AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OAuth2CustomParameter.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 <aws/appflow/model/OAuth2CustomPropType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Appflow
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_APPFLOW_API OAuth2CustomParameter();
40 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetKey() const{ return m_key; }
48 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
49 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
50 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
51 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
52 inline OAuth2CustomParameter& WithKey(const Aws::String& value) { SetKey(value); return *this;}
53 inline OAuth2CustomParameter& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
54 inline OAuth2CustomParameter& WithKey(const char* value) { SetKey(value); return *this;}
56
58
62 inline bool GetIsRequired() const{ return m_isRequired; }
63 inline bool IsRequiredHasBeenSet() const { return m_isRequiredHasBeenSet; }
64 inline void SetIsRequired(bool value) { m_isRequiredHasBeenSet = true; m_isRequired = value; }
65 inline OAuth2CustomParameter& WithIsRequired(bool value) { SetIsRequired(value); return *this;}
67
69
72 inline const Aws::String& GetLabel() const{ return m_label; }
73 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
74 inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; }
75 inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
76 inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); }
77 inline OAuth2CustomParameter& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
78 inline OAuth2CustomParameter& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
79 inline OAuth2CustomParameter& WithLabel(const char* value) { SetLabel(value); return *this;}
81
83
87 inline const Aws::String& GetDescription() const{ return m_description; }
88 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
89 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
90 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
91 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
92 inline OAuth2CustomParameter& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
93 inline OAuth2CustomParameter& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
94 inline OAuth2CustomParameter& WithDescription(const char* value) { SetDescription(value); return *this;}
96
98
102 inline bool GetIsSensitiveField() const{ return m_isSensitiveField; }
103 inline bool IsSensitiveFieldHasBeenSet() const { return m_isSensitiveFieldHasBeenSet; }
104 inline void SetIsSensitiveField(bool value) { m_isSensitiveFieldHasBeenSet = true; m_isSensitiveField = value; }
105 inline OAuth2CustomParameter& WithIsSensitiveField(bool value) { SetIsSensitiveField(value); return *this;}
107
109
113 inline const Aws::Vector<Aws::String>& GetConnectorSuppliedValues() const{ return m_connectorSuppliedValues; }
114 inline bool ConnectorSuppliedValuesHasBeenSet() const { return m_connectorSuppliedValuesHasBeenSet; }
115 inline void SetConnectorSuppliedValues(const Aws::Vector<Aws::String>& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues = value; }
116 inline void SetConnectorSuppliedValues(Aws::Vector<Aws::String>&& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues = std::move(value); }
119 inline OAuth2CustomParameter& AddConnectorSuppliedValues(const Aws::String& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues.push_back(value); return *this; }
120 inline OAuth2CustomParameter& AddConnectorSuppliedValues(Aws::String&& value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues.push_back(std::move(value)); return *this; }
121 inline OAuth2CustomParameter& AddConnectorSuppliedValues(const char* value) { m_connectorSuppliedValuesHasBeenSet = true; m_connectorSuppliedValues.push_back(value); return *this; }
123
125
128 inline const OAuth2CustomPropType& GetType() const{ return m_type; }
129 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
130 inline void SetType(const OAuth2CustomPropType& value) { m_typeHasBeenSet = true; m_type = value; }
131 inline void SetType(OAuth2CustomPropType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
132 inline OAuth2CustomParameter& WithType(const OAuth2CustomPropType& value) { SetType(value); return *this;}
133 inline OAuth2CustomParameter& WithType(OAuth2CustomPropType&& value) { SetType(std::move(value)); return *this;}
135 private:
136
137 Aws::String m_key;
138 bool m_keyHasBeenSet = false;
139
140 bool m_isRequired;
141 bool m_isRequiredHasBeenSet = false;
142
143 Aws::String m_label;
144 bool m_labelHasBeenSet = false;
145
146 Aws::String m_description;
147 bool m_descriptionHasBeenSet = false;
148
149 bool m_isSensitiveField;
150 bool m_isSensitiveFieldHasBeenSet = false;
151
152 Aws::Vector<Aws::String> m_connectorSuppliedValues;
153 bool m_connectorSuppliedValuesHasBeenSet = false;
154
156 bool m_typeHasBeenSet = false;
157 };
158
159} // namespace Model
160} // namespace Appflow
161} // namespace Aws
OAuth2CustomParameter & WithKey(const char *value)
AWS_APPFLOW_API OAuth2CustomParameter & operator=(Aws::Utils::Json::JsonView jsonValue)
OAuth2CustomParameter & WithKey(const Aws::String &value)
OAuth2CustomParameter & WithType(const OAuth2CustomPropType &value)
OAuth2CustomParameter & WithDescription(Aws::String &&value)
OAuth2CustomParameter & WithLabel(Aws::String &&value)
void SetType(OAuth2CustomPropType &&value)
void SetType(const OAuth2CustomPropType &value)
OAuth2CustomParameter & AddConnectorSuppliedValues(const char *value)
OAuth2CustomParameter & WithDescription(const char *value)
OAuth2CustomParameter & AddConnectorSuppliedValues(Aws::String &&value)
void SetConnectorSuppliedValues(const Aws::Vector< Aws::String > &value)
OAuth2CustomParameter & WithIsRequired(bool value)
OAuth2CustomParameter & WithLabel(const Aws::String &value)
const OAuth2CustomPropType & GetType() const
void SetDescription(const Aws::String &value)
OAuth2CustomParameter & WithLabel(const char *value)
OAuth2CustomParameter & WithIsSensitiveField(bool value)
OAuth2CustomParameter & WithDescription(const Aws::String &value)
OAuth2CustomParameter & WithConnectorSuppliedValues(const Aws::Vector< Aws::String > &value)
OAuth2CustomParameter & WithType(OAuth2CustomPropType &&value)
OAuth2CustomParameter & WithConnectorSuppliedValues(Aws::Vector< Aws::String > &&value)
AWS_APPFLOW_API OAuth2CustomParameter(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConnectorSuppliedValues(Aws::Vector< Aws::String > &&value)
OAuth2CustomParameter & WithKey(Aws::String &&value)
OAuth2CustomParameter & AddConnectorSuppliedValues(const Aws::String &value)
const Aws::Vector< Aws::String > & GetConnectorSuppliedValues() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue