AWS SDK for C++

AWS SDK for C++ Version 1.11.804

Loading...
Searching...
No Matches
AICloudWatchLogs.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
29 public:
30 AWS_SAGEMAKER_API AICloudWatchLogs() = default;
31 AWS_SAGEMAKER_API AICloudWatchLogs(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetLogGroupArn() const { return m_logGroupArn; }
40 inline bool LogGroupArnHasBeenSet() const { return m_logGroupArnHasBeenSet; }
41 template <typename LogGroupArnT = Aws::String>
42 void SetLogGroupArn(LogGroupArnT&& value) {
43 m_logGroupArnHasBeenSet = true;
44 m_logGroupArn = std::forward<LogGroupArnT>(value);
45 }
46 template <typename LogGroupArnT = Aws::String>
47 AICloudWatchLogs& WithLogGroupArn(LogGroupArnT&& value) {
48 SetLogGroupArn(std::forward<LogGroupArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetLogStreamName() const { return m_logStreamName; }
58 inline bool LogStreamNameHasBeenSet() const { return m_logStreamNameHasBeenSet; }
59 template <typename LogStreamNameT = Aws::String>
60 void SetLogStreamName(LogStreamNameT&& value) {
61 m_logStreamNameHasBeenSet = true;
62 m_logStreamName = std::forward<LogStreamNameT>(value);
63 }
64 template <typename LogStreamNameT = Aws::String>
65 AICloudWatchLogs& WithLogStreamName(LogStreamNameT&& value) {
66 SetLogStreamName(std::forward<LogStreamNameT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_logGroupArn;
72
73 Aws::String m_logStreamName;
74 bool m_logGroupArnHasBeenSet = false;
75 bool m_logStreamNameHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace SageMaker
80} // namespace Aws
const Aws::String & GetLogGroupArn() const
void SetLogGroupArn(LogGroupArnT &&value)
AWS_SAGEMAKER_API AICloudWatchLogs()=default
const Aws::String & GetLogStreamName() const
void SetLogStreamName(LogStreamNameT &&value)
AICloudWatchLogs & WithLogStreamName(LogStreamNameT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AICloudWatchLogs(Aws::Utils::Json::JsonView jsonValue)
AICloudWatchLogs & WithLogGroupArn(LogGroupArnT &&value)
AWS_SAGEMAKER_API AICloudWatchLogs & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue