AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListProblemsRequest.h
1
6#pragma once
7#include <aws/application-insights/ApplicationInsights_EXPORTS.h>
8#include <aws/application-insights/ApplicationInsightsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/application-insights/model/Visibility.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ApplicationInsights
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_APPLICATIONINSIGHTS_API ListProblemsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ListProblems"; }
33
34 AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override;
35
36 AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
43 inline const Aws::String& GetAccountId() const{ return m_accountId; }
44 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
45 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
46 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
47 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
48 inline ListProblemsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
49 inline ListProblemsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
50 inline ListProblemsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
52
54
57 inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
58 inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
59 inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
60 inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
61 inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
62 inline ListProblemsRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
63 inline ListProblemsRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
64 inline ListProblemsRequest& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
66
68
73 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
74 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
75 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
76 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
77 inline ListProblemsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
78 inline ListProblemsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
87 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
88 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
89 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
90 inline ListProblemsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
91 inline ListProblemsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
93
95
100 inline int GetMaxResults() const{ return m_maxResults; }
101 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
102 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
103 inline ListProblemsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
105
107
110 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
111 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
112 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
113 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
114 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
115 inline ListProblemsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
116 inline ListProblemsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
117 inline ListProblemsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119
121
124 inline const Aws::String& GetComponentName() const{ return m_componentName; }
125 inline bool ComponentNameHasBeenSet() const { return m_componentNameHasBeenSet; }
126 inline void SetComponentName(const Aws::String& value) { m_componentNameHasBeenSet = true; m_componentName = value; }
127 inline void SetComponentName(Aws::String&& value) { m_componentNameHasBeenSet = true; m_componentName = std::move(value); }
128 inline void SetComponentName(const char* value) { m_componentNameHasBeenSet = true; m_componentName.assign(value); }
129 inline ListProblemsRequest& WithComponentName(const Aws::String& value) { SetComponentName(value); return *this;}
130 inline ListProblemsRequest& WithComponentName(Aws::String&& value) { SetComponentName(std::move(value)); return *this;}
131 inline ListProblemsRequest& WithComponentName(const char* value) { SetComponentName(value); return *this;}
133
135
139 inline const Visibility& GetVisibility() const{ return m_visibility; }
140 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
141 inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
142 inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
143 inline ListProblemsRequest& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;}
144 inline ListProblemsRequest& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;}
146 private:
147
148 Aws::String m_accountId;
149 bool m_accountIdHasBeenSet = false;
150
151 Aws::String m_resourceGroupName;
152 bool m_resourceGroupNameHasBeenSet = false;
153
154 Aws::Utils::DateTime m_startTime;
155 bool m_startTimeHasBeenSet = false;
156
157 Aws::Utils::DateTime m_endTime;
158 bool m_endTimeHasBeenSet = false;
159
160 int m_maxResults;
161 bool m_maxResultsHasBeenSet = false;
162
163 Aws::String m_nextToken;
164 bool m_nextTokenHasBeenSet = false;
165
166 Aws::String m_componentName;
167 bool m_componentNameHasBeenSet = false;
168
169 Visibility m_visibility;
170 bool m_visibilityHasBeenSet = false;
171 };
172
173} // namespace Model
174} // namespace ApplicationInsights
175} // namespace Aws
ListProblemsRequest & WithAccountId(const Aws::String &value)
ListProblemsRequest & WithEndTime(const Aws::Utils::DateTime &value)
ListProblemsRequest & WithComponentName(const Aws::String &value)
ListProblemsRequest & WithVisibility(Visibility &&value)
ListProblemsRequest & WithResourceGroupName(const Aws::String &value)
ListProblemsRequest & WithComponentName(const char *value)
AWS_APPLICATIONINSIGHTS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListProblemsRequest & WithStartTime(const Aws::Utils::DateTime &value)
ListProblemsRequest & WithComponentName(Aws::String &&value)
ListProblemsRequest & WithStartTime(Aws::Utils::DateTime &&value)
ListProblemsRequest & WithResourceGroupName(const char *value)
AWS_APPLICATIONINSIGHTS_API Aws::String SerializePayload() const override
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_APPLICATIONINSIGHTS_API ListProblemsRequest()
void SetEndTime(const Aws::Utils::DateTime &value)
ListProblemsRequest & WithAccountId(const char *value)
ListProblemsRequest & WithNextToken(Aws::String &&value)
ListProblemsRequest & WithVisibility(const Visibility &value)
const Aws::Utils::DateTime & GetStartTime() const
ListProblemsRequest & WithResourceGroupName(Aws::String &&value)
ListProblemsRequest & WithEndTime(Aws::Utils::DateTime &&value)
ListProblemsRequest & WithAccountId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListProblemsRequest & WithNextToken(const char *value)
ListProblemsRequest & WithNextToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String