AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CloudWatchLogs {
20namespace Model {
21
30 public:
31 AWS_CLOUDWATCHLOGS_API GetLogObjectResponseStream() = default;
32 AWS_CLOUDWATCHLOGS_API GetLogObjectResponseStream(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CLOUDWATCHLOGS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
38 inline const FieldsData& GetFields() const { return m_fields; }
39 inline bool FieldsHasBeenSet() const { return m_fieldsHasBeenSet; }
40 template <typename FieldsT = FieldsData>
41 void SetFields(FieldsT&& value) {
42 m_fieldsHasBeenSet = true;
43 m_fields = std::forward<FieldsT>(value);
44 }
45 template <typename FieldsT = FieldsData>
47 SetFields(std::forward<FieldsT>(value));
48 return *this;
49 }
51
53
58 inline const CloudWatchLogsError& GetInternalStreamingException() const { return m_internalStreamingException; }
59 inline bool InternalStreamingExceptionHasBeenSet() const { return m_internalStreamingExceptionHasBeenSet; }
60 template <typename InternalStreamingExceptionT = CloudWatchLogsError>
61 void SetInternalStreamingException(InternalStreamingExceptionT&& value) {
62 m_internalStreamingExceptionHasBeenSet = true;
63 m_internalStreamingException = std::forward<InternalStreamingExceptionT>(value);
64 }
65 template <typename InternalStreamingExceptionT = CloudWatchLogsError>
66 GetLogObjectResponseStream& WithInternalStreamingException(InternalStreamingExceptionT&& value) {
67 SetInternalStreamingException(std::forward<InternalStreamingExceptionT>(value));
68 return *this;
69 }
71 private:
72 FieldsData m_fields;
73
74 CloudWatchLogsError m_internalStreamingException;
75 bool m_fieldsHasBeenSet = false;
76 bool m_internalStreamingExceptionHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace CloudWatchLogs
81} // 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