AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CloudWatchLogsLogGroup.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/simspaceweaver/SimSpaceWeaver_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SimSpaceWeaver {
20namespace Model {
21
32 public:
33 AWS_SIMSPACEWEAVER_API CloudWatchLogsLogGroup() = default;
34 AWS_SIMSPACEWEAVER_API CloudWatchLogsLogGroup(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
49 inline const Aws::String& GetLogGroupArn() const { return m_logGroupArn; }
50 inline bool LogGroupArnHasBeenSet() const { return m_logGroupArnHasBeenSet; }
51 template <typename LogGroupArnT = Aws::String>
52 void SetLogGroupArn(LogGroupArnT&& value) {
53 m_logGroupArnHasBeenSet = true;
54 m_logGroupArn = std::forward<LogGroupArnT>(value);
55 }
56 template <typename LogGroupArnT = Aws::String>
57 CloudWatchLogsLogGroup& WithLogGroupArn(LogGroupArnT&& value) {
58 SetLogGroupArn(std::forward<LogGroupArnT>(value));
59 return *this;
60 }
62 private:
63 Aws::String m_logGroupArn;
64 bool m_logGroupArnHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace SimSpaceWeaver
69} // namespace Aws
AWS_SIMSPACEWEAVER_API CloudWatchLogsLogGroup(Aws::Utils::Json::JsonView jsonValue)
CloudWatchLogsLogGroup & WithLogGroupArn(LogGroupArnT &&value)
AWS_SIMSPACEWEAVER_API CloudWatchLogsLogGroup()=default
AWS_SIMSPACEWEAVER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SIMSPACEWEAVER_API CloudWatchLogsLogGroup & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue