AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetLogStreamName(const Aws::String& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = value; }
48 inline void SetLogStreamName(Aws::String&& value) { m_logStreamNameHasBeenSet = true; m_logStreamName = std::move(value); }
49 inline void SetLogStreamName(const char* value) { m_logStreamNameHasBeenSet = true; m_logStreamName.assign(value); }
51 inline PipeTargetCloudWatchLogsParameters& WithLogStreamName(Aws::String&& value) { SetLogStreamName(std::move(value)); return *this;}
52 inline PipeTargetCloudWatchLogsParameters& WithLogStreamName(const char* value) { SetLogStreamName(value); return *this;}
54
56
60 inline const Aws::String& GetTimestamp() const{ return m_timestamp; }
61 inline bool TimestampHasBeenSet() const { return m_timestampHasBeenSet; }
62 inline void SetTimestamp(const Aws::String& value) { m_timestampHasBeenSet = true; m_timestamp = value; }
63 inline void SetTimestamp(Aws::String&& value) { m_timestampHasBeenSet = true; m_timestamp = std::move(value); }
64 inline void SetTimestamp(const char* value) { m_timestampHasBeenSet = true; m_timestamp.assign(value); }
65 inline PipeTargetCloudWatchLogsParameters& WithTimestamp(const Aws::String& value) { SetTimestamp(value); return *this;}
66 inline PipeTargetCloudWatchLogsParameters& WithTimestamp(Aws::String&& value) { SetTimestamp(std::move(value)); return *this;}
67 inline PipeTargetCloudWatchLogsParameters& WithTimestamp(const char* value) { SetTimestamp(value); return *this;}
69 private:
70
71 Aws::String m_logStreamName;
72 bool m_logStreamNameHasBeenSet = false;
73
74 Aws::String m_timestamp;
75 bool m_timestampHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Pipes
80} // namespace Aws
PipeTargetCloudWatchLogsParameters & WithLogStreamName(const Aws::String &value)
PipeTargetCloudWatchLogsParameters & WithTimestamp(Aws::String &&value)
AWS_PIPES_API PipeTargetCloudWatchLogsParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
PipeTargetCloudWatchLogsParameters & WithLogStreamName(Aws::String &&value)
PipeTargetCloudWatchLogsParameters & WithLogStreamName(const char *value)
AWS_PIPES_API Aws::Utils::Json::JsonValue Jsonize() const
PipeTargetCloudWatchLogsParameters & WithTimestamp(const Aws::String &value)
AWS_PIPES_API PipeTargetCloudWatchLogsParameters(Aws::Utils::Json::JsonView jsonValue)
PipeTargetCloudWatchLogsParameters & WithTimestamp(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue