AWS SDK for C++  1.9.129
AWS SDK for C++
ListProblemsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ApplicationInsights
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "ListProblems"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
41  inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
42 
46  inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
47 
51  inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
52 
56  inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
57 
61  inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
62 
66  inline ListProblemsRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
67 
71  inline ListProblemsRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
72 
76  inline ListProblemsRequest& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
77 
78 
84  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
85 
91  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
92 
98  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
99 
105  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
106 
112  inline ListProblemsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
113 
119  inline ListProblemsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
120 
121 
126  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
127 
132  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
133 
138  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
139 
144  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
145 
150  inline ListProblemsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
151 
156  inline ListProblemsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
157 
158 
164  inline int GetMaxResults() const{ return m_maxResults; }
165 
171  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
172 
178  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
179 
185  inline ListProblemsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
186 
187 
191  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
192 
196  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
197 
201  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
202 
206  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
207 
211  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
212 
216  inline ListProblemsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
217 
221  inline ListProblemsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
222 
226  inline ListProblemsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
227 
228  private:
229 
230  Aws::String m_resourceGroupName;
231  bool m_resourceGroupNameHasBeenSet;
232 
233  Aws::Utils::DateTime m_startTime;
234  bool m_startTimeHasBeenSet;
235 
236  Aws::Utils::DateTime m_endTime;
237  bool m_endTimeHasBeenSet;
238 
239  int m_maxResults;
240  bool m_maxResultsHasBeenSet;
241 
242  Aws::String m_nextToken;
243  bool m_nextTokenHasBeenSet;
244  };
245 
246 } // namespace Model
247 } // namespace ApplicationInsights
248 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ApplicationInsights::Model::ListProblemsRequest::WithMaxResults
ListProblemsRequest & WithMaxResults(int value)
Definition: ListProblemsRequest.h:185
Aws::ApplicationInsights::Model::ListProblemsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListProblemsRequest.h:211
Aws::ApplicationInsights::Model::ListProblemsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationInsights::Model::ListProblemsRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: ListProblemsRequest.h:126
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationInsights::Model::ListProblemsRequest::WithStartTime
ListProblemsRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ListProblemsRequest.h:112
DateTime.h
Aws::ApplicationInsights::Model::ListProblemsRequest::WithEndTime
ListProblemsRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: ListProblemsRequest.h:150
Aws::ApplicationInsights::Model::ListProblemsRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: ListProblemsRequest.h:132
Aws::ApplicationInsights::Model::ListProblemsRequest::WithNextToken
ListProblemsRequest & WithNextToken(const char *value)
Definition: ListProblemsRequest.h:226
Aws::ApplicationInsights::Model::ListProblemsRequest::WithStartTime
ListProblemsRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ListProblemsRequest.h:119
Aws::ApplicationInsights::ApplicationInsightsRequest
Definition: ApplicationInsightsRequest.h:17
Aws::ApplicationInsights::Model::ListProblemsRequest::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: ListProblemsRequest.h:61
Aws::ApplicationInsights::Model::ListProblemsRequest::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: ListProblemsRequest.h:41
Aws::ApplicationInsights::Model::ListProblemsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListProblemsRequest.h:178
Aws::ApplicationInsights::Model::ListProblemsRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: ListProblemsRequest.h:138
Aws::ApplicationInsights::Model::ListProblemsRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ListProblemsRequest.h:91
Aws::ApplicationInsights::Model::ListProblemsRequest::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: ListProblemsRequest.h:51
Aws::ApplicationInsights::Model::ListProblemsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListProblemsRequest.h:206
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
ApplicationInsightsRequest.h
Aws::ApplicationInsights::Model::ListProblemsRequest::WithResourceGroupName
ListProblemsRequest & WithResourceGroupName(const char *value)
Definition: ListProblemsRequest.h:76
AWSString.h
Aws::ApplicationInsights::Model::ListProblemsRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ListProblemsRequest.h:84
Aws::ApplicationInsights::Model::ListProblemsRequest::WithResourceGroupName
ListProblemsRequest & WithResourceGroupName(const Aws::String &value)
Definition: ListProblemsRequest.h:66
Aws::ApplicationInsights::Model::ListProblemsRequest::ResourceGroupNameHasBeenSet
bool ResourceGroupNameHasBeenSet() const
Definition: ListProblemsRequest.h:46
Aws::ApplicationInsights::Model::ListProblemsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::ApplicationInsights::Model::ListProblemsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListProblemsRequest.h:201
Aws::ApplicationInsights::Model::ListProblemsRequest::WithNextToken
ListProblemsRequest & WithNextToken(const Aws::String &value)
Definition: ListProblemsRequest.h:216
Aws::ApplicationInsights::Model::ListProblemsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListProblemsRequest.h:164
Aws::ApplicationInsights::Model::ListProblemsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListProblemsRequest.h:191
Aws::ApplicationInsights::Model::ListProblemsRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ListProblemsRequest.h:105
Aws::ApplicationInsights::Model::ListProblemsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListProblemsRequest.h:31
Aws::ApplicationInsights::Model::ListProblemsRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ListProblemsRequest.h:98
Aws::ApplicationInsights::Model::ListProblemsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListProblemsRequest.h:196
Aws::ApplicationInsights::Model::ListProblemsRequest
Definition: ListProblemsRequest.h:23
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::ListProblemsRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: ListProblemsRequest.h:144
Aws::ApplicationInsights::Model::ListProblemsRequest::WithNextToken
ListProblemsRequest & WithNextToken(Aws::String &&value)
Definition: ListProblemsRequest.h:221
Aws::ApplicationInsights::Model::ListProblemsRequest::ListProblemsRequest
ListProblemsRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::ListProblemsRequest::WithResourceGroupName
ListProblemsRequest & WithResourceGroupName(Aws::String &&value)
Definition: ListProblemsRequest.h:71
Aws::ApplicationInsights::Model::ListProblemsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListProblemsRequest.h:171
ApplicationInsights_EXPORTS.h
Aws::ApplicationInsights::Model::ListProblemsRequest::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: ListProblemsRequest.h:56
Aws::ApplicationInsights::Model::ListProblemsRequest::WithEndTime
ListProblemsRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: ListProblemsRequest.h:156