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/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 MediaLive
22 {
23 namespace Model
24 {
25 
26   /**
27    * The settings for a MediaConnect Flow.<p><h3>See Also:</h3>   <a
28    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MediaConnectFlowRequest">AWS
29    * API Reference</a></p>
30    */
31   class AWS_MEDIALIVE_API MediaConnectFlowRequest
32   {
33   public:
34     MediaConnectFlowRequest();
35     MediaConnectFlowRequest(Aws::Utils::Json::JsonView jsonValue);
36     MediaConnectFlowRequest& operator=(Aws::Utils::Json::JsonView jsonValue);
37     Aws::Utils::Json::JsonValue Jsonize() const;
38 
39 
40     /**
41      * The ARN of the MediaConnect Flow that you want to use as a source.
42      */
GetFlowArn()43     inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
44 
45     /**
46      * The ARN of the MediaConnect Flow that you want to use as a source.
47      */
FlowArnHasBeenSet()48     inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
49 
50     /**
51      * The ARN of the MediaConnect Flow that you want to use as a source.
52      */
SetFlowArn(const Aws::String & value)53     inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
54 
55     /**
56      * The ARN of the MediaConnect Flow that you want to use as a source.
57      */
SetFlowArn(Aws::String && value)58     inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
59 
60     /**
61      * The ARN of the MediaConnect Flow that you want to use as a source.
62      */
SetFlowArn(const char * value)63     inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
64 
65     /**
66      * The ARN of the MediaConnect Flow that you want to use as a source.
67      */
WithFlowArn(const Aws::String & value)68     inline MediaConnectFlowRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
69 
70     /**
71      * The ARN of the MediaConnect Flow that you want to use as a source.
72      */
WithFlowArn(Aws::String && value)73     inline MediaConnectFlowRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
74 
75     /**
76      * The ARN of the MediaConnect Flow that you want to use as a source.
77      */
WithFlowArn(const char * value)78     inline MediaConnectFlowRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
79 
80   private:
81 
82     Aws::String m_flowArn;
83     bool m_flowArnHasBeenSet;
84   };
85 
86 } // namespace Model
87 } // namespace MediaLive
88 } // namespace Aws
89