/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Appflow { namespace Model { /** *

The connector metadata specific to Zendesk.

See Also:

AWS * API Reference

*/ class ZendeskMetadata { public: AWS_APPFLOW_API ZendeskMetadata(); AWS_APPFLOW_API ZendeskMetadata(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API ZendeskMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The desired authorization scope for the Zendesk account.

*/ inline const Aws::Vector& GetOAuthScopes() const{ return m_oAuthScopes; } /** *

The desired authorization scope for the Zendesk account.

*/ inline bool OAuthScopesHasBeenSet() const { return m_oAuthScopesHasBeenSet; } /** *

The desired authorization scope for the Zendesk account.

*/ inline void SetOAuthScopes(const Aws::Vector& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes = value; } /** *

The desired authorization scope for the Zendesk account.

*/ inline void SetOAuthScopes(Aws::Vector&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes = std::move(value); } /** *

The desired authorization scope for the Zendesk account.

*/ inline ZendeskMetadata& WithOAuthScopes(const Aws::Vector& value) { SetOAuthScopes(value); return *this;} /** *

The desired authorization scope for the Zendesk account.

*/ inline ZendeskMetadata& WithOAuthScopes(Aws::Vector&& value) { SetOAuthScopes(std::move(value)); return *this;} /** *

The desired authorization scope for the Zendesk account.

*/ inline ZendeskMetadata& AddOAuthScopes(const Aws::String& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(value); return *this; } /** *

The desired authorization scope for the Zendesk account.

*/ inline ZendeskMetadata& AddOAuthScopes(Aws::String&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(std::move(value)); return *this; } /** *

The desired authorization scope for the Zendesk account.

*/ inline ZendeskMetadata& AddOAuthScopes(const char* value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(value); return *this; } private: Aws::Vector m_oAuthScopes; bool m_oAuthScopesHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws