AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetInsightSummariesRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/xray/model/InsightState.h>
13#include <utility>
14
15namespace Aws
16{
17namespace XRay
18{
19namespace Model
20{
21
25 {
26 public:
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetInsightSummaries"; }
34
35 AWS_XRAY_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::Vector<InsightState>& GetStates() const{ return m_states; }
43 inline bool StatesHasBeenSet() const { return m_statesHasBeenSet; }
44 inline void SetStates(const Aws::Vector<InsightState>& value) { m_statesHasBeenSet = true; m_states = value; }
45 inline void SetStates(Aws::Vector<InsightState>&& value) { m_statesHasBeenSet = true; m_states = std::move(value); }
46 inline GetInsightSummariesRequest& WithStates(const Aws::Vector<InsightState>& value) { SetStates(value); return *this;}
47 inline GetInsightSummariesRequest& WithStates(Aws::Vector<InsightState>&& value) { SetStates(std::move(value)); return *this;}
48 inline GetInsightSummariesRequest& AddStates(const InsightState& value) { m_statesHasBeenSet = true; m_states.push_back(value); return *this; }
49 inline GetInsightSummariesRequest& AddStates(InsightState&& value) { m_statesHasBeenSet = true; m_states.push_back(std::move(value)); return *this; }
51
53
57 inline const Aws::String& GetGroupARN() const{ return m_groupARN; }
58 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
59 inline void SetGroupARN(const Aws::String& value) { m_groupARNHasBeenSet = true; m_groupARN = value; }
60 inline void SetGroupARN(Aws::String&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::move(value); }
61 inline void SetGroupARN(const char* value) { m_groupARNHasBeenSet = true; m_groupARN.assign(value); }
62 inline GetInsightSummariesRequest& WithGroupARN(const Aws::String& value) { SetGroupARN(value); return *this;}
63 inline GetInsightSummariesRequest& WithGroupARN(Aws::String&& value) { SetGroupARN(std::move(value)); return *this;}
64 inline GetInsightSummariesRequest& WithGroupARN(const char* value) { SetGroupARN(value); return *this;}
66
68
71 inline const Aws::String& GetGroupName() const{ return m_groupName; }
72 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
73 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
74 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
75 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
76 inline GetInsightSummariesRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
77 inline GetInsightSummariesRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
78 inline GetInsightSummariesRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
80
82
86 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
87 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
88 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
89 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
90 inline GetInsightSummariesRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
91 inline GetInsightSummariesRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
93
95
99 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
100 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
101 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
102 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
103 inline GetInsightSummariesRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
104 inline GetInsightSummariesRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
106
108
111 inline int GetMaxResults() const{ return m_maxResults; }
112 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
113 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
114 inline GetInsightSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
116
118
121 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
122 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
123 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
124 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
125 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
126 inline GetInsightSummariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
127 inline GetInsightSummariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
128 inline GetInsightSummariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
130 private:
131
133 bool m_statesHasBeenSet = false;
134
135 Aws::String m_groupARN;
136 bool m_groupARNHasBeenSet = false;
137
138 Aws::String m_groupName;
139 bool m_groupNameHasBeenSet = false;
140
141 Aws::Utils::DateTime m_startTime;
142 bool m_startTimeHasBeenSet = false;
143
144 Aws::Utils::DateTime m_endTime;
145 bool m_endTimeHasBeenSet = false;
146
147 int m_maxResults;
148 bool m_maxResultsHasBeenSet = false;
149
150 Aws::String m_nextToken;
151 bool m_nextTokenHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace XRay
156} // namespace Aws
GetInsightSummariesRequest & WithGroupName(const Aws::String &value)
GetInsightSummariesRequest & WithNextToken(Aws::String &&value)
GetInsightSummariesRequest & AddStates(const InsightState &value)
GetInsightSummariesRequest & WithNextToken(const char *value)
const Aws::Utils::DateTime & GetStartTime() const
GetInsightSummariesRequest & AddStates(InsightState &&value)
void SetStates(const Aws::Vector< InsightState > &value)
void SetStates(Aws::Vector< InsightState > &&value)
GetInsightSummariesRequest & WithEndTime(Aws::Utils::DateTime &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
GetInsightSummariesRequest & WithGroupName(const char *value)
GetInsightSummariesRequest & WithMaxResults(int value)
GetInsightSummariesRequest & WithNextToken(const Aws::String &value)
GetInsightSummariesRequest & WithGroupARN(Aws::String &&value)
AWS_XRAY_API Aws::String SerializePayload() const override
GetInsightSummariesRequest & WithStates(const Aws::Vector< InsightState > &value)
const Aws::Vector< InsightState > & GetStates() const
GetInsightSummariesRequest & WithGroupARN(const char *value)
GetInsightSummariesRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetInsightSummariesRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetInsightSummariesRequest & WithGroupARN(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
GetInsightSummariesRequest & WithStates(Aws::Vector< InsightState > &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Utils::DateTime & GetEndTime() const
GetInsightSummariesRequest & WithGroupName(Aws::String &&value)
GetInsightSummariesRequest & WithStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector