AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeJobLogItemsRequest.h
1
6#pragma once
7#include <aws/mgn/Mgn_EXPORTS.h>
8#include <aws/mgn/MgnRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace mgn
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_MGN_API DescribeJobLogItemsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DescribeJobLogItems"; }
31
32 AWS_MGN_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetAccountID() const { return m_accountID; }
40 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
41 template<typename AccountIDT = Aws::String>
42 void SetAccountID(AccountIDT&& value) { m_accountIDHasBeenSet = true; m_accountID = std::forward<AccountIDT>(value); }
43 template<typename AccountIDT = Aws::String>
44 DescribeJobLogItemsRequest& WithAccountID(AccountIDT&& value) { SetAccountID(std::forward<AccountIDT>(value)); return *this;}
46
48
51 inline const Aws::String& GetJobID() const { return m_jobID; }
52 inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; }
53 template<typename JobIDT = Aws::String>
54 void SetJobID(JobIDT&& value) { m_jobIDHasBeenSet = true; m_jobID = std::forward<JobIDT>(value); }
55 template<typename JobIDT = Aws::String>
56 DescribeJobLogItemsRequest& WithJobID(JobIDT&& value) { SetJobID(std::forward<JobIDT>(value)); return *this;}
58
60
63 inline int GetMaxResults() const { return m_maxResults; }
64 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
65 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
66 inline DescribeJobLogItemsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
68
70
73 inline const Aws::String& GetNextToken() const { return m_nextToken; }
74 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
75 template<typename NextTokenT = Aws::String>
76 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
77 template<typename NextTokenT = Aws::String>
78 DescribeJobLogItemsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
80 private:
81
82 Aws::String m_accountID;
83 bool m_accountIDHasBeenSet = false;
84
85 Aws::String m_jobID;
86 bool m_jobIDHasBeenSet = false;
87
88 int m_maxResults{0};
89 bool m_maxResultsHasBeenSet = false;
90
91 Aws::String m_nextToken;
92 bool m_nextTokenHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace mgn
97} // 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