AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeJobLogItemsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/mgn/Mgn_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace mgn {
15namespace Model {
16
20 public:
21 AWS_MGN_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_MGN_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
84
87 inline const Aws::String& GetAccountID() const { return m_accountID; }
88 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
89 template <typename AccountIDT = Aws::String>
90 void SetAccountID(AccountIDT&& value) {
91 m_accountIDHasBeenSet = true;
92 m_accountID = std::forward<AccountIDT>(value);
93 }
94 template <typename AccountIDT = Aws::String>
96 SetAccountID(std::forward<AccountIDT>(value));
97 return *this;
98 }
100 private:
101 Aws::String m_jobID;
102
103 int m_maxResults{0};
104
105 Aws::String m_nextToken;
106
107 Aws::String m_accountID;
108 bool m_jobIDHasBeenSet = false;
109 bool m_maxResultsHasBeenSet = false;
110 bool m_nextTokenHasBeenSet = false;
111 bool m_accountIDHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace mgn
116} // namespace Aws
DescribeJobLogItemsRequest & WithNextToken(NextTokenT &&value)
AWS_MGN_API DescribeJobLogItemsRequest()=default
virtual const char * GetServiceRequestName() const override
DescribeJobLogItemsRequest & WithJobID(JobIDT &&value)
AWS_MGN_API Aws::String SerializePayload() const override
DescribeJobLogItemsRequest & WithAccountID(AccountIDT &&value)
DescribeJobLogItemsRequest & WithMaxResults(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String