1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/appflow/Appflow_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17   class JsonValue;
18   class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Appflow
22 {
23 namespace Model
24 {
25 
26   /**
27    * <p> The properties that are applied when using SAPOData as a flow source.
28    * </p><p><h3>See Also:</h3>   <a
29    * href="http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SAPODataSourceProperties">AWS
30    * API Reference</a></p>
31    */
32   class AWS_APPFLOW_API SAPODataSourceProperties
33   {
34   public:
35     SAPODataSourceProperties();
36     SAPODataSourceProperties(Aws::Utils::Json::JsonView jsonValue);
37     SAPODataSourceProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
38     Aws::Utils::Json::JsonValue Jsonize() const;
39 
40 
41     /**
42      * <p> The object path specified in the SAPOData flow source. </p>
43      */
GetObjectPath()44     inline const Aws::String& GetObjectPath() const{ return m_objectPath; }
45 
46     /**
47      * <p> The object path specified in the SAPOData flow source. </p>
48      */
ObjectPathHasBeenSet()49     inline bool ObjectPathHasBeenSet() const { return m_objectPathHasBeenSet; }
50 
51     /**
52      * <p> The object path specified in the SAPOData flow source. </p>
53      */
SetObjectPath(const Aws::String & value)54     inline void SetObjectPath(const Aws::String& value) { m_objectPathHasBeenSet = true; m_objectPath = value; }
55 
56     /**
57      * <p> The object path specified in the SAPOData flow source. </p>
58      */
SetObjectPath(Aws::String && value)59     inline void SetObjectPath(Aws::String&& value) { m_objectPathHasBeenSet = true; m_objectPath = std::move(value); }
60 
61     /**
62      * <p> The object path specified in the SAPOData flow source. </p>
63      */
SetObjectPath(const char * value)64     inline void SetObjectPath(const char* value) { m_objectPathHasBeenSet = true; m_objectPath.assign(value); }
65 
66     /**
67      * <p> The object path specified in the SAPOData flow source. </p>
68      */
WithObjectPath(const Aws::String & value)69     inline SAPODataSourceProperties& WithObjectPath(const Aws::String& value) { SetObjectPath(value); return *this;}
70 
71     /**
72      * <p> The object path specified in the SAPOData flow source. </p>
73      */
WithObjectPath(Aws::String && value)74     inline SAPODataSourceProperties& WithObjectPath(Aws::String&& value) { SetObjectPath(std::move(value)); return *this;}
75 
76     /**
77      * <p> The object path specified in the SAPOData flow source. </p>
78      */
WithObjectPath(const char * value)79     inline SAPODataSourceProperties& WithObjectPath(const char* value) { SetObjectPath(value); return *this;}
80 
81   private:
82 
83     Aws::String m_objectPath;
84     bool m_objectPathHasBeenSet;
85   };
86 
87 } // namespace Model
88 } // namespace Appflow
89 } // namespace Aws
90