AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetInsightImpactGraphRequest.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace XRay
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_XRAY_API GetInsightImpactGraphRequest() = 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 "GetInsightImpactGraph"; }
32
33 AWS_XRAY_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetInsightId() const { return m_insightId; }
42 inline bool InsightIdHasBeenSet() const { return m_insightIdHasBeenSet; }
43 template<typename InsightIdT = Aws::String>
44 void SetInsightId(InsightIdT&& value) { m_insightIdHasBeenSet = true; m_insightId = std::forward<InsightIdT>(value); }
45 template<typename InsightIdT = Aws::String>
46 GetInsightImpactGraphRequest& WithInsightId(InsightIdT&& value) { SetInsightId(std::forward<InsightIdT>(value)); return *this;}
48
50
54 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
55 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
56 template<typename StartTimeT = Aws::Utils::DateTime>
57 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
58 template<typename StartTimeT = Aws::Utils::DateTime>
59 GetInsightImpactGraphRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
61
63
68 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
69 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
70 template<typename EndTimeT = Aws::Utils::DateTime>
71 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
72 template<typename EndTimeT = Aws::Utils::DateTime>
73 GetInsightImpactGraphRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
75
77
81 inline const Aws::String& GetNextToken() const { return m_nextToken; }
82 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
83 template<typename NextTokenT = Aws::String>
84 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
85 template<typename NextTokenT = Aws::String>
86 GetInsightImpactGraphRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
88 private:
89
90 Aws::String m_insightId;
91 bool m_insightIdHasBeenSet = false;
92
93 Aws::Utils::DateTime m_startTime{};
94 bool m_startTimeHasBeenSet = false;
95
96 Aws::Utils::DateTime m_endTime{};
97 bool m_endTimeHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace XRay
105} // 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