AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DescribeLogPatternResult.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 DescribeLogPatternResult() = 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 DescribeLogPatternResult& WithResourceGroupName(ResourceGroupNameT&& value) {
43 SetResourceGroupName(std::forward<ResourceGroupNameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetAccountId() const { return m_accountId; }
53 template <typename AccountIdT = Aws::String>
54 void SetAccountId(AccountIdT&& value) {
55 m_accountIdHasBeenSet = true;
56 m_accountId = std::forward<AccountIdT>(value);
57 }
58 template <typename AccountIdT = Aws::String>
60 SetAccountId(std::forward<AccountIdT>(value));
61 return *this;
62 }
64
66
69 inline const LogPattern& GetLogPattern() const { return m_logPattern; }
70 template <typename LogPatternT = LogPattern>
71 void SetLogPattern(LogPatternT&& value) {
72 m_logPatternHasBeenSet = true;
73 m_logPattern = std::forward<LogPatternT>(value);
74 }
75 template <typename LogPatternT = LogPattern>
77 SetLogPattern(std::forward<LogPatternT>(value));
78 return *this;
79 }
81
83
84 inline const Aws::String& GetRequestId() const { return m_requestId; }
85 template <typename RequestIdT = Aws::String>
86 void SetRequestId(RequestIdT&& value) {
87 m_requestIdHasBeenSet = true;
88 m_requestId = std::forward<RequestIdT>(value);
89 }
90 template <typename RequestIdT = Aws::String>
92 SetRequestId(std::forward<RequestIdT>(value));
93 return *this;
94 }
96 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
97
98 private:
99 Aws::String m_resourceGroupName;
100
101 Aws::String m_accountId;
102
103 LogPattern m_logPattern;
104
105 Aws::String m_requestId;
106 Aws::Http::HttpResponseCode m_HttpResponseCode;
107 bool m_resourceGroupNameHasBeenSet = false;
108 bool m_accountIdHasBeenSet = false;
109 bool m_logPatternHasBeenSet = false;
110 bool m_requestIdHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace ApplicationInsights
115} // namespace Aws
DescribeLogPatternResult & WithResourceGroupName(ResourceGroupNameT &&value)
DescribeLogPatternResult & WithRequestId(RequestIdT &&value)
DescribeLogPatternResult & WithAccountId(AccountIdT &&value)
AWS_APPLICATIONINSIGHTS_API DescribeLogPatternResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_APPLICATIONINSIGHTS_API DescribeLogPatternResult()=default
DescribeLogPatternResult & WithLogPattern(LogPatternT &&value)
AWS_APPLICATIONINSIGHTS_API DescribeLogPatternResult & operator=(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