AWS SDK for C++

AWS SDK for C++ Version 1.11.677

Loading...
Searching...
No Matches
GetServiceGraphRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/xray/XRayRequest.h>
10#include <aws/xray/XRay_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace XRay {
16namespace Model {
17
21 public:
22 AWS_XRAY_API GetServiceGraphRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetServiceGraph"; }
29
30 AWS_XRAY_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
37 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
38 template <typename StartTimeT = Aws::Utils::DateTime>
39 void SetStartTime(StartTimeT&& value) {
40 m_startTimeHasBeenSet = true;
41 m_startTime = std::forward<StartTimeT>(value);
42 }
43 template <typename StartTimeT = Aws::Utils::DateTime>
45 SetStartTime(std::forward<StartTimeT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
55 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
56 template <typename EndTimeT = Aws::Utils::DateTime>
57 void SetEndTime(EndTimeT&& value) {
58 m_endTimeHasBeenSet = true;
59 m_endTime = std::forward<EndTimeT>(value);
60 }
61 template <typename EndTimeT = Aws::Utils::DateTime>
63 SetEndTime(std::forward<EndTimeT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetGroupName() const { return m_groupName; }
73 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
74 template <typename GroupNameT = Aws::String>
75 void SetGroupName(GroupNameT&& value) {
76 m_groupNameHasBeenSet = true;
77 m_groupName = std::forward<GroupNameT>(value);
78 }
79 template <typename GroupNameT = Aws::String>
81 SetGroupName(std::forward<GroupNameT>(value));
82 return *this;
83 }
85
87
91 inline const Aws::String& GetGroupARN() const { return m_groupARN; }
92 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
93 template <typename GroupARNT = Aws::String>
94 void SetGroupARN(GroupARNT&& value) {
95 m_groupARNHasBeenSet = true;
96 m_groupARN = std::forward<GroupARNT>(value);
97 }
98 template <typename GroupARNT = Aws::String>
100 SetGroupARN(std::forward<GroupARNT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetNextToken() const { return m_nextToken; }
110 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
111 template <typename NextTokenT = Aws::String>
112 void SetNextToken(NextTokenT&& value) {
113 m_nextTokenHasBeenSet = true;
114 m_nextToken = std::forward<NextTokenT>(value);
115 }
116 template <typename NextTokenT = Aws::String>
118 SetNextToken(std::forward<NextTokenT>(value));
119 return *this;
120 }
122 private:
123 Aws::Utils::DateTime m_startTime{};
124 bool m_startTimeHasBeenSet = false;
125
126 Aws::Utils::DateTime m_endTime{};
127 bool m_endTimeHasBeenSet = false;
128
129 Aws::String m_groupName;
130 bool m_groupNameHasBeenSet = false;
131
132 Aws::String m_groupARN;
133 bool m_groupARNHasBeenSet = false;
134
135 Aws::String m_nextToken;
136 bool m_nextTokenHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace XRay
141} // namespace Aws
GetServiceGraphRequest & WithGroupName(GroupNameT &&value)
GetServiceGraphRequest & WithEndTime(EndTimeT &&value)
GetServiceGraphRequest & WithGroupARN(GroupARNT &&value)
GetServiceGraphRequest & WithStartTime(StartTimeT &&value)
GetServiceGraphRequest & WithNextToken(NextTokenT &&value)
const Aws::Utils::DateTime & GetEndTime() const
virtual const char * GetServiceRequestName() const override
const Aws::Utils::DateTime & GetStartTime() const
AWS_XRAY_API GetServiceGraphRequest()=default
AWS_XRAY_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String