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/mediaconnect/MediaConnect_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSString.h>
9 #include <aws/mediaconnect/model/Output.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21   class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace MediaConnect
25 {
26 namespace Model
27 {
28   class AWS_MEDIACONNECT_API UpdateFlowOutputResult
29   {
30   public:
31     UpdateFlowOutputResult();
32     UpdateFlowOutputResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
33     UpdateFlowOutputResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
34 
35 
36     /**
37      * The ARN of the flow that is associated with the updated output.
38      */
GetFlowArn()39     inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
40 
41     /**
42      * The ARN of the flow that is associated with the updated output.
43      */
SetFlowArn(const Aws::String & value)44     inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
45 
46     /**
47      * The ARN of the flow that is associated with the updated output.
48      */
SetFlowArn(Aws::String && value)49     inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
50 
51     /**
52      * The ARN of the flow that is associated with the updated output.
53      */
SetFlowArn(const char * value)54     inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
55 
56     /**
57      * The ARN of the flow that is associated with the updated output.
58      */
WithFlowArn(const Aws::String & value)59     inline UpdateFlowOutputResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
60 
61     /**
62      * The ARN of the flow that is associated with the updated output.
63      */
WithFlowArn(Aws::String && value)64     inline UpdateFlowOutputResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
65 
66     /**
67      * The ARN of the flow that is associated with the updated output.
68      */
WithFlowArn(const char * value)69     inline UpdateFlowOutputResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
70 
71 
72     /**
73      * The new settings of the output that you updated.
74      */
GetOutput()75     inline const Output& GetOutput() const{ return m_output; }
76 
77     /**
78      * The new settings of the output that you updated.
79      */
SetOutput(const Output & value)80     inline void SetOutput(const Output& value) { m_output = value; }
81 
82     /**
83      * The new settings of the output that you updated.
84      */
SetOutput(Output && value)85     inline void SetOutput(Output&& value) { m_output = std::move(value); }
86 
87     /**
88      * The new settings of the output that you updated.
89      */
WithOutput(const Output & value)90     inline UpdateFlowOutputResult& WithOutput(const Output& value) { SetOutput(value); return *this;}
91 
92     /**
93      * The new settings of the output that you updated.
94      */
WithOutput(Output && value)95     inline UpdateFlowOutputResult& WithOutput(Output&& value) { SetOutput(std::move(value)); return *this;}
96 
97   private:
98 
99     Aws::String m_flowArn;
100 
101     Output m_output;
102   };
103 
104 } // namespace Model
105 } // namespace MediaConnect
106 } // namespace Aws
107