AWS SDK for C++  1.9.126
AWS SDK for C++
ListConfigurationHistoryRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace ApplicationInsights
17 {
18 namespace Model
19 {
20 
24  {
25  public:
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 "ListConfigurationHistory"; }
33 
34  Aws::String SerializePayload() const override;
35 
37 
38 
42  inline const Aws::String& GetResourceGroupName() const{ return m_resourceGroupName; }
43 
47  inline bool ResourceGroupNameHasBeenSet() const { return m_resourceGroupNameHasBeenSet; }
48 
52  inline void SetResourceGroupName(const Aws::String& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = value; }
53 
57  inline void SetResourceGroupName(Aws::String&& value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName = std::move(value); }
58 
62  inline void SetResourceGroupName(const char* value) { m_resourceGroupNameHasBeenSet = true; m_resourceGroupName.assign(value); }
63 
67  inline ListConfigurationHistoryRequest& WithResourceGroupName(const Aws::String& value) { SetResourceGroupName(value); return *this;}
68 
72  inline ListConfigurationHistoryRequest& WithResourceGroupName(Aws::String&& value) { SetResourceGroupName(std::move(value)); return *this;}
73 
77  inline ListConfigurationHistoryRequest& WithResourceGroupName(const char* value) { SetResourceGroupName(value); return *this;}
78 
79 
83  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
84 
88  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
89 
93  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
94 
98  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
99 
103  inline ListConfigurationHistoryRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
104 
108  inline ListConfigurationHistoryRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
109 
110 
114  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
115 
119  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
120 
124  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
125 
129  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
130 
134  inline ListConfigurationHistoryRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
135 
139  inline ListConfigurationHistoryRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
140 
141 
146  inline const ConfigurationEventStatus& GetEventStatus() const{ return m_eventStatus; }
147 
152  inline bool EventStatusHasBeenSet() const { return m_eventStatusHasBeenSet; }
153 
158  inline void SetEventStatus(const ConfigurationEventStatus& value) { m_eventStatusHasBeenSet = true; m_eventStatus = value; }
159 
164  inline void SetEventStatus(ConfigurationEventStatus&& value) { m_eventStatusHasBeenSet = true; m_eventStatus = std::move(value); }
165 
170  inline ListConfigurationHistoryRequest& WithEventStatus(const ConfigurationEventStatus& value) { SetEventStatus(value); return *this;}
171 
176  inline ListConfigurationHistoryRequest& WithEventStatus(ConfigurationEventStatus&& value) { SetEventStatus(std::move(value)); return *this;}
177 
178 
189  inline int GetMaxResults() const{ return m_maxResults; }
190 
201  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
202 
213  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
214 
225  inline ListConfigurationHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
226 
227 
236  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
237 
246  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
247 
256  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
257 
266  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
267 
276  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
277 
286  inline ListConfigurationHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
287 
296  inline ListConfigurationHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
297 
306  inline ListConfigurationHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
307 
308  private:
309 
310  Aws::String m_resourceGroupName;
311  bool m_resourceGroupNameHasBeenSet;
312 
313  Aws::Utils::DateTime m_startTime;
314  bool m_startTimeHasBeenSet;
315 
316  Aws::Utils::DateTime m_endTime;
317  bool m_endTimeHasBeenSet;
318 
319  ConfigurationEventStatus m_eventStatus;
320  bool m_eventStatusHasBeenSet;
321 
322  int m_maxResults;
323  bool m_maxResultsHasBeenSet;
324 
325  Aws::String m_nextToken;
326  bool m_nextTokenHasBeenSet;
327  };
328 
329 } // namespace Model
330 } // namespace ApplicationInsights
331 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithNextToken
ListConfigurationHistoryRequest & WithNextToken(const Aws::String &value)
Definition: ListConfigurationHistoryRequest.h:286
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::GetResourceGroupName
const Aws::String & GetResourceGroupName() const
Definition: ListConfigurationHistoryRequest.h:42
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: ListConfigurationHistoryRequest.h:119
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetEventStatus
void SetEventStatus(ConfigurationEventStatus &&value)
Definition: ListConfigurationHistoryRequest.h:164
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithMaxResults
ListConfigurationHistoryRequest & WithMaxResults(int value)
Definition: ListConfigurationHistoryRequest.h:225
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListConfigurationHistoryRequest.h:266
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: ListConfigurationHistoryRequest.h:114
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::GetMaxResults
int GetMaxResults() const
Definition: ListConfigurationHistoryRequest.h:189
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ListConfigurationHistoryRequest.h:83
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithStartTime
ListConfigurationHistoryRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ListConfigurationHistoryRequest.h:103
DateTime.h
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetResourceGroupName
void SetResourceGroupName(const char *value)
Definition: ListConfigurationHistoryRequest.h:62
ConfigurationEventStatus.h
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetResourceGroupName
void SetResourceGroupName(Aws::String &&value)
Definition: ListConfigurationHistoryRequest.h:57
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::EventStatusHasBeenSet
bool EventStatusHasBeenSet() const
Definition: ListConfigurationHistoryRequest.h:152
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ListConfigurationHistoryRequest.h:98
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithEndTime
ListConfigurationHistoryRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: ListConfigurationHistoryRequest.h:134
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithResourceGroupName
ListConfigurationHistoryRequest & WithResourceGroupName(Aws::String &&value)
Definition: ListConfigurationHistoryRequest.h:72
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListConfigurationHistoryRequest.h:256
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithNextToken
ListConfigurationHistoryRequest & WithNextToken(const char *value)
Definition: ListConfigurationHistoryRequest.h:306
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetEventStatus
void SetEventStatus(const ConfigurationEventStatus &value)
Definition: ListConfigurationHistoryRequest.h:158
Aws::ApplicationInsights::ApplicationInsightsRequest
Definition: ApplicationInsightsRequest.h:17
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest
Definition: ListConfigurationHistoryRequest.h:24
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithNextToken
ListConfigurationHistoryRequest & WithNextToken(Aws::String &&value)
Definition: ListConfigurationHistoryRequest.h:296
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetResourceGroupName
void SetResourceGroupName(const Aws::String &value)
Definition: ListConfigurationHistoryRequest.h:52
AWS_APPLICATIONINSIGHTS_API
#define AWS_APPLICATIONINSIGHTS_API
Definition: ApplicationInsights_EXPORTS.h:28
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: ListConfigurationHistoryRequest.h:124
ApplicationInsightsRequest.h
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithResourceGroupName
ListConfigurationHistoryRequest & WithResourceGroupName(const Aws::String &value)
Definition: ListConfigurationHistoryRequest.h:67
AWSString.h
Aws::ApplicationInsights::Model::ConfigurationEventStatus
ConfigurationEventStatus
Definition: ConfigurationEventStatus.h:17
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithStartTime
ListConfigurationHistoryRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ListConfigurationHistoryRequest.h:108
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::ResourceGroupNameHasBeenSet
bool ResourceGroupNameHasBeenSet() const
Definition: ListConfigurationHistoryRequest.h:47
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ListConfigurationHistoryRequest.h:88
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: ListConfigurationHistoryRequest.h:129
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::GetEventStatus
const ConfigurationEventStatus & GetEventStatus() const
Definition: ListConfigurationHistoryRequest.h:146
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithResourceGroupName
ListConfigurationHistoryRequest & WithResourceGroupName(const char *value)
Definition: ListConfigurationHistoryRequest.h:77
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListConfigurationHistoryRequest.h:246
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithEndTime
ListConfigurationHistoryRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: ListConfigurationHistoryRequest.h:139
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithEventStatus
ListConfigurationHistoryRequest & WithEventStatus(const ConfigurationEventStatus &value)
Definition: ListConfigurationHistoryRequest.h:170
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws
Definition: AccessManagementClient.h:15
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::WithEventStatus
ListConfigurationHistoryRequest & WithEventStatus(ConfigurationEventStatus &&value)
Definition: ListConfigurationHistoryRequest.h:176
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListConfigurationHistoryRequest.h:276
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListConfigurationHistoryRequest.h:201
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ListConfigurationHistoryRequest.h:93
ApplicationInsights_EXPORTS.h
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListConfigurationHistoryRequest.h:213
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListConfigurationHistoryRequest.h:236
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::ListConfigurationHistoryRequest
ListConfigurationHistoryRequest()
Aws::ApplicationInsights::Model::ListConfigurationHistoryRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListConfigurationHistoryRequest.h:32