AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetInsightId(const Aws::String& value) { m_insightIdHasBeenSet = true; m_insightId = value; }
44 inline void SetInsightId(Aws::String&& value) { m_insightIdHasBeenSet = true; m_insightId = std::move(value); }
45 inline void SetInsightId(const char* value) { m_insightIdHasBeenSet = true; m_insightId.assign(value); }
46 inline GetInsightImpactGraphRequest& WithInsightId(const Aws::String& value) { SetInsightId(value); return *this;}
47 inline GetInsightImpactGraphRequest& WithInsightId(Aws::String&& value) { SetInsightId(std::move(value)); return *this;}
48 inline GetInsightImpactGraphRequest& WithInsightId(const char* value) { SetInsightId(value); return *this;}
50
52
56 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
57 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
58 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
59 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
60 inline GetInsightImpactGraphRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
61 inline GetInsightImpactGraphRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
63
65
70 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
71 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
72 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
73 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
74 inline GetInsightImpactGraphRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
75 inline GetInsightImpactGraphRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
77
79
83 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
85 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
86 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
87 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
88 inline GetInsightImpactGraphRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
89 inline GetInsightImpactGraphRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
90 inline GetInsightImpactGraphRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92 private:
93
94 Aws::String m_insightId;
95 bool m_insightIdHasBeenSet = false;
96
97 Aws::Utils::DateTime m_startTime;
98 bool m_startTimeHasBeenSet = false;
99
100 Aws::Utils::DateTime m_endTime;
101 bool m_endTimeHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace XRay
109} // namespace Aws
GetInsightImpactGraphRequest & WithNextToken(const Aws::String &value)
GetInsightImpactGraphRequest & WithInsightId(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
GetInsightImpactGraphRequest & WithInsightId(const Aws::String &value)
AWS_XRAY_API Aws::String SerializePayload() const override
void SetEndTime(const Aws::Utils::DateTime &value)
GetInsightImpactGraphRequest & WithNextToken(const char *value)
GetInsightImpactGraphRequest & WithNextToken(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetInsightImpactGraphRequest & WithInsightId(Aws::String &&value)
GetInsightImpactGraphRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetInsightImpactGraphRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetInsightImpactGraphRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetInsightImpactGraphRequest & WithStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String