AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeJobsRequest.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 <aws/mgn/model/DescribeJobsRequestFilters.h>
11#include <utility>
12
13namespace Aws
14{
15namespace mgn
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_MGN_API DescribeJobsRequest() = default;
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 "DescribeJobs"; }
32
33 AWS_MGN_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetAccountID() const { return m_accountID; }
41 inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; }
42 template<typename AccountIDT = Aws::String>
43 void SetAccountID(AccountIDT&& value) { m_accountIDHasBeenSet = true; m_accountID = std::forward<AccountIDT>(value); }
44 template<typename AccountIDT = Aws::String>
45 DescribeJobsRequest& WithAccountID(AccountIDT&& value) { SetAccountID(std::forward<AccountIDT>(value)); return *this;}
47
49
52 inline const DescribeJobsRequestFilters& GetFilters() const { return m_filters; }
53 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
54 template<typename FiltersT = DescribeJobsRequestFilters>
55 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
56 template<typename FiltersT = DescribeJobsRequestFilters>
57 DescribeJobsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
59
61
64 inline int GetMaxResults() const { return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline DescribeJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
74 inline const Aws::String& GetNextToken() const { return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 template<typename NextTokenT = Aws::String>
77 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
78 template<typename NextTokenT = Aws::String>
79 DescribeJobsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
81 private:
82
83 Aws::String m_accountID;
84 bool m_accountIDHasBeenSet = false;
85
87 bool m_filtersHasBeenSet = false;
88
89 int m_maxResults{0};
90 bool m_maxResultsHasBeenSet = false;
91
92 Aws::String m_nextToken;
93 bool m_nextTokenHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace mgn
98} // namespace Aws
const Aws::String & GetAccountID() const
DescribeJobsRequest & WithMaxResults(int value)
DescribeJobsRequest & WithAccountID(AccountIDT &&value)
DescribeJobsRequest & WithFilters(FiltersT &&value)
DescribeJobsRequest & WithNextToken(NextTokenT &&value)
const Aws::String & GetNextToken() const
virtual const char * GetServiceRequestName() const override
const DescribeJobsRequestFilters & GetFilters() const
AWS_MGN_API Aws::String SerializePayload() const override
AWS_MGN_API DescribeJobsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String