AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFlowResult.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/model/Flow.h>
9#include <aws/mediaconnect/model/Messages.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MediaConnect
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MEDIACONNECT_API DescribeFlowResult();
35
36
38
39 inline const Flow& GetFlow() const{ return m_flow; }
40 inline void SetFlow(const Flow& value) { m_flow = value; }
41 inline void SetFlow(Flow&& value) { m_flow = std::move(value); }
42 inline DescribeFlowResult& WithFlow(const Flow& value) { SetFlow(value); return *this;}
43 inline DescribeFlowResult& WithFlow(Flow&& value) { SetFlow(std::move(value)); return *this;}
45
47
48 inline const Messages& GetMessages() const{ return m_messages; }
49 inline void SetMessages(const Messages& value) { m_messages = value; }
50 inline void SetMessages(Messages&& value) { m_messages = std::move(value); }
51 inline DescribeFlowResult& WithMessages(const Messages& value) { SetMessages(value); return *this;}
52 inline DescribeFlowResult& WithMessages(Messages&& value) { SetMessages(std::move(value)); return *this;}
54
56
57 inline const Aws::String& GetRequestId() const{ return m_requestId; }
58 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
59 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
60 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
61 inline DescribeFlowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
62 inline DescribeFlowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
63 inline DescribeFlowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
65 private:
66
67 Flow m_flow;
68
69 Messages m_messages;
70
71 Aws::String m_requestId;
72 };
73
74} // namespace Model
75} // namespace MediaConnect
76} // namespace Aws
AWS_MEDIACONNECT_API DescribeFlowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFlowResult & WithRequestId(const char *value)
DescribeFlowResult & WithMessages(Messages &&value)
void SetRequestId(const Aws::String &value)
DescribeFlowResult & WithRequestId(Aws::String &&value)
DescribeFlowResult & WithFlow(Flow &&value)
DescribeFlowResult & WithMessages(const Messages &value)
DescribeFlowResult & WithFlow(const Flow &value)
AWS_MEDIACONNECT_API DescribeFlowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFlowResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue