AWS SDK for C++  1.9.131
AWS SDK for C++
DescribeJobLogItemsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/mgn/Mgn_EXPORTS.h>
8 #include <aws/mgn/MgnRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace mgn
15 {
16 namespace Model
17 {
18 
22  {
23  public:
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::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetJobID() const{ return m_jobID; }
39 
43  inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; }
44 
48  inline void SetJobID(const Aws::String& value) { m_jobIDHasBeenSet = true; m_jobID = value; }
49 
53  inline void SetJobID(Aws::String&& value) { m_jobIDHasBeenSet = true; m_jobID = std::move(value); }
54 
58  inline void SetJobID(const char* value) { m_jobIDHasBeenSet = true; m_jobID.assign(value); }
59 
63  inline DescribeJobLogItemsRequest& WithJobID(const Aws::String& value) { SetJobID(value); return *this;}
64 
68  inline DescribeJobLogItemsRequest& WithJobID(Aws::String&& value) { SetJobID(std::move(value)); return *this;}
69 
73  inline DescribeJobLogItemsRequest& WithJobID(const char* value) { SetJobID(value); return *this;}
74 
75 
79  inline int GetMaxResults() const{ return m_maxResults; }
80 
84  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
85 
89  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
90 
94  inline DescribeJobLogItemsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
95 
96 
100  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
101 
105  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
106 
110  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
111 
115  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
116 
120  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
121 
125  inline DescribeJobLogItemsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
126 
130  inline DescribeJobLogItemsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
131 
135  inline DescribeJobLogItemsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
136 
137  private:
138 
139  Aws::String m_jobID;
140  bool m_jobIDHasBeenSet;
141 
142  int m_maxResults;
143  bool m_maxResultsHasBeenSet;
144 
145  Aws::String m_nextToken;
146  bool m_nextTokenHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace mgn
151 } // namespace Aws
Aws::mgn::Model::DescribeJobLogItemsRequest::WithJobID
DescribeJobLogItemsRequest & WithJobID(const Aws::String &value)
Definition: DescribeJobLogItemsRequest.h:63
Aws::mgn::Model::DescribeJobLogItemsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeJobLogItemsRequest.h:120
Aws::mgn::Model::DescribeJobLogItemsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeJobLogItemsRequest.h:115
Aws::mgn::Model::DescribeJobLogItemsRequest::GetMaxResults
int GetMaxResults() const
Definition: DescribeJobLogItemsRequest.h:79
Aws::mgn::Model::DescribeJobLogItemsRequest::JobIDHasBeenSet
bool JobIDHasBeenSet() const
Definition: DescribeJobLogItemsRequest.h:43
Aws::mgn::Model::DescribeJobLogItemsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeJobLogItemsRequest.h:105
Aws::mgn::Model::DescribeJobLogItemsRequest
Definition: DescribeJobLogItemsRequest.h:22
AWS_MGN_API
#define AWS_MGN_API
Definition: Mgn_EXPORTS.h:28
Aws::mgn::Model::DescribeJobLogItemsRequest::WithMaxResults
DescribeJobLogItemsRequest & WithMaxResults(int value)
Definition: DescribeJobLogItemsRequest.h:94
Aws::mgn::Model::DescribeJobLogItemsRequest::WithJobID
DescribeJobLogItemsRequest & WithJobID(Aws::String &&value)
Definition: DescribeJobLogItemsRequest.h:68
Aws::mgn::Model::DescribeJobLogItemsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: DescribeJobLogItemsRequest.h:89
Aws::mgn::MgnRequest
Definition: MgnRequest.h:17
MgnRequest.h
Aws::mgn::Model::DescribeJobLogItemsRequest::WithNextToken
DescribeJobLogItemsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeJobLogItemsRequest.h:130
Aws::mgn::Model::DescribeJobLogItemsRequest::SetJobID
void SetJobID(const char *value)
Definition: DescribeJobLogItemsRequest.h:58
Mgn_EXPORTS.h
AWSString.h
Aws::mgn::Model::DescribeJobLogItemsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeJobLogItemsRequest.h:30
Aws::mgn::Model::DescribeJobLogItemsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeJobLogItemsRequest.h:100
Aws::mgn::Model::DescribeJobLogItemsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeJobLogItemsRequest.h:110
Aws::mgn::Model::DescribeJobLogItemsRequest::WithNextToken
DescribeJobLogItemsRequest & WithNextToken(const char *value)
Definition: DescribeJobLogItemsRequest.h:135
Aws::mgn::Model::DescribeJobLogItemsRequest::WithJobID
DescribeJobLogItemsRequest & WithJobID(const char *value)
Definition: DescribeJobLogItemsRequest.h:73
Aws::mgn::Model::DescribeJobLogItemsRequest::GetJobID
const Aws::String & GetJobID() const
Definition: DescribeJobLogItemsRequest.h:38
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::mgn::Model::DescribeJobLogItemsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: DescribeJobLogItemsRequest.h:84
Aws::mgn::Model::DescribeJobLogItemsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::mgn::Model::DescribeJobLogItemsRequest::WithNextToken
DescribeJobLogItemsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeJobLogItemsRequest.h:125
Aws::mgn::Model::DescribeJobLogItemsRequest::SetJobID
void SetJobID(const Aws::String &value)
Definition: DescribeJobLogItemsRequest.h:48
Aws::mgn::Model::DescribeJobLogItemsRequest::SetJobID
void SetJobID(Aws::String &&value)
Definition: DescribeJobLogItemsRequest.h:53
Aws::mgn::Model::DescribeJobLogItemsRequest::DescribeJobLogItemsRequest
DescribeJobLogItemsRequest()