AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HoneycodeMetadata.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
34 {
35 public:
36 AWS_APPFLOW_API HoneycodeMetadata();
39 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetOAuthScopes() const{ return m_oAuthScopes; }
47 inline bool OAuthScopesHasBeenSet() const { return m_oAuthScopesHasBeenSet; }
48 inline void SetOAuthScopes(const Aws::Vector<Aws::String>& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes = value; }
49 inline void SetOAuthScopes(Aws::Vector<Aws::String>&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes = std::move(value); }
50 inline HoneycodeMetadata& WithOAuthScopes(const Aws::Vector<Aws::String>& value) { SetOAuthScopes(value); return *this;}
51 inline HoneycodeMetadata& WithOAuthScopes(Aws::Vector<Aws::String>&& value) { SetOAuthScopes(std::move(value)); return *this;}
52 inline HoneycodeMetadata& AddOAuthScopes(const Aws::String& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(value); return *this; }
53 inline HoneycodeMetadata& AddOAuthScopes(Aws::String&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(std::move(value)); return *this; }
54 inline HoneycodeMetadata& AddOAuthScopes(const char* value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(value); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_oAuthScopes;
59 bool m_oAuthScopesHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Appflow
64} // namespace Aws
HoneycodeMetadata & AddOAuthScopes(Aws::String &&value)
AWS_APPFLOW_API HoneycodeMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API HoneycodeMetadata(Aws::Utils::Json::JsonView jsonValue)
void SetOAuthScopes(Aws::Vector< Aws::String > &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
HoneycodeMetadata & WithOAuthScopes(Aws::Vector< Aws::String > &&value)
void SetOAuthScopes(const Aws::Vector< Aws::String > &value)
HoneycodeMetadata & WithOAuthScopes(const Aws::Vector< Aws::String > &value)
HoneycodeMetadata & AddOAuthScopes(const Aws::String &value)
HoneycodeMetadata & AddOAuthScopes(const char *value)
const Aws::Vector< Aws::String > & GetOAuthScopes() 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