AWS SDK for C++  1.9.129
AWS SDK for C++
ListLogPatternsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ApplicationInsights
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "ListLogPatterns"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
41 
45  inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
46 
50  inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
51 
55  inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
56 
60  inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
61 
65  inline ListLogPatternsRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
66 
70  inline ListLogPatternsRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
71 
75  inline ListLogPatternsRequest& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
76 
77 
81  inline const Aws::String& GetPatternSetName() const{ return m_patternSetName; }
82 
86  inline bool PatternSetNameHasBeenSet() const { return m_patternSetNameHasBeenSet; }
87 
91  inline void SetPatternSetName(const Aws::String& value) { m_patternSetNameHasBeenSet = true; m_patternSetName = value; }
92 
96  inline void SetPatternSetName(Aws::String&& value) { m_patternSetNameHasBeenSet = true; m_patternSetName = std::move(value); }
97 
101  inline void SetPatternSetName(const char* value) { m_patternSetNameHasBeenSet = true; m_patternSetName.assign(value); }
102 
106  inline ListLogPatternsRequest& WithPatternSetName(const Aws::String& value) { SetPatternSetName(value); return *this;}
107 
111  inline ListLogPatternsRequest& WithPatternSetName(Aws::String&& value) { SetPatternSetName(std::move(value)); return *this;}
112 
116  inline ListLogPatternsRequest& WithPatternSetName(const char* value) { SetPatternSetName(value); return *this;}
117 
118 
124  inline int GetMaxResults() const{ return m_maxResults; }
125 
131  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
132 
138  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
139 
145  inline ListLogPatternsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
146 
147 
151  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
152 
156  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
157 
161  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
162 
166  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
167 
171  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
172 
176  inline ListLogPatternsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
177 
181  inline ListLogPatternsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
182 
186  inline ListLogPatternsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
187 
188  private:
189 
190  Aws::String m_resourceGroupName;
191  bool m_resourceGroupNameHasBeenSet;
192 
193  Aws::String m_patternSetName;
194  bool m_patternSetNameHasBeenSet;
195 
196  int m_maxResults;
197  bool m_maxResultsHasBeenSet;
198 
199  Aws::String m_nextToken;
200  bool m_nextTokenHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace ApplicationInsights
205 } // namespace Aws
Aws::ApplicationInsights::Model::ListLogPatternsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListLogPatternsRequest.h:131
Aws::ApplicationInsights::Model::ListLogPatternsRequest::GetPatternSetName
const Aws::String & GetPatternSetName() const
Definition: ListLogPatternsRequest.h:81
Aws::ApplicationInsights::Model::ListLogPatternsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListLogPatternsRequest.h:30
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationInsights::Model::ListLogPatternsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListLogPatternsRequest.h:156
Aws::ApplicationInsights::Model::ListLogPatternsRequest::WithResourceGroupName
ListLogPatternsRequest & WithResourceGroupName(const char *value)
Definition: ListLogPatternsRequest.h:75
Aws::ApplicationInsights::Model::ListLogPatternsRequest::WithResourceGroupName
ListLogPatternsRequest & WithResourceGroupName(const Aws::String &value)
Definition: ListLogPatternsRequest.h:65
Aws::ApplicationInsights::Model::ListLogPatternsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListLogPatternsRequest.h:138
Aws::ApplicationInsights::Model::ListLogPatternsRequest::WithNextToken
ListLogPatternsRequest & WithNextToken(Aws::String &&value)
Definition: ListLogPatternsRequest.h:181
Aws::ApplicationInsights::Model::ListLogPatternsRequest::WithPatternSetName
ListLogPatternsRequest & WithPatternSetName(const Aws::String &value)
Definition: ListLogPatternsRequest.h:106
Aws::ApplicationInsights::Model::ListLogPatternsRequest::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: ListLogPatternsRequest.h:55
Aws::ApplicationInsights::Model::ListLogPatternsRequest::PatternSetNameHasBeenSet
bool PatternSetNameHasBeenSet() const
Definition: ListLogPatternsRequest.h:86
Aws::ApplicationInsights::Model::ListLogPatternsRequest::WithPatternSetName
ListLogPatternsRequest & WithPatternSetName(Aws::String &&value)
Definition: ListLogPatternsRequest.h:111
Aws::ApplicationInsights::ApplicationInsightsRequest
Definition: ApplicationInsightsRequest.h:17
Aws::ApplicationInsights::Model::ListLogPatternsRequest::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: ListLogPatternsRequest.h:40
Aws::ApplicationInsights::Model::ListLogPatternsRequest::SetPatternSetName
void SetPatternSetName(Aws::String &&value)
Definition: ListLogPatternsRequest.h:96
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
ApplicationInsightsRequest.h
Aws::ApplicationInsights::Model::ListLogPatternsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListLogPatternsRequest.h:124
Aws::ApplicationInsights::Model::ListLogPatternsRequest::WithMaxResults
ListLogPatternsRequest & WithMaxResults(int value)
Definition: ListLogPatternsRequest.h:145
Aws::ApplicationInsights::Model::ListLogPatternsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListLogPatternsRequest.h:161
Aws::ApplicationInsights::Model::ListLogPatternsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListLogPatternsRequest.h:171
Aws::ApplicationInsights::Model::ListLogPatternsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::ApplicationInsights::Model::ListLogPatternsRequest
Definition: ListLogPatternsRequest.h:22
Aws::ApplicationInsights::Model::ListLogPatternsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListLogPatternsRequest.h:166
Aws::ApplicationInsights::Model::ListLogPatternsRequest::WithNextToken
ListLogPatternsRequest & WithNextToken(const char *value)
Definition: ListLogPatternsRequest.h:186
Aws::ApplicationInsights::Model::ListLogPatternsRequest::SetPatternSetName
void SetPatternSetName(const char *value)
Definition: ListLogPatternsRequest.h:101
Aws::ApplicationInsights::Model::ListLogPatternsRequest::ListLogPatternsRequest
ListLogPatternsRequest()
Aws::ApplicationInsights::Model::ListLogPatternsRequest::WithPatternSetName
ListLogPatternsRequest & WithPatternSetName(const char *value)
Definition: ListLogPatternsRequest.h:116
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::ListLogPatternsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListLogPatternsRequest.h:151
Aws::ApplicationInsights::Model::ListLogPatternsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::ListLogPatternsRequest::ResourceGroupNameHasBeenSet
bool ResourceGroupNameHasBeenSet() const
Definition: ListLogPatternsRequest.h:45
Aws::ApplicationInsights::Model::ListLogPatternsRequest::WithResourceGroupName
ListLogPatternsRequest & WithResourceGroupName(Aws::String &&value)
Definition: ListLogPatternsRequest.h:70
Aws::ApplicationInsights::Model::ListLogPatternsRequest::WithNextToken
ListLogPatternsRequest & WithNextToken(const Aws::String &value)
Definition: ListLogPatternsRequest.h:176
Aws::ApplicationInsights::Model::ListLogPatternsRequest::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: ListLogPatternsRequest.h:50
Aws::ApplicationInsights::Model::ListLogPatternsRequest::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: ListLogPatternsRequest.h:60
ApplicationInsights_EXPORTS.h
Aws::ApplicationInsights::Model::ListLogPatternsRequest::SetPatternSetName
void SetPatternSetName(const Aws::String &value)
Definition: ListLogPatternsRequest.h:91