AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListServiceDependenciesRequest.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/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace ApplicationSignals
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_APPLICATIONSIGNALS_API ListServiceDependenciesRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListServiceDependencies"; }
37
38 AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override;
39
40 AWS_APPLICATIONSIGNALS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
50 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
51 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
52 template<typename StartTimeT = Aws::Utils::DateTime>
53 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
54 template<typename StartTimeT = Aws::Utils::DateTime>
55 ListServiceDependenciesRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
57
59
65 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
66 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
67 template<typename EndTimeT = Aws::Utils::DateTime>
68 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
69 template<typename EndTimeT = Aws::Utils::DateTime>
70 ListServiceDependenciesRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
72
74
92 inline const Aws::Map<Aws::String, Aws::String>& GetKeyAttributes() const { return m_keyAttributes; }
93 inline bool KeyAttributesHasBeenSet() const { return m_keyAttributesHasBeenSet; }
94 template<typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
95 void SetKeyAttributes(KeyAttributesT&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes = std::forward<KeyAttributesT>(value); }
96 template<typename KeyAttributesT = Aws::Map<Aws::String, Aws::String>>
97 ListServiceDependenciesRequest& WithKeyAttributes(KeyAttributesT&& value) { SetKeyAttributes(std::forward<KeyAttributesT>(value)); return *this;}
98 template<typename KeyAttributesKeyT = Aws::String, typename KeyAttributesValueT = Aws::String>
99 ListServiceDependenciesRequest& AddKeyAttributes(KeyAttributesKeyT&& key, KeyAttributesValueT&& value) {
100 m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(std::forward<KeyAttributesKeyT>(key), std::forward<KeyAttributesValueT>(value)); return *this;
101 }
103
105
109 inline int GetMaxResults() const { return m_maxResults; }
110 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
111 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
112 inline ListServiceDependenciesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
114
116
120 inline const Aws::String& GetNextToken() const { return m_nextToken; }
121 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
122 template<typename NextTokenT = Aws::String>
123 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
124 template<typename NextTokenT = Aws::String>
125 ListServiceDependenciesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
127 private:
128
129 Aws::Utils::DateTime m_startTime{};
130 bool m_startTimeHasBeenSet = false;
131
132 Aws::Utils::DateTime m_endTime{};
133 bool m_endTimeHasBeenSet = false;
134
136 bool m_keyAttributesHasBeenSet = false;
137
138 int m_maxResults{0};
139 bool m_maxResultsHasBeenSet = false;
140
141 Aws::String m_nextToken;
142 bool m_nextTokenHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace ApplicationSignals
147} // namespace Aws
ListServiceDependenciesRequest & WithKeyAttributes(KeyAttributesT &&value)
ListServiceDependenciesRequest & WithNextToken(NextTokenT &&value)
AWS_APPLICATIONSIGNALS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override
ListServiceDependenciesRequest & AddKeyAttributes(KeyAttributesKeyT &&key, KeyAttributesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
AWS_APPLICATIONSIGNALS_API ListServiceDependenciesRequest()=default
ListServiceDependenciesRequest & WithStartTime(StartTimeT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String