AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFlowSourceMetadataResult.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/mediaconnect/model/TransportMediaInfo.h>
12#include <aws/mediaconnect/model/MessageDetail.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace MediaConnect
28{
29namespace Model
30{
32 {
33 public:
34 AWS_MEDIACONNECT_API DescribeFlowSourceMetadataResult();
37
38
40
43 inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
44 inline void SetFlowArn(const Aws::String& value) { m_flowArn = value; }
45 inline void SetFlowArn(Aws::String&& value) { m_flowArn = std::move(value); }
46 inline void SetFlowArn(const char* value) { m_flowArn.assign(value); }
47 inline DescribeFlowSourceMetadataResult& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
48 inline DescribeFlowSourceMetadataResult& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
49 inline DescribeFlowSourceMetadataResult& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
51
53
57 inline const Aws::Vector<MessageDetail>& GetMessages() const{ return m_messages; }
58 inline void SetMessages(const Aws::Vector<MessageDetail>& value) { m_messages = value; }
59 inline void SetMessages(Aws::Vector<MessageDetail>&& value) { m_messages = std::move(value); }
61 inline DescribeFlowSourceMetadataResult& WithMessages(Aws::Vector<MessageDetail>&& value) { SetMessages(std::move(value)); return *this;}
62 inline DescribeFlowSourceMetadataResult& AddMessages(const MessageDetail& value) { m_messages.push_back(value); return *this; }
63 inline DescribeFlowSourceMetadataResult& AddMessages(MessageDetail&& value) { m_messages.push_back(std::move(value)); return *this; }
65
67
70 inline const Aws::Utils::DateTime& GetTimestamp() const{ return m_timestamp; }
71 inline void SetTimestamp(const Aws::Utils::DateTime& value) { m_timestamp = value; }
72 inline void SetTimestamp(Aws::Utils::DateTime&& value) { m_timestamp = std::move(value); }
74 inline DescribeFlowSourceMetadataResult& WithTimestamp(Aws::Utils::DateTime&& value) { SetTimestamp(std::move(value)); return *this;}
76
78
79 inline const TransportMediaInfo& GetTransportMediaInfo() const{ return m_transportMediaInfo; }
80 inline void SetTransportMediaInfo(const TransportMediaInfo& value) { m_transportMediaInfo = value; }
81 inline void SetTransportMediaInfo(TransportMediaInfo&& value) { m_transportMediaInfo = std::move(value); }
85
87
88 inline const Aws::String& GetRequestId() const{ return m_requestId; }
89 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
90 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
91 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
92 inline DescribeFlowSourceMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
93 inline DescribeFlowSourceMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
94 inline DescribeFlowSourceMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 private:
97
98 Aws::String m_flowArn;
99
101
102 Aws::Utils::DateTime m_timestamp;
103
104 TransportMediaInfo m_transportMediaInfo;
105
106 Aws::String m_requestId;
107 };
108
109} // namespace Model
110} // namespace MediaConnect
111} // namespace Aws
DescribeFlowSourceMetadataResult & WithTransportMediaInfo(const TransportMediaInfo &value)
DescribeFlowSourceMetadataResult & WithMessages(Aws::Vector< MessageDetail > &&value)
DescribeFlowSourceMetadataResult & WithFlowArn(Aws::String &&value)
DescribeFlowSourceMetadataResult & WithRequestId(const char *value)
DescribeFlowSourceMetadataResult & WithFlowArn(const Aws::String &value)
DescribeFlowSourceMetadataResult & WithMessages(const Aws::Vector< MessageDetail > &value)
DescribeFlowSourceMetadataResult & WithRequestId(Aws::String &&value)
DescribeFlowSourceMetadataResult & WithTimestamp(Aws::Utils::DateTime &&value)
DescribeFlowSourceMetadataResult & WithFlowArn(const char *value)
DescribeFlowSourceMetadataResult & AddMessages(MessageDetail &&value)
DescribeFlowSourceMetadataResult & AddMessages(const MessageDetail &value)
AWS_MEDIACONNECT_API DescribeFlowSourceMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFlowSourceMetadataResult & WithTimestamp(const Aws::Utils::DateTime &value)
DescribeFlowSourceMetadataResult & WithRequestId(const Aws::String &value)
DescribeFlowSourceMetadataResult & WithTransportMediaInfo(TransportMediaInfo &&value)
AWS_MEDIACONNECT_API DescribeFlowSourceMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue