AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
PipeTargetCloudWatchLogsParameters.h
1
6#pragma once
7#include <aws/pipes/Pipes_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 Pipes
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_PIPES_API PipeTargetCloudWatchLogsParameters() = default;
38 AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetLogStreamName() const { return m_logStreamName; }
46 inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; }
47 template<typename LogStreamNameT = Aws::String>
48 void SetLogStreamName(LogStreamNameT&& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = std::forward<LogStreamNameT>(value); }
49 template<typename LogStreamNameT = Aws::String>
50 PipeTargetCloudWatchLogsParameters& WithLogStreamName(LogStreamNameT&& value) { SetLogStreamName(std::forward<LogStreamNameT>(value)); return *this;}
52
54
58 inline const Aws::String& GetTimestamp() const { return m_timestamp; }
59 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
60 template<typename TimestampT = Aws::String>
61 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet = true; m_timestamp = std::forward<TimestampT>(value); }
62 template<typename TimestampT = Aws::String>
63 PipeTargetCloudWatchLogsParameters& WithTimestamp(TimestampT&& value) { SetTimestamp(std::forward<TimestampT>(value)); return *this;}
65 private:
66
67 Aws::String m_logStreamName;
68 bool m_logStreamNameHasBeenSet = false;
69
70 Aws::String m_timestamp;
71 bool m_timestampHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Pipes
76} // namespace Aws
PipeTargetCloudWatchLogsParameters & WithLogStreamName(LogStreamNameT &&value)
AWS_PIPES_API PipeTargetCloudWatchLogsParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
PipeTargetCloudWatchLogsParameters & WithTimestamp(TimestampT &&value)
AWS_PIPES_API PipeTargetCloudWatchLogsParameters(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue