AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListServiceDependentsRequest.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 ListServiceDependentsRequest();
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 "ListServiceDependents"; }
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); }
54 inline ListServiceDependentsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
55 inline ListServiceDependentsRequest& 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 ListServiceDependentsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
70 inline ListServiceDependentsRequest& 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 ListServiceDependentsRequest& AddKeyAttributes(const Aws::String& key, const Aws::String& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(key, value); return *this; }
99 inline ListServiceDependentsRequest& AddKeyAttributes(Aws::String&& key, const Aws::String& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(std::move(key), value); return *this; }
100 inline ListServiceDependentsRequest& AddKeyAttributes(const Aws::String& key, Aws::String&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(key, std::move(value)); return *this; }
101 inline ListServiceDependentsRequest& AddKeyAttributes(Aws::String&& key, Aws::String&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(std::move(key), std::move(value)); return *this; }
102 inline ListServiceDependentsRequest& AddKeyAttributes(const char* key, Aws::String&& value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(key, std::move(value)); return *this; }
103 inline ListServiceDependentsRequest& AddKeyAttributes(Aws::String&& key, const char* value) { m_keyAttributesHasBeenSet = true; m_keyAttributes.emplace(std::move(key), value); return *this; }
104 inline ListServiceDependentsRequest& 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 ListServiceDependentsRequest& 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 ListServiceDependentsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 inline ListServiceDependentsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
130 inline ListServiceDependentsRequest& 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
AWS_APPLICATIONSIGNALS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListServiceDependentsRequest & WithKeyAttributes(Aws::Map< Aws::String, Aws::String > &&value)
ListServiceDependentsRequest & AddKeyAttributes(const Aws::String &key, Aws::String &&value)
ListServiceDependentsRequest & AddKeyAttributes(Aws::String &&key, const Aws::String &value)
ListServiceDependentsRequest & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Map< Aws::String, Aws::String > & GetKeyAttributes() const
ListServiceDependentsRequest & AddKeyAttributes(const Aws::String &key, const Aws::String &value)
ListServiceDependentsRequest & WithKeyAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ListServiceDependentsRequest & AddKeyAttributes(const char *key, Aws::String &&value)
ListServiceDependentsRequest & WithStartTime(const Aws::Utils::DateTime &value)
void SetKeyAttributes(Aws::Map< Aws::String, Aws::String > &&value)
ListServiceDependentsRequest & WithEndTime(Aws::Utils::DateTime &&value)
ListServiceDependentsRequest & WithNextToken(const Aws::String &value)
ListServiceDependentsRequest & WithNextToken(Aws::String &&value)
ListServiceDependentsRequest & AddKeyAttributes(const char *key, const char *value)
ListServiceDependentsRequest & AddKeyAttributes(Aws::String &&key, const char *value)
ListServiceDependentsRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetKeyAttributes(const Aws::Map< Aws::String, Aws::String > &value)
ListServiceDependentsRequest & AddKeyAttributes(Aws::String &&key, Aws::String &&value)
AWS_APPLICATIONSIGNALS_API Aws::String SerializePayload() const override
ListServiceDependentsRequest & 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