AWS SDK for C++  1.9.129
AWS SDK for C++
DeleteLogPatternRequest.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 "DeleteLogPattern"; }
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 DeleteLogPatternRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
66 
70  inline DeleteLogPatternRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
71 
75  inline DeleteLogPatternRequest& 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 DeleteLogPatternRequest& WithPatternSetName(const Aws::String& value) { SetPatternSetName(value); return *this;}
107 
111  inline DeleteLogPatternRequest& WithPatternSetName(Aws::String&& value) { SetPatternSetName(std::move(value)); return *this;}
112 
116  inline DeleteLogPatternRequest& 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 DeleteLogPatternRequest& WithPatternName(const Aws::String& value) { SetPatternName(value); return *this;}
148 
152  inline DeleteLogPatternRequest& WithPatternName(Aws::String&& value) { SetPatternName(std::move(value)); return *this;}
153 
157  inline DeleteLogPatternRequest& WithPatternName(const char* value) { SetPatternName(value); return *this;}
158 
159  private:
160 
161  Aws::String m_resourceGroupName;
162  bool m_resourceGroupNameHasBeenSet;
163 
164  Aws::String m_patternSetName;
165  bool m_patternSetNameHasBeenSet;
166 
167  Aws::String m_patternName;
168  bool m_patternNameHasBeenSet;
169  };
170 
171 } // namespace Model
172 } // namespace ApplicationInsights
173 } // namespace Aws
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: DeleteLogPatternRequest.h:60
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::PatternNameHasBeenSet
bool PatternNameHasBeenSet() const
Definition: DeleteLogPatternRequest.h:127
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::WithPatternSetName
DeleteLogPatternRequest & WithPatternSetName(Aws::String &&value)
Definition: DeleteLogPatternRequest.h:111
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::WithResourceGroupName
DeleteLogPatternRequest & WithResourceGroupName(Aws::String &&value)
Definition: DeleteLogPatternRequest.h:70
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::PatternSetNameHasBeenSet
bool PatternSetNameHasBeenSet() const
Definition: DeleteLogPatternRequest.h:86
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::WithPatternName
DeleteLogPatternRequest & WithPatternName(const Aws::String &value)
Definition: DeleteLogPatternRequest.h:147
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: DeleteLogPatternRequest.h:40
Aws::ApplicationInsights::Model::DeleteLogPatternRequest
Definition: DeleteLogPatternRequest.h:22
Aws::ApplicationInsights::ApplicationInsightsRequest
Definition: ApplicationInsightsRequest.h:17
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::WithPatternSetName
DeleteLogPatternRequest & WithPatternSetName(const char *value)
Definition: DeleteLogPatternRequest.h:116
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::WithResourceGroupName
DeleteLogPatternRequest & WithResourceGroupName(const Aws::String &value)
Definition: DeleteLogPatternRequest.h:65
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::GetPatternSetName
const Aws::String & GetPatternSetName() const
Definition: DeleteLogPatternRequest.h:81
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::SetPatternName
void SetPatternName(const char *value)
Definition: DeleteLogPatternRequest.h:142
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::SetPatternName
void SetPatternName(const Aws::String &value)
Definition: DeleteLogPatternRequest.h:132
ApplicationInsightsRequest.h
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteLogPatternRequest.h:30
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::WithPatternSetName
DeleteLogPatternRequest & WithPatternSetName(const Aws::String &value)
Definition: DeleteLogPatternRequest.h:106
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::DeleteLogPatternRequest
DeleteLogPatternRequest()
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: DeleteLogPatternRequest.h:50
AWSString.h
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::WithResourceGroupName
DeleteLogPatternRequest & WithResourceGroupName(const char *value)
Definition: DeleteLogPatternRequest.h:75
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: DeleteLogPatternRequest.h:55
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::WithPatternName
DeleteLogPatternRequest & WithPatternName(Aws::String &&value)
Definition: DeleteLogPatternRequest.h:152
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::WithPatternName
DeleteLogPatternRequest & WithPatternName(const char *value)
Definition: DeleteLogPatternRequest.h:157
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::GetPatternName
const Aws::String & GetPatternName() const
Definition: DeleteLogPatternRequest.h:122
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::SetPatternName
void SetPatternName(Aws::String &&value)
Definition: DeleteLogPatternRequest.h:137
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::SetPatternSetName
void SetPatternSetName(const Aws::String &value)
Definition: DeleteLogPatternRequest.h:91
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::ResourceGroupNameHasBeenSet
bool ResourceGroupNameHasBeenSet() const
Definition: DeleteLogPatternRequest.h:45
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::SetPatternSetName
void SetPatternSetName(const char *value)
Definition: DeleteLogPatternRequest.h:101
Aws::ApplicationInsights::Model::DeleteLogPatternRequest::SetPatternSetName
void SetPatternSetName(Aws::String &&value)
Definition: DeleteLogPatternRequest.h:96
ApplicationInsights_EXPORTS.h