AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
RemoveFlowSourceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace MediaConnect {
15namespace Model {
16
20 public:
21 AWS_MEDIACONNECT_API RemoveFlowSourceRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "RemoveFlowSource"; }
28
29 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
30
32
36 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
37 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
38 template <typename FlowArnT = Aws::String>
39 void SetFlowArn(FlowArnT&& value) {
40 m_flowArnHasBeenSet = true;
41 m_flowArn = std::forward<FlowArnT>(value);
42 }
43 template <typename FlowArnT = Aws::String>
45 SetFlowArn(std::forward<FlowArnT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
55 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
56 template <typename SourceArnT = Aws::String>
57 void SetSourceArn(SourceArnT&& value) {
58 m_sourceArnHasBeenSet = true;
59 m_sourceArn = std::forward<SourceArnT>(value);
60 }
61 template <typename SourceArnT = Aws::String>
63 SetSourceArn(std::forward<SourceArnT>(value));
64 return *this;
65 }
67 private:
68 Aws::String m_flowArn;
69
70 Aws::String m_sourceArn;
71 bool m_flowArnHasBeenSet = false;
72 bool m_sourceArnHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace MediaConnect
77} // namespace Aws
AWS_MEDIACONNECT_API RemoveFlowSourceRequest()=default
RemoveFlowSourceRequest & WithSourceArn(SourceArnT &&value)
virtual const char * GetServiceRequestName() const override
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
RemoveFlowSourceRequest & WithFlowArn(FlowArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String