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/quicksight/QuickSight_EXPORTS.h>
8 #include <aws/quicksight/model/AnonymousUserDashboardEmbeddingConfiguration.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 QuickSight
22 {
23 namespace Model
24 {
25 
26   /**
27    * <p>The type of experience you want to embed. For anonymous users, you can embed
28    * an Amazon QuickSight dashboard.</p><p><h3>See Also:</h3>   <a
29    * href="http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/AnonymousUserEmbeddingExperienceConfiguration">AWS
30    * API Reference</a></p>
31    */
32   class AWS_QUICKSIGHT_API AnonymousUserEmbeddingExperienceConfiguration
33   {
34   public:
35     AnonymousUserEmbeddingExperienceConfiguration();
36     AnonymousUserEmbeddingExperienceConfiguration(Aws::Utils::Json::JsonView jsonValue);
37     AnonymousUserEmbeddingExperienceConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue);
38     Aws::Utils::Json::JsonValue Jsonize() const;
39 
40 
41     /**
42      * <p>The type of embedding experience. In this case, an Amazon QuickSight
43      * dashboard.</p>
44      */
GetDashboard()45     inline const AnonymousUserDashboardEmbeddingConfiguration& GetDashboard() const{ return m_dashboard; }
46 
47     /**
48      * <p>The type of embedding experience. In this case, an Amazon QuickSight
49      * dashboard.</p>
50      */
DashboardHasBeenSet()51     inline bool DashboardHasBeenSet() const { return m_dashboardHasBeenSet; }
52 
53     /**
54      * <p>The type of embedding experience. In this case, an Amazon QuickSight
55      * dashboard.</p>
56      */
SetDashboard(const AnonymousUserDashboardEmbeddingConfiguration & value)57     inline void SetDashboard(const AnonymousUserDashboardEmbeddingConfiguration& value) { m_dashboardHasBeenSet = true; m_dashboard = value; }
58 
59     /**
60      * <p>The type of embedding experience. In this case, an Amazon QuickSight
61      * dashboard.</p>
62      */
SetDashboard(AnonymousUserDashboardEmbeddingConfiguration && value)63     inline void SetDashboard(AnonymousUserDashboardEmbeddingConfiguration&& value) { m_dashboardHasBeenSet = true; m_dashboard = std::move(value); }
64 
65     /**
66      * <p>The type of embedding experience. In this case, an Amazon QuickSight
67      * dashboard.</p>
68      */
WithDashboard(const AnonymousUserDashboardEmbeddingConfiguration & value)69     inline AnonymousUserEmbeddingExperienceConfiguration& WithDashboard(const AnonymousUserDashboardEmbeddingConfiguration& value) { SetDashboard(value); return *this;}
70 
71     /**
72      * <p>The type of embedding experience. In this case, an Amazon QuickSight
73      * dashboard.</p>
74      */
WithDashboard(AnonymousUserDashboardEmbeddingConfiguration && value)75     inline AnonymousUserEmbeddingExperienceConfiguration& WithDashboard(AnonymousUserDashboardEmbeddingConfiguration&& value) { SetDashboard(std::move(value)); return *this;}
76 
77   private:
78 
79     AnonymousUserDashboardEmbeddingConfiguration m_dashboard;
80     bool m_dashboardHasBeenSet;
81   };
82 
83 } // namespace Model
84 } // namespace QuickSight
85 } // namespace Aws
86