AWS SDK for C++  1.9.124
AWS SDK for C++
UpdateLogPatternRequest.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 "UpdateLogPattern"; }
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 UpdateLogPatternRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
66 
70  inline UpdateLogPatternRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
71 
75  inline UpdateLogPatternRequest& 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 UpdateLogPatternRequest& WithPatternSetName(const Aws::String& value) { SetPatternSetName(value); return *this;}
107 
111  inline UpdateLogPatternRequest& WithPatternSetName(Aws::String&& value) { SetPatternSetName(std::move(value)); return *this;}
112 
116  inline UpdateLogPatternRequest& 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 UpdateLogPatternRequest& WithPatternName(const Aws::String& value) { SetPatternName(value); return *this;}
148 
152  inline UpdateLogPatternRequest& WithPatternName(Aws::String&& value) { SetPatternName(std::move(value)); return *this;}
153 
157  inline UpdateLogPatternRequest& 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 UpdateLogPatternRequest& WithPattern(const Aws::String& value) { SetPattern(value); return *this;}
195 
200  inline UpdateLogPatternRequest& WithPattern(Aws::String&& value) { SetPattern(std::move(value)); return *this;}
201 
206  inline UpdateLogPatternRequest& 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 UpdateLogPatternRequest& 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::UpdateLogPatternRequest::SetPatternSetName
void SetPatternSetName(Aws::String &&value)
Definition: UpdateLogPatternRequest.h:96
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetPattern
void SetPattern(const char *value)
Definition: UpdateLogPatternRequest.h:188
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithPattern
UpdateLogPatternRequest & WithPattern(const char *value)
Definition: UpdateLogPatternRequest.h:206
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::GetPatternSetName
const Aws::String & GetPatternSetName() const
Definition: UpdateLogPatternRequest.h:81
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::GetRank
int GetRank() const
Definition: UpdateLogPatternRequest.h:222
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetPattern
void SetPattern(const Aws::String &value)
Definition: UpdateLogPatternRequest.h:176
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::GetPatternName
const Aws::String & GetPatternName() const
Definition: UpdateLogPatternRequest.h:122
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithPatternName
UpdateLogPatternRequest & WithPatternName(Aws::String &&value)
Definition: UpdateLogPatternRequest.h:152
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: UpdateLogPatternRequest.h:55
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::PatternSetNameHasBeenSet
bool PatternSetNameHasBeenSet() const
Definition: UpdateLogPatternRequest.h:86
Aws::ApplicationInsights::ApplicationInsightsRequest
Definition: ApplicationInsightsRequest.h:17
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithPatternName
UpdateLogPatternRequest & WithPatternName(const char *value)
Definition: UpdateLogPatternRequest.h:157
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetRank
void SetRank(int value)
Definition: UpdateLogPatternRequest.h:252
Aws::ApplicationInsights::Model::UpdateLogPatternRequest
Definition: UpdateLogPatternRequest.h:22
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithPatternName
UpdateLogPatternRequest & WithPatternName(const Aws::String &value)
Definition: UpdateLogPatternRequest.h:147
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: UpdateLogPatternRequest.h:60
ApplicationInsightsRequest.h
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithPatternSetName
UpdateLogPatternRequest & WithPatternSetName(const Aws::String &value)
Definition: UpdateLogPatternRequest.h:106
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithPatternSetName
UpdateLogPatternRequest & WithPatternSetName(const char *value)
Definition: UpdateLogPatternRequest.h:116
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithPattern
UpdateLogPatternRequest & WithPattern(const Aws::String &value)
Definition: UpdateLogPatternRequest.h:194
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::GetPattern
const Aws::String & GetPattern() const
Definition: UpdateLogPatternRequest.h:164
AWSString.h
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithResourceGroupName
UpdateLogPatternRequest & WithResourceGroupName(const Aws::String &value)
Definition: UpdateLogPatternRequest.h:65
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::PatternHasBeenSet
bool PatternHasBeenSet() const
Definition: UpdateLogPatternRequest.h:170
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::RankHasBeenSet
bool RankHasBeenSet() const
Definition: UpdateLogPatternRequest.h:237
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::UpdateLogPatternRequest
UpdateLogPatternRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: UpdateLogPatternRequest.h:50
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetPatternName
void SetPatternName(const Aws::String &value)
Definition: UpdateLogPatternRequest.h:132
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetPatternName
void SetPatternName(const char *value)
Definition: UpdateLogPatternRequest.h:142
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetPatternName
void SetPatternName(Aws::String &&value)
Definition: UpdateLogPatternRequest.h:137
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetPatternSetName
void SetPatternSetName(const char *value)
Definition: UpdateLogPatternRequest.h:101
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::ResourceGroupNameHasBeenSet
bool ResourceGroupNameHasBeenSet() const
Definition: UpdateLogPatternRequest.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::PatternNameHasBeenSet
bool PatternNameHasBeenSet() const
Definition: UpdateLogPatternRequest.h:127
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: UpdateLogPatternRequest.h:40
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithResourceGroupName
UpdateLogPatternRequest & WithResourceGroupName(Aws::String &&value)
Definition: UpdateLogPatternRequest.h:70
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateLogPatternRequest.h:30
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetPattern
void SetPattern(Aws::String &&value)
Definition: UpdateLogPatternRequest.h:182
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithResourceGroupName
UpdateLogPatternRequest & WithResourceGroupName(const char *value)
Definition: UpdateLogPatternRequest.h:75
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithPatternSetName
UpdateLogPatternRequest & WithPatternSetName(Aws::String &&value)
Definition: UpdateLogPatternRequest.h:111
ApplicationInsights_EXPORTS.h
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::SetPatternSetName
void SetPatternSetName(const Aws::String &value)
Definition: UpdateLogPatternRequest.h:91
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithPattern
UpdateLogPatternRequest & WithPattern(Aws::String &&value)
Definition: UpdateLogPatternRequest.h:200
Aws::ApplicationInsights::Model::UpdateLogPatternRequest::WithRank
UpdateLogPatternRequest & WithRank(int value)
Definition: UpdateLogPatternRequest.h:267