AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
SlackMetadata.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Appflow {
21namespace Model {
22
29 public:
30 AWS_APPFLOW_API SlackMetadata() = default;
31 AWS_APPFLOW_API SlackMetadata(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::Vector<Aws::String>& GetOAuthScopes() const { return m_oAuthScopes; }
40 inline bool OAuthScopesHasBeenSet() const { return m_oAuthScopesHasBeenSet; }
41 template <typename OAuthScopesT = Aws::Vector<Aws::String>>
42 void SetOAuthScopes(OAuthScopesT&& value) {
43 m_oAuthScopesHasBeenSet = true;
44 m_oAuthScopes = std::forward<OAuthScopesT>(value);
45 }
46 template <typename OAuthScopesT = Aws::Vector<Aws::String>>
47 SlackMetadata& WithOAuthScopes(OAuthScopesT&& value) {
48 SetOAuthScopes(std::forward<OAuthScopesT>(value));
49 return *this;
50 }
51 template <typename OAuthScopesT = Aws::String>
52 SlackMetadata& AddOAuthScopes(OAuthScopesT&& value) {
53 m_oAuthScopesHasBeenSet = true;
54 m_oAuthScopes.emplace_back(std::forward<OAuthScopesT>(value));
55 return *this;
56 }
58 private:
59 Aws::Vector<Aws::String> m_oAuthScopes;
60 bool m_oAuthScopesHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace Appflow
65} // namespace Aws
AWS_APPFLOW_API SlackMetadata()=default
AWS_APPFLOW_API SlackMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_APPFLOW_API SlackMetadata(Aws::Utils::Json::JsonView jsonValue)
SlackMetadata & AddOAuthScopes(OAuthScopesT &&value)
SlackMetadata & WithOAuthScopes(OAuthScopesT &&value)
const Aws::Vector< Aws::String > & GetOAuthScopes() const
void SetOAuthScopes(OAuthScopesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue