AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SlackMetadata.h
1
6#pragma once
7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.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
33 {
34 public:
35 AWS_APPFLOW_API SlackMetadata();
36 AWS_APPFLOW_API SlackMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<Aws::String>& GetOAuthScopes() const{ return m_oAuthScopes; }
46 inline bool OAuthScopesHasBeenSet() const { return m_oAuthScopesHasBeenSet; }
47 inline void SetOAuthScopes(const Aws::Vector<Aws::String>& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes = value; }
48 inline void SetOAuthScopes(Aws::Vector<Aws::String>&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes = std::move(value); }
49 inline SlackMetadata& WithOAuthScopes(const Aws::Vector<Aws::String>& value) { SetOAuthScopes(value); return *this;}
50 inline SlackMetadata& WithOAuthScopes(Aws::Vector<Aws::String>&& value) { SetOAuthScopes(std::move(value)); return *this;}
51 inline SlackMetadata& AddOAuthScopes(const Aws::String& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(value); return *this; }
52 inline SlackMetadata& AddOAuthScopes(Aws::String&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(std::move(value)); return *this; }
53 inline SlackMetadata& AddOAuthScopes(const char* value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(value); return *this; }
55 private:
56
57 Aws::Vector<Aws::String> m_oAuthScopes;
58 bool m_oAuthScopesHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace Appflow
63} // namespace Aws
AWS_APPFLOW_API SlackMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
SlackMetadata & AddOAuthScopes(const Aws::String &value)
SlackMetadata & AddOAuthScopes(const char *value)
void SetOAuthScopes(const Aws::Vector< Aws::String > &value)
SlackMetadata & AddOAuthScopes(Aws::String &&value)
AWS_APPFLOW_API SlackMetadata(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetOAuthScopes() const
void SetOAuthScopes(Aws::Vector< Aws::String > &&value)
SlackMetadata & WithOAuthScopes(Aws::Vector< Aws::String > &&value)
SlackMetadata & WithOAuthScopes(const Aws::Vector< 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