AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename StartTimeT = Aws::Utils::DateTime>
52 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
53 template<typename StartTimeT = Aws::Utils::DateTime>
54 ListServicesRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(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 template<typename EndTimeT = Aws::Utils::DateTime>
67 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
68 template<typename EndTimeT = Aws::Utils::DateTime>
69 ListServicesRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(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 template<typename NextTokenT = Aws::String>
91 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
92 template<typename NextTokenT = Aws::String>
93 ListServicesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
95
97
102 inline bool GetIncludeLinkedAccounts() const { return m_includeLinkedAccounts; }
103 inline bool IncludeLinkedAccountsHasBeenSet() const { return m_includeLinkedAccountsHasBeenSet; }
104 inline void SetIncludeLinkedAccounts(bool value) { m_includeLinkedAccountsHasBeenSet = true; m_includeLinkedAccounts = value; }
105 inline ListServicesRequest& WithIncludeLinkedAccounts(bool value) { SetIncludeLinkedAccounts(value); return *this;}
107
109
112 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
113 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
114 template<typename AwsAccountIdT = Aws::String>
115 void SetAwsAccountId(AwsAccountIdT&& value) { m_awsAccountIdHasBeenSet = true; m_awsAccountId = std::forward<AwsAccountIdT>(value); }
116 template<typename AwsAccountIdT = Aws::String>
117 ListServicesRequest& WithAwsAccountId(AwsAccountIdT&& value) { SetAwsAccountId(std::forward<AwsAccountIdT>(value)); return *this;}
119 private:
120
121 Aws::Utils::DateTime m_startTime{};
122 bool m_startTimeHasBeenSet = false;
123
124 Aws::Utils::DateTime m_endTime{};
125 bool m_endTimeHasBeenSet = false;
126
127 int m_maxResults{0};
128 bool m_maxResultsHasBeenSet = false;
129
130 Aws::String m_nextToken;
131 bool m_nextTokenHasBeenSet = false;
132
133 bool m_includeLinkedAccounts{false};
134 bool m_includeLinkedAccountsHasBeenSet = false;
135
136 Aws::String m_awsAccountId;
137 bool m_awsAccountIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace ApplicationSignals
142} // namespace Aws
ListServicesRequest & WithEndTime(EndTimeT &&value)
AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override
AWS_APPLICATIONSIGNALS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::Utils::DateTime & GetStartTime() const
ListServicesRequest & WithStartTime(StartTimeT &&value)
ListServicesRequest & WithIncludeLinkedAccounts(bool value)
const Aws::Utils::DateTime & GetEndTime() const
ListServicesRequest & WithAwsAccountId(AwsAccountIdT &&value)
ListServicesRequest & WithNextToken(NextTokenT &&value)
AWS_APPLICATIONSIGNALS_API ListServicesRequest()=default
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String