AWS SDK for C++  1.9.124
AWS SDK for C++
ListLogPatternSetsRequest.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 "ListLogPatternSets"; }
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 ListLogPatternSetsRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
66 
70  inline ListLogPatternSetsRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
71 
75  inline ListLogPatternSetsRequest& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
76 
77 
83  inline int GetMaxResults() const{ return m_maxResults; }
84 
90  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
91 
97  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
98 
104  inline ListLogPatternSetsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105 
106 
110  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
111 
115  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
116 
120  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
121 
125  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
126 
130  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
131 
135  inline ListLogPatternSetsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
136 
140  inline ListLogPatternSetsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
141 
145  inline ListLogPatternSetsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
146 
147  private:
148 
149  Aws::String m_resourceGroupName;
150  bool m_resourceGroupNameHasBeenSet;
151 
152  int m_maxResults;
153  bool m_maxResultsHasBeenSet;
154 
155  Aws::String m_nextToken;
156  bool m_nextTokenHasBeenSet;
157  };
158 
159 } // namespace Model
160 } // namespace ApplicationInsights
161 } // namespace Aws
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: ListLogPatternSetsRequest.h:55
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::WithResourceGroupName
ListLogPatternSetsRequest & WithResourceGroupName(const Aws::String &value)
Definition: ListLogPatternSetsRequest.h:65
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: ListLogPatternSetsRequest.h:50
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest
Definition: ListLogPatternSetsRequest.h:22
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListLogPatternSetsRequest.h:120
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::WithMaxResults
ListLogPatternSetsRequest & WithMaxResults(int value)
Definition: ListLogPatternSetsRequest.h:104
Aws::ApplicationInsights::ApplicationInsightsRequest
Definition: ApplicationInsightsRequest.h:17
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: ListLogPatternSetsRequest.h:40
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::WithResourceGroupName
ListLogPatternSetsRequest & WithResourceGroupName(const char *value)
Definition: ListLogPatternSetsRequest.h:75
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListLogPatternSetsRequest.h:90
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListLogPatternSetsRequest.h:83
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::WithNextToken
ListLogPatternSetsRequest & WithNextToken(const char *value)
Definition: ListLogPatternSetsRequest.h:145
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListLogPatternSetsRequest.h:125
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListLogPatternSetsRequest.h:115
ApplicationInsightsRequest.h
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::WithNextToken
ListLogPatternSetsRequest & WithNextToken(const Aws::String &value)
Definition: ListLogPatternSetsRequest.h:135
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListLogPatternSetsRequest.h:30
AWSString.h
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListLogPatternSetsRequest.h:97
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListLogPatternSetsRequest.h:110
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: ListLogPatternSetsRequest.h:60
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::WithNextToken
ListLogPatternSetsRequest & WithNextToken(Aws::String &&value)
Definition: ListLogPatternSetsRequest.h:140
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::WithResourceGroupName
ListLogPatternSetsRequest & WithResourceGroupName(Aws::String &&value)
Definition: ListLogPatternSetsRequest.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListLogPatternSetsRequest.h:130
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::ListLogPatternSetsRequest
ListLogPatternSetsRequest()
Aws::ApplicationInsights::Model::ListLogPatternSetsRequest::ResourceGroupNameHasBeenSet
bool ResourceGroupNameHasBeenSet() const
Definition: ListLogPatternSetsRequest.h:45
ApplicationInsights_EXPORTS.h