AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
GoogleAnalyticsMetadata.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
30 public:
31 AWS_APPFLOW_API GoogleAnalyticsMetadata() = default;
34 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetOAuthScopes() const { return m_oAuthScopes; }
41 inline bool OAuthScopesHasBeenSet() const { return m_oAuthScopesHasBeenSet; }
42 template <typename OAuthScopesT = Aws::Vector<Aws::String>>
43 void SetOAuthScopes(OAuthScopesT&& value) {
44 m_oAuthScopesHasBeenSet = true;
45 m_oAuthScopes = std::forward<OAuthScopesT>(value);
46 }
47 template <typename OAuthScopesT = Aws::Vector<Aws::String>>
49 SetOAuthScopes(std::forward<OAuthScopesT>(value));
50 return *this;
51 }
52 template <typename OAuthScopesT = Aws::String>
53 GoogleAnalyticsMetadata& AddOAuthScopes(OAuthScopesT&& value) {
54 m_oAuthScopesHasBeenSet = true;
55 m_oAuthScopes.emplace_back(std::forward<OAuthScopesT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<Aws::String> m_oAuthScopes;
61 bool m_oAuthScopesHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace Appflow
66} // namespace Aws
GoogleAnalyticsMetadata & WithOAuthScopes(OAuthScopesT &&value)
AWS_APPFLOW_API GoogleAnalyticsMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API GoogleAnalyticsMetadata(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetOAuthScopes() const
GoogleAnalyticsMetadata & AddOAuthScopes(OAuthScopesT &&value)
AWS_APPFLOW_API GoogleAnalyticsMetadata()=default
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue