7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/glue/Glue_EXPORTS.h>
9#include <aws/glue/model/ConnectorProperty.h>
10#include <aws/glue/model/ContentType.h>
11#include <aws/glue/model/HTTPMethod.h>
45 template <
typename TokenUrlT = ConnectorProperty>
47 m_tokenUrlHasBeenSet =
true;
48 m_tokenUrl = std::forward<TokenUrlT>(value);
50 template <
typename TokenUrlT = ConnectorProperty>
64 m_requestMethodHasBeenSet =
true;
65 m_requestMethod = value;
81 m_contentTypeHasBeenSet =
true;
82 m_contentType = value;
96 template <
typename ClientIdT = ConnectorProperty>
98 m_clientIdHasBeenSet =
true;
99 m_clientId = std::forward<ClientIdT>(value);
101 template <
typename ClientIdT = ConnectorProperty>
114 template <
typename ClientSecretT = ConnectorProperty>
116 m_clientSecretHasBeenSet =
true;
117 m_clientSecret = std::forward<ClientSecretT>(value);
119 template <
typename ClientSecretT = ConnectorProperty>
133 template <
typename ScopeT = ConnectorProperty>
135 m_scopeHasBeenSet =
true;
136 m_scope = std::forward<ScopeT>(value);
138 template <
typename ScopeT = ConnectorProperty>
140 SetScope(std::forward<ScopeT>(value));
152 template <
typename TokenUrlParametersT = Aws::Vector<ConnectorProperty>>
154 m_tokenUrlParametersHasBeenSet =
true;
155 m_tokenUrlParameters = std::forward<TokenUrlParametersT>(value);
157 template <
typename TokenUrlParametersT = Aws::Vector<ConnectorProperty>>
162 template <
typename TokenUrlParametersT = ConnectorProperty>
164 m_tokenUrlParametersHasBeenSet =
true;
165 m_tokenUrlParameters.emplace_back(std::forward<TokenUrlParametersT>(value));
176 ConnectorProperty m_clientId;
178 ConnectorProperty m_clientSecret;
180 ConnectorProperty m_scope;
183 bool m_tokenUrlHasBeenSet =
false;
184 bool m_requestMethodHasBeenSet =
false;
185 bool m_contentTypeHasBeenSet =
false;
186 bool m_clientIdHasBeenSet =
false;
187 bool m_clientSecretHasBeenSet =
false;
188 bool m_scopeHasBeenSet =
false;
189 bool m_tokenUrlParametersHasBeenSet =
false;
bool TokenUrlHasBeenSet() const
void SetRequestMethod(HTTPMethod value)
const ConnectorProperty & GetScope() const
const Aws::Vector< ConnectorProperty > & GetTokenUrlParameters() const
bool ContentTypeHasBeenSet() const
bool ScopeHasBeenSet() const
ClientCredentialsProperties & WithRequestMethod(HTTPMethod value)
void SetTokenUrlParameters(TokenUrlParametersT &&value)
bool RequestMethodHasBeenSet() const
void SetScope(ScopeT &&value)
const ConnectorProperty & GetClientSecret() const
const ConnectorProperty & GetClientId() const
AWS_GLUE_API ClientCredentialsProperties(Aws::Utils::Json::JsonView jsonValue)
void SetClientSecret(ClientSecretT &&value)
bool ClientSecretHasBeenSet() const
bool TokenUrlParametersHasBeenSet() const
void SetClientId(ClientIdT &&value)
void SetContentType(ContentType value)
bool ClientIdHasBeenSet() const
ClientCredentialsProperties & WithTokenUrl(TokenUrlT &&value)
ClientCredentialsProperties & AddTokenUrlParameters(TokenUrlParametersT &&value)
ClientCredentialsProperties & WithContentType(ContentType value)
ClientCredentialsProperties & WithScope(ScopeT &&value)
AWS_GLUE_API ClientCredentialsProperties()=default
ContentType GetContentType() const
HTTPMethod GetRequestMethod() const
ClientCredentialsProperties & WithTokenUrlParameters(TokenUrlParametersT &&value)
const ConnectorProperty & GetTokenUrl() const
ClientCredentialsProperties & WithClientId(ClientIdT &&value)
ClientCredentialsProperties & WithClientSecret(ClientSecretT &&value)
AWS_GLUE_API ClientCredentialsProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTokenUrl(TokenUrlT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue