/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Appflow { namespace Model { /** *

The properties that are applied when Google Analytics is being used as a * source.

See Also:

AWS * API Reference

*/ class GoogleAnalyticsSourceProperties { public: AWS_APPFLOW_API GoogleAnalyticsSourceProperties(); AWS_APPFLOW_API GoogleAnalyticsSourceProperties(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API GoogleAnalyticsSourceProperties& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The object specified in the Google Analytics flow source.

*/ inline const Aws::String& GetObject() const{ return m_object; } /** *

The object specified in the Google Analytics flow source.

*/ inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; } /** *

The object specified in the Google Analytics flow source.

*/ inline void SetObject(const Aws::String& value) { m_objectHasBeenSet = true; m_object = value; } /** *

The object specified in the Google Analytics flow source.

*/ inline void SetObject(Aws::String&& value) { m_objectHasBeenSet = true; m_object = std::move(value); } /** *

The object specified in the Google Analytics flow source.

*/ inline void SetObject(const char* value) { m_objectHasBeenSet = true; m_object.assign(value); } /** *

The object specified in the Google Analytics flow source.

*/ inline GoogleAnalyticsSourceProperties& WithObject(const Aws::String& value) { SetObject(value); return *this;} /** *

The object specified in the Google Analytics flow source.

*/ inline GoogleAnalyticsSourceProperties& WithObject(Aws::String&& value) { SetObject(std::move(value)); return *this;} /** *

The object specified in the Google Analytics flow source.

*/ inline GoogleAnalyticsSourceProperties& WithObject(const char* value) { SetObject(value); return *this;} private: Aws::String m_object; bool m_objectHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws