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