AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
35
36
38
41 inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
42 inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupName = value; }
43 inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupName = std::move(value); }
44 inline void SetResourceGroupName(const char* value) { m_resourceGroupName.assign(value); }
45 inline ListLogPatternsResult& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
46 inline ListLogPatternsResult& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
47 inline ListLogPatternsResult& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
49
51
54 inline const Aws::String& GetAccountId() const{ return m_accountId; }
55 inline void SetAccountId(const Aws::String& value) { m_accountId = value; }
56 inline void SetAccountId(Aws::String&& value) { m_accountId = std::move(value); }
57 inline void SetAccountId(const char* value) { m_accountId.assign(value); }
58 inline ListLogPatternsResult& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
59 inline ListLogPatternsResult& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
60 inline ListLogPatternsResult& WithAccountId(const char* value) { SetAccountId(value); return *this;}
62
64
67 inline const Aws::Vector<LogPattern>& GetLogPatterns() const{ return m_logPatterns; }
68 inline void SetLogPatterns(const Aws::Vector<LogPattern>& value) { m_logPatterns = value; }
69 inline void SetLogPatterns(Aws::Vector<LogPattern>&& value) { m_logPatterns = std::move(value); }
70 inline ListLogPatternsResult& WithLogPatterns(const Aws::Vector<LogPattern>& value) { SetLogPatterns(value); return *this;}
71 inline ListLogPatternsResult& WithLogPatterns(Aws::Vector<LogPattern>&& value) { SetLogPatterns(std::move(value)); return *this;}
72 inline ListLogPatternsResult& AddLogPatterns(const LogPattern& value) { m_logPatterns.push_back(value); return *this; }
73 inline ListLogPatternsResult& AddLogPatterns(LogPattern&& value) { m_logPatterns.push_back(std::move(value)); return *this; }
75
77
81 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
83 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
84 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
85 inline ListLogPatternsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
86 inline ListLogPatternsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
87 inline ListLogPatternsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
89
91
92 inline const Aws::String& GetRequestId() const{ return m_requestId; }
93 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
94 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
95 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
96 inline ListLogPatternsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
97 inline ListLogPatternsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
98 inline ListLogPatternsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
100 private:
101
102 Aws::String m_resourceGroupName;
103
104 Aws::String m_accountId;
105
106 Aws::Vector<LogPattern> m_logPatterns;
107
108 Aws::String m_nextToken;
109
110 Aws::String m_requestId;
111 };
112
113} // namespace Model
114} // namespace ApplicationInsights
115} // namespace Aws
ListLogPatternsResult & AddLogPatterns(LogPattern &&value)
ListLogPatternsResult & WithResourceGroupName(const char *value)
ListLogPatternsResult & WithLogPatterns(const Aws::Vector< LogPattern > &value)
void SetLogPatterns(const Aws::Vector< LogPattern > &value)
AWS_APPLICATIONINSIGHTS_API ListLogPatternsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListLogPatternsResult & WithAccountId(Aws::String &&value)
ListLogPatternsResult & WithRequestId(Aws::String &&value)
void SetLogPatterns(Aws::Vector< LogPattern > &&value)
AWS_APPLICATIONINSIGHTS_API ListLogPatternsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListLogPatternsResult & WithLogPatterns(Aws::Vector< LogPattern > &&value)
ListLogPatternsResult & WithRequestId(const char *value)
ListLogPatternsResult & WithResourceGroupName(const Aws::String &value)
ListLogPatternsResult & WithAccountId(const char *value)
ListLogPatternsResult & WithNextToken(const char *value)
ListLogPatternsResult & WithResourceGroupName(Aws::String &&value)
ListLogPatternsResult & WithNextToken(Aws::String &&value)
ListLogPatternsResult & WithAccountId(const Aws::String &value)
ListLogPatternsResult & WithRequestId(const Aws::String &value)
ListLogPatternsResult & AddLogPatterns(const LogPattern &value)
const Aws::Vector< LogPattern > & GetLogPatterns() const
ListLogPatternsResult & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue