AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListServicesRequest.h
1
6#pragma once
7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/ApplicationSignalsRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace ApplicationSignals
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_APPLICATIONSIGNALS_API ListServicesRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListServices"; }
36
37 AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override;
38
39 AWS_APPLICATIONSIGNALS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
49 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
50 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
51 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
52 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
53 inline ListServicesRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
54 inline ListServicesRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
56
58
64 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
65 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
66 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
67 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
68 inline ListServicesRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
69 inline ListServicesRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
71
73
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListServicesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82
84
88 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
90 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
91 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
92 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
93 inline ListServicesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
94 inline ListServicesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
95 inline ListServicesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
97 private:
98
99 Aws::Utils::DateTime m_startTime;
100 bool m_startTimeHasBeenSet = false;
101
102 Aws::Utils::DateTime m_endTime;
103 bool m_endTimeHasBeenSet = false;
104
105 int m_maxResults;
106 bool m_maxResultsHasBeenSet = false;
107
108 Aws::String m_nextToken;
109 bool m_nextTokenHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace ApplicationSignals
114} // namespace Aws
ListServicesRequest & WithNextToken(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override
ListServicesRequest & WithNextToken(const char *value)
AWS_APPLICATIONSIGNALS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListServicesRequest & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStartTime() const
AWS_APPLICATIONSIGNALS_API ListServicesRequest()
ListServicesRequest & WithEndTime(const Aws::Utils::DateTime &value)
ListServicesRequest & WithStartTime(const Aws::Utils::DateTime &value)
void SetEndTime(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetEndTime() const
ListServicesRequest & WithEndTime(Aws::Utils::DateTime &&value)
ListServicesRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String