AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GoogleAnalyticsMetadata.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 GoogleAnalyticsMetadata();
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); }
51 inline GoogleAnalyticsMetadata& WithOAuthScopes(Aws::Vector<Aws::String>&& value) { SetOAuthScopes(std::move(value)); return *this;}
52 inline GoogleAnalyticsMetadata& AddOAuthScopes(const Aws::String& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(value); return *this; }
53 inline GoogleAnalyticsMetadata& AddOAuthScopes(Aws::String&& value) { m_oAuthScopesHasBeenSet = true; m_oAuthScopes.push_back(std::move(value)); return *this; }
54 inline GoogleAnalyticsMetadata& 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
void SetOAuthScopes(Aws::Vector< Aws::String > &&value)
AWS_APPFLOW_API GoogleAnalyticsMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API GoogleAnalyticsMetadata(Aws::Utils::Json::JsonView jsonValue)
GoogleAnalyticsMetadata & AddOAuthScopes(const char *value)
GoogleAnalyticsMetadata & WithOAuthScopes(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetOAuthScopes() const
GoogleAnalyticsMetadata & AddOAuthScopes(Aws::String &&value)
void SetOAuthScopes(const Aws::Vector< Aws::String > &value)
GoogleAnalyticsMetadata & WithOAuthScopes(Aws::Vector< Aws::String > &&value)
GoogleAnalyticsMetadata & AddOAuthScopes(const Aws::String &value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() 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