AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
UpdateFlowSourceResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
9#include <aws/mediaconnect/model/Source.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace MediaConnect {
23namespace Model {
25 public:
26 AWS_MEDIACONNECT_API UpdateFlowSourceResult() = default;
29
31
34 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
35 template <typename FlowArnT = Aws::String>
36 void SetFlowArn(FlowArnT&& value) {
37 m_flowArnHasBeenSet = true;
38 m_flowArn = std::forward<FlowArnT>(value);
39 }
40 template <typename FlowArnT = Aws::String>
42 SetFlowArn(std::forward<FlowArnT>(value));
43 return *this;
44 }
46
48
51 inline const Source& GetSource() const { return m_source; }
52 template <typename SourceT = Source>
53 void SetSource(SourceT&& value) {
54 m_sourceHasBeenSet = true;
55 m_source = std::forward<SourceT>(value);
56 }
57 template <typename SourceT = Source>
59 SetSource(std::forward<SourceT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_flowArn;
80
81 Source m_source;
82
83 Aws::String m_requestId;
84 bool m_flowArnHasBeenSet = false;
85 bool m_sourceHasBeenSet = false;
86 bool m_requestIdHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace MediaConnect
91} // namespace Aws
UpdateFlowSourceResult & WithSource(SourceT &&value)
UpdateFlowSourceResult & WithFlowArn(FlowArnT &&value)
AWS_MEDIACONNECT_API UpdateFlowSourceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFlowSourceResult & WithRequestId(RequestIdT &&value)
AWS_MEDIACONNECT_API UpdateFlowSourceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_MEDIACONNECT_API UpdateFlowSourceResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue