AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListLogPatternsResult.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/core/utils/memory/stl/AWSVector.h>
10#include <aws/application-insights/model/LogPattern.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 ApplicationInsights
26{
27namespace Model
28{
30 {
31 public:
32 AWS_APPLICATIONINSIGHTS_API ListLogPatternsResult() = default;
35
36
38
41 inline const Aws::String& GetResourceGroupName() const { return m_resourceGroupName; }
42 template<typename ResourceGroupNameT = Aws::String>
43 void SetResourceGroupName(ResourceGroupNameT&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::forward<ResourceGroupNameT>(value); }
44 template<typename ResourceGroupNameT = Aws::String>
45 ListLogPatternsResult& WithResourceGroupName(ResourceGroupNameT&& value) { SetResourceGroupName(std::forward<ResourceGroupNameT>(value)); return *this;}
47
49
52 inline const Aws::String& GetAccountId() const { return m_accountId; }
53 template<typename AccountIdT = Aws::String>
54 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
55 template<typename AccountIdT = Aws::String>
56 ListLogPatternsResult& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
58
60
63 inline const Aws::Vector<LogPattern>& GetLogPatterns() const { return m_logPatterns; }
64 template<typename LogPatternsT = Aws::Vector<LogPattern>>
65 void SetLogPatterns(LogPatternsT&& value) { m_logPatternsHasBeenSet = true; m_logPatterns = std::forward<LogPatternsT>(value); }
66 template<typename LogPatternsT = Aws::Vector<LogPattern>>
67 ListLogPatternsResult& WithLogPatterns(LogPatternsT&& value) { SetLogPatterns(std::forward<LogPatternsT>(value)); return *this;}
68 template<typename LogPatternsT = LogPattern>
69 ListLogPatternsResult& AddLogPatterns(LogPatternsT&& value) { m_logPatternsHasBeenSet = true; m_logPatterns.emplace_back(std::forward<LogPatternsT>(value)); return *this; }
71
73
77 inline const Aws::String& GetNextToken() const { return m_nextToken; }
78 template<typename NextTokenT = Aws::String>
79 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
80 template<typename NextTokenT = Aws::String>
81 ListLogPatternsResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template<typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
89 template<typename RequestIdT = Aws::String>
90 ListLogPatternsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
92 private:
93
94 Aws::String m_resourceGroupName;
95 bool m_resourceGroupNameHasBeenSet = false;
96
97 Aws::String m_accountId;
98 bool m_accountIdHasBeenSet = false;
99
100 Aws::Vector<LogPattern> m_logPatterns;
101 bool m_logPatternsHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105
106 Aws::String m_requestId;
107 bool m_requestIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ApplicationInsights
112} // namespace Aws
ListLogPatternsResult & WithLogPatterns(LogPatternsT &&value)
ListLogPatternsResult & WithResourceGroupName(ResourceGroupNameT &&value)
ListLogPatternsResult & AddLogPatterns(LogPatternsT &&value)
AWS_APPLICATIONINSIGHTS_API ListLogPatternsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListLogPatternsResult & WithRequestId(RequestIdT &&value)
ListLogPatternsResult & WithAccountId(AccountIdT &&value)
AWS_APPLICATIONINSIGHTS_API ListLogPatternsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListLogPatternsResult & WithNextToken(NextTokenT &&value)
AWS_APPLICATIONINSIGHTS_API ListLogPatternsResult()=default
const Aws::Vector< LogPattern > & GetLogPatterns() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue