AWS SDK for C++  1.9.129
AWS SDK for C++
CreateLogPatternRequest.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 "CreateLogPattern"; }
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 CreateLogPatternRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
66 
70  inline CreateLogPatternRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
71 
75  inline CreateLogPatternRequest& 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 CreateLogPatternRequest& WithPatternSetName(const Aws::String& value) { SetPatternSetName(value); return *this;}
107 
111  inline CreateLogPatternRequest& WithPatternSetName(Aws::String&& value) { SetPatternSetName(std::move(value)); return *this;}
112 
116  inline CreateLogPatternRequest& WithPatternSetName(const char* value) { SetPatternSetName(value); return *this;}
117 
118 
122  inline const Aws::String& GetPatternName() const{ return m_patternName; }
123 
127  inline bool PatternNameHasBeenSet() const { return m_patternNameHasBeenSet; }
128 
132  inline void SetPatternName(const Aws::String& value) { m_patternNameHasBeenSet = true; m_patternName = value; }
133 
137  inline void SetPatternName(Aws::String&& value) { m_patternNameHasBeenSet = true; m_patternName = std::move(value); }
138 
142  inline void SetPatternName(const char* value) { m_patternNameHasBeenSet = true; m_patternName.assign(value); }
143 
147  inline CreateLogPatternRequest& WithPatternName(const Aws::String& value) { SetPatternName(value); return *this;}
148 
152  inline CreateLogPatternRequest& WithPatternName(Aws::String&& value) { SetPatternName(std::move(value)); return *this;}
153 
157  inline CreateLogPatternRequest& WithPatternName(const char* value) { SetPatternName(value); return *this;}
158 
159 
164  inline const Aws::String& GetPattern() const{ return m_pattern; }
165 
170  inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
171 
176  inline void SetPattern(const Aws::String& value) { m_patternHasBeenSet = true; m_pattern = value; }
177 
182  inline void SetPattern(Aws::String&& value) { m_patternHasBeenSet = true; m_pattern = std::move(value); }
183 
188  inline void SetPattern(const char* value) { m_patternHasBeenSet = true; m_pattern.assign(value); }
189 
194  inline CreateLogPatternRequest& WithPattern(const Aws::String& value) { SetPattern(value); return *this;}
195 
200  inline CreateLogPatternRequest& WithPattern(Aws::String&& value) { SetPattern(std::move(value)); return *this;}
201 
206  inline CreateLogPatternRequest& WithPattern(const char* value) { SetPattern(value); return *this;}
207 
208 
222  inline int GetRank() const{ return m_rank; }
223 
237  inline bool RankHasBeenSet() const { return m_rankHasBeenSet; }
238 
252  inline void SetRank(int value) { m_rankHasBeenSet = true; m_rank = value; }
253 
267  inline CreateLogPatternRequest& WithRank(int value) { SetRank(value); return *this;}
268 
269  private:
270 
271  Aws::String m_resourceGroupName;
272  bool m_resourceGroupNameHasBeenSet;
273 
274  Aws::String m_patternSetName;
275  bool m_patternSetNameHasBeenSet;
276 
277  Aws::String m_patternName;
278  bool m_patternNameHasBeenSet;
279 
280  Aws::String m_pattern;
281  bool m_patternHasBeenSet;
282 
283  int m_rank;
284  bool m_rankHasBeenSet;
285  };
286 
287 } // namespace Model
288 } // namespace ApplicationInsights
289 } // namespace Aws
Aws::ApplicationInsights::Model::CreateLogPatternRequest::GetPattern
const Aws::String & GetPattern() const
Definition: CreateLogPatternRequest.h:164
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: CreateLogPatternRequest.h:50
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithPattern
CreateLogPatternRequest & WithPattern(Aws::String &&value)
Definition: CreateLogPatternRequest.h:200
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithResourceGroupName
CreateLogPatternRequest & WithResourceGroupName(const Aws::String &value)
Definition: CreateLogPatternRequest.h:65
Aws::ApplicationInsights::Model::CreateLogPatternRequest::RankHasBeenSet
bool RankHasBeenSet() const
Definition: CreateLogPatternRequest.h:237
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithPatternName
CreateLogPatternRequest & WithPatternName(const Aws::String &value)
Definition: CreateLogPatternRequest.h:147
Aws::ApplicationInsights::Model::CreateLogPatternRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateLogPatternRequest.h:30
Aws::ApplicationInsights::Model::CreateLogPatternRequest::ResourceGroupNameHasBeenSet
bool ResourceGroupNameHasBeenSet() const
Definition: CreateLogPatternRequest.h:45
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: CreateLogPatternRequest.h:55
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetPattern
void SetPattern(const char *value)
Definition: CreateLogPatternRequest.h:188
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetPattern
void SetPattern(const Aws::String &value)
Definition: CreateLogPatternRequest.h:176
Aws::ApplicationInsights::Model::CreateLogPatternRequest
Definition: CreateLogPatternRequest.h:22
Aws::ApplicationInsights::Model::CreateLogPatternRequest::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: CreateLogPatternRequest.h:40
Aws::ApplicationInsights::ApplicationInsightsRequest
Definition: ApplicationInsightsRequest.h:17
Aws::ApplicationInsights::Model::CreateLogPatternRequest::PatternNameHasBeenSet
bool PatternNameHasBeenSet() const
Definition: CreateLogPatternRequest.h:127
Aws::ApplicationInsights::Model::CreateLogPatternRequest::PatternSetNameHasBeenSet
bool PatternSetNameHasBeenSet() const
Definition: CreateLogPatternRequest.h:86
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithPatternName
CreateLogPatternRequest & WithPatternName(const char *value)
Definition: CreateLogPatternRequest.h:157
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithPatternSetName
CreateLogPatternRequest & WithPatternSetName(Aws::String &&value)
Definition: CreateLogPatternRequest.h:111
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithRank
CreateLogPatternRequest & WithRank(int value)
Definition: CreateLogPatternRequest.h:267
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithResourceGroupName
CreateLogPatternRequest & WithResourceGroupName(Aws::String &&value)
Definition: CreateLogPatternRequest.h:70
ApplicationInsightsRequest.h
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetPatternSetName
void SetPatternSetName(const char *value)
Definition: CreateLogPatternRequest.h:101
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithResourceGroupName
CreateLogPatternRequest & WithResourceGroupName(const char *value)
Definition: CreateLogPatternRequest.h:75
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithPattern
CreateLogPatternRequest & WithPattern(const char *value)
Definition: CreateLogPatternRequest.h:206
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithPatternSetName
CreateLogPatternRequest & WithPatternSetName(const char *value)
Definition: CreateLogPatternRequest.h:116
Aws::ApplicationInsights::Model::CreateLogPatternRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetPattern
void SetPattern(Aws::String &&value)
Definition: CreateLogPatternRequest.h:182
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithPatternName
CreateLogPatternRequest & WithPatternName(Aws::String &&value)
Definition: CreateLogPatternRequest.h:152
Aws::ApplicationInsights::Model::CreateLogPatternRequest::CreateLogPatternRequest
CreateLogPatternRequest()
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetPatternName
void SetPatternName(const Aws::String &value)
Definition: CreateLogPatternRequest.h:132
Aws::ApplicationInsights::Model::CreateLogPatternRequest::GetPatternSetName
const Aws::String & GetPatternSetName() const
Definition: CreateLogPatternRequest.h:81
Aws::ApplicationInsights::Model::CreateLogPatternRequest::GetPatternName
const Aws::String & GetPatternName() const
Definition: CreateLogPatternRequest.h:122
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithPatternSetName
CreateLogPatternRequest & WithPatternSetName(const Aws::String &value)
Definition: CreateLogPatternRequest.h:106
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetPatternName
void SetPatternName(Aws::String &&value)
Definition: CreateLogPatternRequest.h:137
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetRank
void SetRank(int value)
Definition: CreateLogPatternRequest.h:252
Aws::ApplicationInsights::Model::CreateLogPatternRequest::PatternHasBeenSet
bool PatternHasBeenSet() const
Definition: CreateLogPatternRequest.h:170
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetPatternSetName
void SetPatternSetName(const Aws::String &value)
Definition: CreateLogPatternRequest.h:91
ApplicationInsights_EXPORTS.h
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetPatternName
void SetPatternName(const char *value)
Definition: CreateLogPatternRequest.h:142
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: CreateLogPatternRequest.h:60
Aws::ApplicationInsights::Model::CreateLogPatternRequest::WithPattern
CreateLogPatternRequest & WithPattern(const Aws::String &value)
Definition: CreateLogPatternRequest.h:194
Aws::ApplicationInsights::Model::CreateLogPatternRequest::GetRank
int GetRank() const
Definition: CreateLogPatternRequest.h:222
Aws::ApplicationInsights::Model::CreateLogPatternRequest::SetPatternSetName
void SetPatternSetName(Aws::String &&value)
Definition: CreateLogPatternRequest.h:96