AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetLogObjectResponseStream.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/logs/model/FieldsData.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CloudWatchLogs
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_CLOUDWATCHLOGS_API GetLogObjectResponseStream() = default;
37 AWS_CLOUDWATCHLOGS_API GetLogObjectResponseStream(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
44 inline const FieldsData& GetFields() const { return m_fields; }
45 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
46 template<typename FieldsT = FieldsData>
47 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet = true; m_fields = std::forward<FieldsT>(value); }
48 template<typename FieldsT = FieldsData>
49 GetLogObjectResponseStream& WithFields(FieldsT&& value) { SetFields(std::forward<FieldsT>(value)); return *this;}
51
53
54 inline const CloudWatchLogsError& GetInternalStreamingException() const { return m_internalStreamingException; }
55 inline bool InternalStreamingExceptionHasBeenSet() const { return m_internalStreamingExceptionHasBeenSet; }
56 template<typename InternalStreamingExceptionT = CloudWatchLogsError>
57 void SetInternalStreamingException(InternalStreamingExceptionT&& value) { m_internalStreamingExceptionHasBeenSet = true; m_internalStreamingException = std::forward<InternalStreamingExceptionT>(value); }
58 template<typename InternalStreamingExceptionT = CloudWatchLogsError>
59 GetLogObjectResponseStream& WithInternalStreamingException(InternalStreamingExceptionT&& value) { SetInternalStreamingException(std::forward<InternalStreamingExceptionT>(value)); return *this;}
61 private:
62
63 FieldsData m_fields;
64 bool m_fieldsHasBeenSet = false;
65
66 CloudWatchLogsError m_internalStreamingException;
67 bool m_internalStreamingExceptionHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace CloudWatchLogs
72} // namespace Aws
void SetInternalStreamingException(InternalStreamingExceptionT &&value)
AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CLOUDWATCHLOGS_API GetLogObjectResponseStream & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CLOUDWATCHLOGS_API GetLogObjectResponseStream()=default
AWS_CLOUDWATCHLOGS_API GetLogObjectResponseStream(Aws::Utils::Json::JsonView jsonValue)
GetLogObjectResponseStream & WithInternalStreamingException(InternalStreamingExceptionT &&value)
GetLogObjectResponseStream & WithFields(FieldsT &&value)
Aws::Utils::Json::JsonValue JsonValue