AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateLogPatternResult.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/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace ApplicationInsights {
24namespace Model {
26 public:
27 AWS_APPLICATIONINSIGHTS_API UpdateLogPatternResult() = default;
30
32
35 inline const Aws::String& GetResourceGroupName() const { return m_resourceGroupName; }
36 template <typename ResourceGroupNameT = Aws::String>
37 void SetResourceGroupName(ResourceGroupNameT&& value) {
38 m_resourceGroupNameHasBeenSet = true;
39 m_resourceGroupName = std::forward<ResourceGroupNameT>(value);
40 }
41 template <typename ResourceGroupNameT = Aws::String>
42 UpdateLogPatternResult& WithResourceGroupName(ResourceGroupNameT&& value) {
43 SetResourceGroupName(std::forward<ResourceGroupNameT>(value));
44 return *this;
45 }
47
49
52 inline const LogPattern& GetLogPattern() const { return m_logPattern; }
53 template <typename LogPatternT = LogPattern>
54 void SetLogPattern(LogPatternT&& value) {
55 m_logPatternHasBeenSet = true;
56 m_logPattern = std::forward<LogPatternT>(value);
57 }
58 template <typename LogPatternT = LogPattern>
59 UpdateLogPatternResult& WithLogPattern(LogPatternT&& value) {
60 SetLogPattern(std::forward<LogPatternT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::String m_resourceGroupName;
83
84 LogPattern m_logPattern;
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_resourceGroupNameHasBeenSet = false;
89 bool m_logPatternHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace ApplicationInsights
95} // namespace Aws
UpdateLogPatternResult & WithRequestId(RequestIdT &&value)
AWS_APPLICATIONINSIGHTS_API UpdateLogPatternResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateLogPatternResult & WithResourceGroupName(ResourceGroupNameT &&value)
UpdateLogPatternResult & WithLogPattern(LogPatternT &&value)
AWS_APPLICATIONINSIGHTS_API UpdateLogPatternResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPLICATIONINSIGHTS_API UpdateLogPatternResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue