AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetServiceGraphRequest.h
1
6#pragma once
7#include <aws/xray/XRay_EXPORTS.h>
8#include <aws/xray/XRayRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace XRay
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_XRAY_API GetServiceGraphRequest();
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 "GetServiceGraph"; }
32
33 AWS_XRAY_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
41 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
42 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
43 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
44 inline GetServiceGraphRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
45 inline GetServiceGraphRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
47
49
52 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
53 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
54 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
55 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
56 inline GetServiceGraphRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
57 inline GetServiceGraphRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
59
61
64 inline const Aws::String& GetGroupName() const{ return m_groupName; }
65 inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; }
66 inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; }
67 inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); }
68 inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); }
69 inline GetServiceGraphRequest& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;}
70 inline GetServiceGraphRequest& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;}
71 inline GetServiceGraphRequest& WithGroupName(const char* value) { SetGroupName(value); return *this;}
73
75
79 inline const Aws::String& GetGroupARN() const{ return m_groupARN; }
80 inline bool GroupARNHasBeenSet() const { return m_groupARNHasBeenSet; }
81 inline void SetGroupARN(const Aws::String& value) { m_groupARNHasBeenSet = true; m_groupARN = value; }
82 inline void SetGroupARN(Aws::String&& value) { m_groupARNHasBeenSet = true; m_groupARN = std::move(value); }
83 inline void SetGroupARN(const char* value) { m_groupARNHasBeenSet = true; m_groupARN.assign(value); }
84 inline GetServiceGraphRequest& WithGroupARN(const Aws::String& value) { SetGroupARN(value); return *this;}
85 inline GetServiceGraphRequest& WithGroupARN(Aws::String&& value) { SetGroupARN(std::move(value)); return *this;}
86 inline GetServiceGraphRequest& WithGroupARN(const char* value) { SetGroupARN(value); return *this;}
88
90
93 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
96 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
97 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
98 inline GetServiceGraphRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
99 inline GetServiceGraphRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
100 inline GetServiceGraphRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
102 private:
103
104 Aws::Utils::DateTime m_startTime;
105 bool m_startTimeHasBeenSet = false;
106
107 Aws::Utils::DateTime m_endTime;
108 bool m_endTimeHasBeenSet = false;
109
110 Aws::String m_groupName;
111 bool m_groupNameHasBeenSet = false;
112
113 Aws::String m_groupARN;
114 bool m_groupARNHasBeenSet = false;
115
116 Aws::String m_nextToken;
117 bool m_nextTokenHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace XRay
122} // namespace Aws
GetServiceGraphRequest & WithStartTime(const Aws::Utils::DateTime &value)
void SetStartTime(const Aws::Utils::DateTime &value)
GetServiceGraphRequest & WithNextToken(const char *value)
GetServiceGraphRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetServiceGraphRequest & WithGroupARN(Aws::String &&value)
GetServiceGraphRequest & WithNextToken(const Aws::String &value)
GetServiceGraphRequest & WithNextToken(Aws::String &&value)
GetServiceGraphRequest & WithGroupName(Aws::String &&value)
GetServiceGraphRequest & WithEndTime(const Aws::Utils::DateTime &value)
GetServiceGraphRequest & WithGroupARN(const Aws::String &value)
const Aws::Utils::DateTime & GetEndTime() const
virtual const char * GetServiceRequestName() const override
GetServiceGraphRequest & WithEndTime(Aws::Utils::DateTime &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
GetServiceGraphRequest & WithGroupName(const Aws::String &value)
void SetGroupName(const Aws::String &value)
GetServiceGraphRequest & WithGroupName(const char *value)
const Aws::Utils::DateTime & GetStartTime() const
void SetStartTime(Aws::Utils::DateTime &&value)
void SetNextToken(const Aws::String &value)
void SetEndTime(Aws::Utils::DateTime &&value)
AWS_XRAY_API Aws::String SerializePayload() const override
GetServiceGraphRequest & WithGroupARN(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String