AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
GetInsightImpactGraphRequest.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 GetInsightImpactGraphRequest() = 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 "GetInsightImpactGraph"; }
29
30 AWS_XRAY_API Aws::String SerializePayload() const override;
31
33
37 inline const Aws::String& GetInsightId() const { return m_insightId; }
38 inline bool InsightIdHasBeenSet() const { return m_insightIdHasBeenSet; }
39 template <typename InsightIdT = Aws::String>
40 void SetInsightId(InsightIdT&& value) {
41 m_insightIdHasBeenSet = true;
42 m_insightId = std::forward<InsightIdT>(value);
43 }
44 template <typename InsightIdT = Aws::String>
46 SetInsightId(std::forward<InsightIdT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
57 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
58 template <typename StartTimeT = Aws::Utils::DateTime>
59 void SetStartTime(StartTimeT&& value) {
60 m_startTimeHasBeenSet = true;
61 m_startTime = std::forward<StartTimeT>(value);
62 }
63 template <typename StartTimeT = Aws::Utils::DateTime>
65 SetStartTime(std::forward<StartTimeT>(value));
66 return *this;
67 }
69
71
76 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
77 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
78 template <typename EndTimeT = Aws::Utils::DateTime>
79 void SetEndTime(EndTimeT&& value) {
80 m_endTimeHasBeenSet = true;
81 m_endTime = std::forward<EndTimeT>(value);
82 }
83 template <typename EndTimeT = Aws::Utils::DateTime>
85 SetEndTime(std::forward<EndTimeT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::String& GetNextToken() const { return m_nextToken; }
96 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
97 template <typename NextTokenT = Aws::String>
98 void SetNextToken(NextTokenT&& value) {
99 m_nextTokenHasBeenSet = true;
100 m_nextToken = std::forward<NextTokenT>(value);
101 }
102 template <typename NextTokenT = Aws::String>
104 SetNextToken(std::forward<NextTokenT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_insightId;
110 bool m_insightIdHasBeenSet = false;
111
112 Aws::Utils::DateTime m_startTime{};
113 bool m_startTimeHasBeenSet = false;
114
115 Aws::Utils::DateTime m_endTime{};
116 bool m_endTimeHasBeenSet = false;
117
118 Aws::String m_nextToken;
119 bool m_nextTokenHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace XRay
124} // namespace Aws
GetInsightImpactGraphRequest & WithStartTime(StartTimeT &&value)
GetInsightImpactGraphRequest & WithNextToken(NextTokenT &&value)
GetInsightImpactGraphRequest & WithInsightId(InsightIdT &&value)
AWS_XRAY_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
GetInsightImpactGraphRequest & WithEndTime(EndTimeT &&value)
AWS_XRAY_API GetInsightImpactGraphRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String