AWS SDK for C++

AWS SDK for C++ Version 1.11.899

Loading...
Searching...
No Matches
GetContextGraphRequest.h
1
6#pragma once
7#include <aws/cloudwatchomni/CloudWatchOmniRequest.h>
8#include <aws/cloudwatchomni/CloudWatchOmni_EXPORTS.h>
9#include <aws/cloudwatchomni/model/EdgeFilters.h>
10#include <aws/cloudwatchomni/model/NodeFilters.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13
14#include <utility>
15
16namespace Aws {
17namespace CloudWatchOmni {
18namespace Model {
19
27 public:
28 AWS_CLOUDWATCHOMNI_API GetContextGraphRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetContextGraph"; }
35
36 AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override;
37
38 AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
41
44 inline const NodeFilters& GetNodeFilters() const { return m_nodeFilters; }
45 inline bool NodeFiltersHasBeenSet() const { return m_nodeFiltersHasBeenSet; }
46 template <typename NodeFiltersT = NodeFilters>
47 void SetNodeFilters(NodeFiltersT&& value) {
48 m_nodeFiltersHasBeenSet = true;
49 m_nodeFilters = std::forward<NodeFiltersT>(value);
50 }
51 template <typename NodeFiltersT = NodeFilters>
52 GetContextGraphRequest& WithNodeFilters(NodeFiltersT&& value) {
53 SetNodeFilters(std::forward<NodeFiltersT>(value));
54 return *this;
55 }
57
59
62 inline const EdgeFilters& GetEdgeFilters() const { return m_edgeFilters; }
63 inline bool EdgeFiltersHasBeenSet() const { return m_edgeFiltersHasBeenSet; }
64 template <typename EdgeFiltersT = EdgeFilters>
65 void SetEdgeFilters(EdgeFiltersT&& value) {
66 m_edgeFiltersHasBeenSet = true;
67 m_edgeFilters = std::forward<EdgeFiltersT>(value);
68 }
69 template <typename EdgeFiltersT = EdgeFilters>
70 GetContextGraphRequest& WithEdgeFilters(EdgeFiltersT&& value) {
71 SetEdgeFilters(std::forward<EdgeFiltersT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
81 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
82 template <typename StartTimeT = Aws::Utils::DateTime>
83 void SetStartTime(StartTimeT&& value) {
84 m_startTimeHasBeenSet = true;
85 m_startTime = std::forward<StartTimeT>(value);
86 }
87 template <typename StartTimeT = Aws::Utils::DateTime>
89 SetStartTime(std::forward<StartTimeT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
99 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
100 template <typename EndTimeT = Aws::Utils::DateTime>
101 void SetEndTime(EndTimeT&& value) {
102 m_endTimeHasBeenSet = true;
103 m_endTime = std::forward<EndTimeT>(value);
104 }
105 template <typename EndTimeT = Aws::Utils::DateTime>
107 SetEndTime(std::forward<EndTimeT>(value));
108 return *this;
109 }
111
113
117 inline int GetDepth() const { return m_depth; }
118 inline bool DepthHasBeenSet() const { return m_depthHasBeenSet; }
119 inline void SetDepth(int value) {
120 m_depthHasBeenSet = true;
121 m_depth = value;
122 }
124 SetDepth(value);
125 return *this;
126 }
128
130
133 inline int GetMaxResults() const { return m_maxResults; }
134 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
135 inline void SetMaxResults(int value) {
136 m_maxResultsHasBeenSet = true;
137 m_maxResults = value;
138 }
140 SetMaxResults(value);
141 return *this;
142 }
144
146
150 inline int GetMaxEdgesPerNode() const { return m_maxEdgesPerNode; }
151 inline bool MaxEdgesPerNodeHasBeenSet() const { return m_maxEdgesPerNodeHasBeenSet; }
152 inline void SetMaxEdgesPerNode(int value) {
153 m_maxEdgesPerNodeHasBeenSet = true;
154 m_maxEdgesPerNode = value;
155 }
157 SetMaxEdgesPerNode(value);
158 return *this;
159 }
161
163
167 inline bool GetIncludeMetadata() const { return m_includeMetadata; }
168 inline bool IncludeMetadataHasBeenSet() const { return m_includeMetadataHasBeenSet; }
169 inline void SetIncludeMetadata(bool value) {
170 m_includeMetadataHasBeenSet = true;
171 m_includeMetadata = value;
172 }
174 SetIncludeMetadata(value);
175 return *this;
176 }
178
180
183 inline const Aws::String& GetNextToken() const { return m_nextToken; }
184 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
185 template <typename NextTokenT = Aws::String>
186 void SetNextToken(NextTokenT&& value) {
187 m_nextTokenHasBeenSet = true;
188 m_nextToken = std::forward<NextTokenT>(value);
189 }
190 template <typename NextTokenT = Aws::String>
192 SetNextToken(std::forward<NextTokenT>(value));
193 return *this;
194 }
196 private:
197 NodeFilters m_nodeFilters;
198
199 EdgeFilters m_edgeFilters;
200
201 Aws::Utils::DateTime m_startTime{};
202
203 Aws::Utils::DateTime m_endTime{};
204
205 int m_depth{0};
206
207 int m_maxResults{0};
208
209 int m_maxEdgesPerNode{0};
210
211 bool m_includeMetadata{false};
212
213 Aws::String m_nextToken;
214 bool m_nodeFiltersHasBeenSet = false;
215 bool m_edgeFiltersHasBeenSet = false;
216 bool m_startTimeHasBeenSet = false;
217 bool m_endTimeHasBeenSet = false;
218 bool m_depthHasBeenSet = false;
219 bool m_maxResultsHasBeenSet = false;
220 bool m_maxEdgesPerNodeHasBeenSet = false;
221 bool m_includeMetadataHasBeenSet = false;
222 bool m_nextTokenHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace CloudWatchOmni
227} // namespace Aws
GetContextGraphRequest & WithNodeFilters(NodeFiltersT &&value)
virtual const char * GetServiceRequestName() const override
GetContextGraphRequest & WithIncludeMetadata(bool value)
AWS_CLOUDWATCHOMNI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetContextGraphRequest & WithNextToken(NextTokenT &&value)
GetContextGraphRequest & WithStartTime(StartTimeT &&value)
GetContextGraphRequest & WithEdgeFilters(EdgeFiltersT &&value)
GetContextGraphRequest & WithEndTime(EndTimeT &&value)
AWS_CLOUDWATCHOMNI_API Aws::String SerializePayload() const override
GetContextGraphRequest & WithMaxEdgesPerNode(int value)
AWS_CLOUDWATCHOMNI_API GetContextGraphRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String