AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
53 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
55 inline ListServiceDependenciesRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(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 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
68 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
69 inline ListServiceDependenciesRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
70 inline ListServiceDependenciesRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(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 inline void SetKeyAttributes(const Aws::Map<Aws::String, Aws::String>& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes = value; }
95 inline void SetKeyAttributes(Aws::Map<Aws::String, Aws::String>&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes = std::move(value); }
98 inline ListServiceDependenciesRequest& AddKeyAttributes(const Aws::String& key, const Aws::String& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(key, value); return *this; }
99 inline ListServiceDependenciesRequest& AddKeyAttributes(Aws::String&& key, const Aws::String& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(std::move(key), value); return *this; }
100 inline ListServiceDependenciesRequest& AddKeyAttributes(const Aws::String& key, Aws::String&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(key, std::move(value)); return *this; }
101 inline ListServiceDependenciesRequest& AddKeyAttributes(Aws::String&& key, Aws::String&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(std::move(key), std::move(value)); return *this; }
102 inline ListServiceDependenciesRequest& AddKeyAttributes(const char* key, Aws::String&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(key, std::move(value)); return *this; }
103 inline ListServiceDependenciesRequest& AddKeyAttributes(Aws::String&& key, const char* value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(std::move(key), value); return *this; }
104 inline ListServiceDependenciesRequest& AddKeyAttributes(const char* key, const char* value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(key, value); return *this; }
106
108
112 inline int GetMaxResults() const{ return m_maxResults; }
113 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
114 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
115 inline ListServiceDependenciesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
117
119
123 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
124 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
125 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
126 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
127 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
128 inline ListServiceDependenciesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 inline ListServiceDependenciesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
130 inline ListServiceDependenciesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
132 private:
133
134 Aws::Utils::DateTime m_startTime;
135 bool m_startTimeHasBeenSet = false;
136
137 Aws::Utils::DateTime m_endTime;
138 bool m_endTimeHasBeenSet = false;
139
141 bool m_keyAttributesHasBeenSet = false;
142
143 int m_maxResults;
144 bool m_maxResultsHasBeenSet = false;
145
146 Aws::String m_nextToken;
147 bool m_nextTokenHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace ApplicationSignals
152} // namespace Aws
ListServiceDependenciesRequest & AddKeyAttributes(const char *key, const char *value)
ListServiceDependenciesRequest & WithStartTime(const Aws::Utils::DateTime &value)
AWS_APPLICATIONSIGNALS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListServiceDependenciesRequest & AddKeyAttributes(const Aws::String &key, Aws::String &&value)
ListServiceDependenciesRequest & AddKeyAttributes(Aws::String &&key, const char *value)
ListServiceDependenciesRequest & WithKeyAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ListServiceDependenciesRequest & AddKeyAttributes(const Aws::String &key, const Aws::String &value)
ListServiceDependenciesRequest & AddKeyAttributes(Aws::String &&key, const Aws::String &value)
void SetKeyAttributes(Aws::Map< Aws::String, Aws::String > &&value)
AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override
ListServiceDependenciesRequest & WithEndTime(Aws::Utils::DateTime &&value)
ListServiceDependenciesRequest & AddKeyAttributes(const char *key, Aws::String &&value)
ListServiceDependenciesRequest & WithKeyAttributes(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
ListServiceDependenciesRequest & AddKeyAttributes(Aws::String &&key, Aws::String &&value)
ListServiceDependenciesRequest & WithStartTime(Aws::Utils::DateTime &&value)
ListServiceDependenciesRequest & WithEndTime(const Aws::Utils::DateTime &value)
ListServiceDependenciesRequest & WithNextToken(Aws::String &&value)
ListServiceDependenciesRequest & WithNextToken(const Aws::String &value)
void SetKeyAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ListServiceDependenciesRequest & WithNextToken(const char *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