AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DescribeJobLogItemsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/drs/DrsRequest.h>
9#include <aws/drs/Drs_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace drs {
15namespace Model {
16
20 public:
21 AWS_DRS_API DescribeJobLogItemsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DescribeJobLogItems"; }
28
29 AWS_DRS_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetJobID() const { return m_jobID; }
36 inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; }
37 template <typename JobIDT = Aws::String>
38 void SetJobID(JobIDT&& value) {
39 m_jobIDHasBeenSet = true;
40 m_jobID = std::forward<JobIDT>(value);
41 }
42 template <typename JobIDT = Aws::String>
44 SetJobID(std::forward<JobIDT>(value));
45 return *this;
46 }
48
50
53 inline int GetMaxResults() const { return m_maxResults; }
54 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
55 inline void SetMaxResults(int value) {
56 m_maxResultsHasBeenSet = true;
57 m_maxResults = value;
58 }
60 SetMaxResults(value);
61 return *this;
62 }
64
66
69 inline const Aws::String& GetNextToken() const { return m_nextToken; }
70 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
71 template <typename NextTokenT = Aws::String>
72 void SetNextToken(NextTokenT&& value) {
73 m_nextTokenHasBeenSet = true;
74 m_nextToken = std::forward<NextTokenT>(value);
75 }
76 template <typename NextTokenT = Aws::String>
78 SetNextToken(std::forward<NextTokenT>(value));
79 return *this;
80 }
82 private:
83 Aws::String m_jobID;
84 bool m_jobIDHasBeenSet = false;
85
86 int m_maxResults{0};
87 bool m_maxResultsHasBeenSet = false;
88
89 Aws::String m_nextToken;
90 bool m_nextTokenHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace drs
95} // namespace Aws
DescribeJobLogItemsRequest & WithJobID(JobIDT &&value)
AWS_DRS_API Aws::String SerializePayload() const override
AWS_DRS_API DescribeJobLogItemsRequest()=default
DescribeJobLogItemsRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
DescribeJobLogItemsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String