AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetTransformerResult.h
1
6#pragma once
7#include <aws/logs/CloudWatchLogs_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/logs/model/Processor.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CloudWatchLogs
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CLOUDWATCHLOGS_API GetTransformerResult() = default;
35
36
38
41 inline const Aws::String& GetLogGroupIdentifier() const { return m_logGroupIdentifier; }
42 template<typename LogGroupIdentifierT = Aws::String>
43 void SetLogGroupIdentifier(LogGroupIdentifierT&& value) { m_logGroupIdentifierHasBeenSet = true; m_logGroupIdentifier = std::forward<LogGroupIdentifierT>(value); }
44 template<typename LogGroupIdentifierT = Aws::String>
45 GetTransformerResult& WithLogGroupIdentifier(LogGroupIdentifierT&& value) { SetLogGroupIdentifier(std::forward<LogGroupIdentifierT>(value)); return *this;}
47
49
53 inline long long GetCreationTime() const { return m_creationTime; }
54 inline void SetCreationTime(long long value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
55 inline GetTransformerResult& WithCreationTime(long long value) { SetCreationTime(value); return *this;}
57
59
63 inline long long GetLastModifiedTime() const { return m_lastModifiedTime; }
64 inline void SetLastModifiedTime(long long value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
65 inline GetTransformerResult& WithLastModifiedTime(long long value) { SetLastModifiedTime(value); return *this;}
67
69
72 inline const Aws::Vector<Processor>& GetTransformerConfig() const { return m_transformerConfig; }
73 template<typename TransformerConfigT = Aws::Vector<Processor>>
74 void SetTransformerConfig(TransformerConfigT&& value) { m_transformerConfigHasBeenSet = true; m_transformerConfig = std::forward<TransformerConfigT>(value); }
75 template<typename TransformerConfigT = Aws::Vector<Processor>>
76 GetTransformerResult& WithTransformerConfig(TransformerConfigT&& value) { SetTransformerConfig(std::forward<TransformerConfigT>(value)); return *this;}
77 template<typename TransformerConfigT = Processor>
78 GetTransformerResult& AddTransformerConfig(TransformerConfigT&& value) { m_transformerConfigHasBeenSet = true; m_transformerConfig.emplace_back(std::forward<TransformerConfigT>(value)); return *this; }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template<typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
86 template<typename RequestIdT = Aws::String>
87 GetTransformerResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_logGroupIdentifier;
92 bool m_logGroupIdentifierHasBeenSet = false;
93
94 long long m_creationTime{0};
95 bool m_creationTimeHasBeenSet = false;
96
97 long long m_lastModifiedTime{0};
98 bool m_lastModifiedTimeHasBeenSet = false;
99
100 Aws::Vector<Processor> m_transformerConfig;
101 bool m_transformerConfigHasBeenSet = false;
102
103 Aws::String m_requestId;
104 bool m_requestIdHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace CloudWatchLogs
109} // namespace Aws
void SetTransformerConfig(TransformerConfigT &&value)
void SetLogGroupIdentifier(LogGroupIdentifierT &&value)
GetTransformerResult & WithRequestId(RequestIdT &&value)
AWS_CLOUDWATCHLOGS_API GetTransformerResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetTransformerResult & AddTransformerConfig(TransformerConfigT &&value)
GetTransformerResult & WithLastModifiedTime(long long value)
GetTransformerResult & WithCreationTime(long long value)
const Aws::Vector< Processor > & GetTransformerConfig() const
AWS_CLOUDWATCHLOGS_API GetTransformerResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CLOUDWATCHLOGS_API GetTransformerResult()=default
GetTransformerResult & WithLogGroupIdentifier(LogGroupIdentifierT &&value)
GetTransformerResult & WithTransformerConfig(TransformerConfigT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue