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/medialive/MediaLive_EXPORTS.h>
8 #include <aws/medialive/model/OutputLocationRef.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 MediaLive
22 {
23 namespace Model
24 {
25 
26   /**
27    * Media Package Group Settings<p><h3>See Also:</h3>   <a
28    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MediaPackageGroupSettings">AWS
29    * API Reference</a></p>
30    */
31   class AWS_MEDIALIVE_API MediaPackageGroupSettings
32   {
33   public:
34     MediaPackageGroupSettings();
35     MediaPackageGroupSettings(Aws::Utils::Json::JsonView jsonValue);
36     MediaPackageGroupSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
37     Aws::Utils::Json::JsonValue Jsonize() const;
38 
39 
40     /**
41      * MediaPackage channel destination.
42      */
GetDestination()43     inline const OutputLocationRef& GetDestination() const{ return m_destination; }
44 
45     /**
46      * MediaPackage channel destination.
47      */
DestinationHasBeenSet()48     inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
49 
50     /**
51      * MediaPackage channel destination.
52      */
SetDestination(const OutputLocationRef & value)53     inline void SetDestination(const OutputLocationRef& value) { m_destinationHasBeenSet = true; m_destination = value; }
54 
55     /**
56      * MediaPackage channel destination.
57      */
SetDestination(OutputLocationRef && value)58     inline void SetDestination(OutputLocationRef&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
59 
60     /**
61      * MediaPackage channel destination.
62      */
WithDestination(const OutputLocationRef & value)63     inline MediaPackageGroupSettings& WithDestination(const OutputLocationRef& value) { SetDestination(value); return *this;}
64 
65     /**
66      * MediaPackage channel destination.
67      */
WithDestination(OutputLocationRef && value)68     inline MediaPackageGroupSettings& WithDestination(OutputLocationRef&& value) { SetDestination(std::move(value)); return *this;}
69 
70   private:
71 
72     OutputLocationRef m_destination;
73     bool m_destinationHasBeenSet;
74   };
75 
76 } // namespace Model
77 } // namespace MediaLive
78 } // namespace Aws
79