AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateLogPatternResult.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/application-insights/model/LogPattern.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace ApplicationInsights
25{
26namespace Model
27{
29 {
30 public:
31 AWS_APPLICATIONINSIGHTS_API UpdateLogPatternResult() = default;
34
35
37
40 inline const Aws::String& GetResourceGroupName() const { return m_resourceGroupName; }
41 template<typename ResourceGroupNameT = Aws::String>
42 void SetResourceGroupName(ResourceGroupNameT&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::forward<ResourceGroupNameT>(value); }
43 template<typename ResourceGroupNameT = Aws::String>
44 UpdateLogPatternResult& WithResourceGroupName(ResourceGroupNameT&& value) { SetResourceGroupName(std::forward<ResourceGroupNameT>(value)); return *this;}
46
48
51 inline const LogPattern& GetLogPattern() const { return m_logPattern; }
52 template<typename LogPatternT = LogPattern>
53 void SetLogPattern(LogPatternT&& value) { m_logPatternHasBeenSet = true; m_logPattern = std::forward<LogPatternT>(value); }
54 template<typename LogPatternT = LogPattern>
55 UpdateLogPatternResult& WithLogPattern(LogPatternT&& value) { SetLogPattern(std::forward<LogPatternT>(value)); return *this;}
57
59
60 inline const Aws::String& GetRequestId() const { return m_requestId; }
61 template<typename RequestIdT = Aws::String>
62 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
63 template<typename RequestIdT = Aws::String>
64 UpdateLogPatternResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
66 private:
67
68 Aws::String m_resourceGroupName;
69 bool m_resourceGroupNameHasBeenSet = false;
70
71 LogPattern m_logPattern;
72 bool m_logPatternHasBeenSet = false;
73
74 Aws::String m_requestId;
75 bool m_requestIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace ApplicationInsights
80} // 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