AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateLogPatternResult.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/application-insights/model/LogPattern.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace ApplicationInsights {
23namespace Model {
25 public:
26 AWS_APPLICATIONINSIGHTS_API CreateLogPatternResult() = default;
29
31
34 inline const LogPattern& GetLogPattern() const { return m_logPattern; }
35 template <typename LogPatternT = LogPattern>
36 void SetLogPattern(LogPatternT&& value) {
37 m_logPatternHasBeenSet = true;
38 m_logPattern = std::forward<LogPatternT>(value);
39 }
40 template <typename LogPatternT = LogPattern>
41 CreateLogPatternResult& WithLogPattern(LogPatternT&& value) {
42 SetLogPattern(std::forward<LogPatternT>(value));
43 return *this;
44 }
46
48
51 inline const Aws::String& GetResourceGroupName() const { return m_resourceGroupName; }
52 template <typename ResourceGroupNameT = Aws::String>
53 void SetResourceGroupName(ResourceGroupNameT&& value) {
54 m_resourceGroupNameHasBeenSet = true;
55 m_resourceGroupName = std::forward<ResourceGroupNameT>(value);
56 }
57 template <typename ResourceGroupNameT = Aws::String>
58 CreateLogPatternResult& WithResourceGroupName(ResourceGroupNameT&& value) {
59 SetResourceGroupName(std::forward<ResourceGroupNameT>(value));
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 private:
79 LogPattern m_logPattern;
80
81 Aws::String m_resourceGroupName;
82
83 Aws::String m_requestId;
84 bool m_logPatternHasBeenSet = false;
85 bool m_resourceGroupNameHasBeenSet = false;
86 bool m_requestIdHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace ApplicationInsights
91} // namespace Aws
CreateLogPatternResult & WithLogPattern(LogPatternT &&value)
CreateLogPatternResult & WithRequestId(RequestIdT &&value)
CreateLogPatternResult & WithResourceGroupName(ResourceGroupNameT &&value)
AWS_APPLICATIONINSIGHTS_API CreateLogPatternResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPLICATIONINSIGHTS_API CreateLogPatternResult()=default
AWS_APPLICATIONINSIGHTS_API CreateLogPatternResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue