AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename OAuthScopesT = Aws::Vector<Aws::String>>
49 void SetOAuthScopes(OAuthScopesT&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes = std::forward<OAuthScopesT>(value); }
50 template<typename OAuthScopesT = Aws::Vector<Aws::String>>
51 HoneycodeMetadata& WithOAuthScopes(OAuthScopesT&& value) { SetOAuthScopes(std::forward<OAuthScopesT>(value)); return *this;}
52 template<typename OAuthScopesT = Aws::String>
53 HoneycodeMetadata& AddOAuthScopes(OAuthScopesT&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.emplace_back(std::forward<OAuthScopesT>(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 HoneycodeMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API HoneycodeMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API HoneycodeMetadata()=default
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
HoneycodeMetadata & WithOAuthScopes(OAuthScopesT &&value)
void SetOAuthScopes(OAuthScopesT &&value)
HoneycodeMetadata & AddOAuthScopes(OAuthScopesT &&value)
const Aws::Vector< Aws::String > & GetOAuthScopes() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue