1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
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 
13 namespace Aws
14 {
15 namespace XRay
16 {
17 namespace Model
18 {
19 
20   /**
21    */
22   class AWS_XRAY_API GetInsightImpactGraphRequest : public XRayRequest
23   {
24   public:
25     GetInsightImpactGraphRequest();
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.
GetServiceRequestName()31     inline virtual const char* GetServiceRequestName() const override { return "GetInsightImpactGraph"; }
32 
33     Aws::String SerializePayload() const override;
34 
35 
36     /**
37      * <p>The insight's unique identifier. Use the GetInsightSummaries action to
38      * retrieve an InsightId.</p>
39      */
GetInsightId()40     inline const Aws::String& GetInsightId() const{ return m_insightId; }
41 
42     /**
43      * <p>The insight's unique identifier. Use the GetInsightSummaries action to
44      * retrieve an InsightId.</p>
45      */
InsightIdHasBeenSet()46     inline bool InsightIdHasBeenSet() const { return m_insightIdHasBeenSet; }
47 
48     /**
49      * <p>The insight's unique identifier. Use the GetInsightSummaries action to
50      * retrieve an InsightId.</p>
51      */
SetInsightId(const Aws::String & value)52     inline void SetInsightId(const Aws::String& value) { m_insightIdHasBeenSet = true; m_insightId = value; }
53 
54     /**
55      * <p>The insight's unique identifier. Use the GetInsightSummaries action to
56      * retrieve an InsightId.</p>
57      */
SetInsightId(Aws::String && value)58     inline void SetInsightId(Aws::String&& value) { m_insightIdHasBeenSet = true; m_insightId = std::move(value); }
59 
60     /**
61      * <p>The insight's unique identifier. Use the GetInsightSummaries action to
62      * retrieve an InsightId.</p>
63      */
SetInsightId(const char * value)64     inline void SetInsightId(const char* value) { m_insightIdHasBeenSet = true; m_insightId.assign(value); }
65 
66     /**
67      * <p>The insight's unique identifier. Use the GetInsightSummaries action to
68      * retrieve an InsightId.</p>
69      */
WithInsightId(const Aws::String & value)70     inline GetInsightImpactGraphRequest& WithInsightId(const Aws::String& value) { SetInsightId(value); return *this;}
71 
72     /**
73      * <p>The insight's unique identifier. Use the GetInsightSummaries action to
74      * retrieve an InsightId.</p>
75      */
WithInsightId(Aws::String && value)76     inline GetInsightImpactGraphRequest& WithInsightId(Aws::String&& value) { SetInsightId(std::move(value)); return *this;}
77 
78     /**
79      * <p>The insight's unique identifier. Use the GetInsightSummaries action to
80      * retrieve an InsightId.</p>
81      */
WithInsightId(const char * value)82     inline GetInsightImpactGraphRequest& WithInsightId(const char* value) { SetInsightId(value); return *this;}
83 
84 
85     /**
86      * <p>The estimated start time of the insight, in Unix time seconds. The StartTime
87      * is inclusive of the value provided and can't be more than 30 days old.</p>
88      */
GetStartTime()89     inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
90 
91     /**
92      * <p>The estimated start time of the insight, in Unix time seconds. The StartTime
93      * is inclusive of the value provided and can't be more than 30 days old.</p>
94      */
StartTimeHasBeenSet()95     inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
96 
97     /**
98      * <p>The estimated start time of the insight, in Unix time seconds. The StartTime
99      * is inclusive of the value provided and can't be more than 30 days old.</p>
100      */
SetStartTime(const Aws::Utils::DateTime & value)101     inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
102 
103     /**
104      * <p>The estimated start time of the insight, in Unix time seconds. The StartTime
105      * is inclusive of the value provided and can't be more than 30 days old.</p>
106      */
SetStartTime(Aws::Utils::DateTime && value)107     inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
108 
109     /**
110      * <p>The estimated start time of the insight, in Unix time seconds. The StartTime
111      * is inclusive of the value provided and can't be more than 30 days old.</p>
112      */
WithStartTime(const Aws::Utils::DateTime & value)113     inline GetInsightImpactGraphRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
114 
115     /**
116      * <p>The estimated start time of the insight, in Unix time seconds. The StartTime
117      * is inclusive of the value provided and can't be more than 30 days old.</p>
118      */
WithStartTime(Aws::Utils::DateTime && value)119     inline GetInsightImpactGraphRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
120 
121 
122     /**
123      * <p>The estimated end time of the insight, in Unix time seconds. The EndTime is
124      * exclusive of the value provided. The time range between the start time and end
125      * time can't be more than six hours. </p>
126      */
GetEndTime()127     inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
128 
129     /**
130      * <p>The estimated end time of the insight, in Unix time seconds. The EndTime is
131      * exclusive of the value provided. The time range between the start time and end
132      * time can't be more than six hours. </p>
133      */
EndTimeHasBeenSet()134     inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
135 
136     /**
137      * <p>The estimated end time of the insight, in Unix time seconds. The EndTime is
138      * exclusive of the value provided. The time range between the start time and end
139      * time can't be more than six hours. </p>
140      */
SetEndTime(const Aws::Utils::DateTime & value)141     inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
142 
143     /**
144      * <p>The estimated end time of the insight, in Unix time seconds. The EndTime is
145      * exclusive of the value provided. The time range between the start time and end
146      * time can't be more than six hours. </p>
147      */
SetEndTime(Aws::Utils::DateTime && value)148     inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
149 
150     /**
151      * <p>The estimated end time of the insight, in Unix time seconds. The EndTime is
152      * exclusive of the value provided. The time range between the start time and end
153      * time can't be more than six hours. </p>
154      */
WithEndTime(const Aws::Utils::DateTime & value)155     inline GetInsightImpactGraphRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
156 
157     /**
158      * <p>The estimated end time of the insight, in Unix time seconds. The EndTime is
159      * exclusive of the value provided. The time range between the start time and end
160      * time can't be more than six hours. </p>
161      */
WithEndTime(Aws::Utils::DateTime && value)162     inline GetInsightImpactGraphRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
163 
164 
165     /**
166      * <p>Specify the pagination token returned by a previous request to retrieve the
167      * next page of results. </p>
168      */
GetNextToken()169     inline const Aws::String& GetNextToken() const{ return m_nextToken; }
170 
171     /**
172      * <p>Specify the pagination token returned by a previous request to retrieve the
173      * next page of results. </p>
174      */
NextTokenHasBeenSet()175     inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
176 
177     /**
178      * <p>Specify the pagination token returned by a previous request to retrieve the
179      * next page of results. </p>
180      */
SetNextToken(const Aws::String & value)181     inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
182 
183     /**
184      * <p>Specify the pagination token returned by a previous request to retrieve the
185      * next page of results. </p>
186      */
SetNextToken(Aws::String && value)187     inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
188 
189     /**
190      * <p>Specify the pagination token returned by a previous request to retrieve the
191      * next page of results. </p>
192      */
SetNextToken(const char * value)193     inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
194 
195     /**
196      * <p>Specify the pagination token returned by a previous request to retrieve the
197      * next page of results. </p>
198      */
WithNextToken(const Aws::String & value)199     inline GetInsightImpactGraphRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
200 
201     /**
202      * <p>Specify the pagination token returned by a previous request to retrieve the
203      * next page of results. </p>
204      */
WithNextToken(Aws::String && value)205     inline GetInsightImpactGraphRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
206 
207     /**
208      * <p>Specify the pagination token returned by a previous request to retrieve the
209      * next page of results. </p>
210      */
WithNextToken(const char * value)211     inline GetInsightImpactGraphRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
212 
213   private:
214 
215     Aws::String m_insightId;
216     bool m_insightIdHasBeenSet;
217 
218     Aws::Utils::DateTime m_startTime;
219     bool m_startTimeHasBeenSet;
220 
221     Aws::Utils::DateTime m_endTime;
222     bool m_endTimeHasBeenSet;
223 
224     Aws::String m_nextToken;
225     bool m_nextTokenHasBeenSet;
226   };
227 
228 } // namespace Model
229 } // namespace XRay
230 } // namespace Aws
231