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/servicecatalog-appregistry/AppRegistry_EXPORTS.h>
8 #include <aws/servicecatalog-appregistry/model/ResourceGroup.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 AppRegistry
22 {
23 namespace Model
24 {
25 
26   /**
27    * <p> The information about the service integration.</p><p><h3>See Also:</h3>   <a
28    * href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/Integrations">AWS
29    * API Reference</a></p>
30    */
31   class AWS_APPREGISTRY_API Integrations
32   {
33   public:
34     Integrations();
35     Integrations(Aws::Utils::Json::JsonView jsonValue);
36     Integrations& operator=(Aws::Utils::Json::JsonView jsonValue);
37     Aws::Utils::Json::JsonValue Jsonize() const;
38 
39 
40     /**
41      * <p> The information about the resource group integration.</p>
42      */
GetResourceGroup()43     inline const ResourceGroup& GetResourceGroup() const{ return m_resourceGroup; }
44 
45     /**
46      * <p> The information about the resource group integration.</p>
47      */
ResourceGroupHasBeenSet()48     inline bool ResourceGroupHasBeenSet() const { return m_resourceGroupHasBeenSet; }
49 
50     /**
51      * <p> The information about the resource group integration.</p>
52      */
SetResourceGroup(const ResourceGroup & value)53     inline void SetResourceGroup(const ResourceGroup& value) { m_resourceGroupHasBeenSet = true; m_resourceGroup = value; }
54 
55     /**
56      * <p> The information about the resource group integration.</p>
57      */
SetResourceGroup(ResourceGroup && value)58     inline void SetResourceGroup(ResourceGroup&& value) { m_resourceGroupHasBeenSet = true; m_resourceGroup = std::move(value); }
59 
60     /**
61      * <p> The information about the resource group integration.</p>
62      */
WithResourceGroup(const ResourceGroup & value)63     inline Integrations& WithResourceGroup(const ResourceGroup& value) { SetResourceGroup(value); return *this;}
64 
65     /**
66      * <p> The information about the resource group integration.</p>
67      */
WithResourceGroup(ResourceGroup && value)68     inline Integrations& WithResourceGroup(ResourceGroup&& value) { SetResourceGroup(std::move(value)); return *this;}
69 
70   private:
71 
72     ResourceGroup m_resourceGroup;
73     bool m_resourceGroupHasBeenSet;
74   };
75 
76 } // namespace Model
77 } // namespace AppRegistry
78 } // namespace Aws
79