AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetServiceGraphRequest.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace XRay
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_XRAY_API GetServiceGraphRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetServiceGraph"; }
32
33 AWS_XRAY_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
41 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
42 template<typename StartTimeT = Aws::Utils::DateTime>
43 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
44 template<typename StartTimeT = Aws::Utils::DateTime>
45 GetServiceGraphRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
47
49
52 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
53 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
54 template<typename EndTimeT = Aws::Utils::DateTime>
55 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
56 template<typename EndTimeT = Aws::Utils::DateTime>
57 GetServiceGraphRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
59
61
64 inline const Aws::String& GetGroupName() const { return m_groupName; }
65 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
66 template<typename GroupNameT = Aws::String>
67 void SetGroupName(GroupNameT&& value) { m_groupNameHasBeenSet = true; m_groupName = std::forward<GroupNameT>(value); }
68 template<typename GroupNameT = Aws::String>
69 GetServiceGraphRequest& WithGroupName(GroupNameT&& value) { SetGroupName(std::forward<GroupNameT>(value)); return *this;}
71
73
77 inline const Aws::String& GetGroupARN() const { return m_groupARN; }
78 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
79 template<typename GroupARNT = Aws::String>
80 void SetGroupARN(GroupARNT&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::forward<GroupARNT>(value); }
81 template<typename GroupARNT = Aws::String>
82 GetServiceGraphRequest& WithGroupARN(GroupARNT&& value) { SetGroupARN(std::forward<GroupARNT>(value)); return *this;}
84
86
89 inline const Aws::String& GetNextToken() const { return m_nextToken; }
90 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
91 template<typename NextTokenT = Aws::String>
92 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
93 template<typename NextTokenT = Aws::String>
94 GetServiceGraphRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
96 private:
97
98 Aws::Utils::DateTime m_startTime{};
99 bool m_startTimeHasBeenSet = false;
100
101 Aws::Utils::DateTime m_endTime{};
102 bool m_endTimeHasBeenSet = false;
103
104 Aws::String m_groupName;
105 bool m_groupNameHasBeenSet = false;
106
107 Aws::String m_groupARN;
108 bool m_groupARNHasBeenSet = false;
109
110 Aws::String m_nextToken;
111 bool m_nextTokenHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace XRay
116} // 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