AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeRecommendationExportJobsRequest.h
1
6#pragma once
7#include <aws/compute-optimizer/ComputeOptimizer_EXPORTS.h>
8#include <aws/compute-optimizer/ComputeOptimizerRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/compute-optimizer/model/JobFilter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ComputeOptimizer
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_COMPUTEOPTIMIZER_API DescribeRecommendationExportJobsRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeRecommendationExportJobs"; }
33
34 AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override;
35
36 AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
47 inline const Aws::Vector<Aws::String>& GetJobIds() const { return m_jobIds; }
48 inline bool JobIdsHasBeenSet() const { return m_jobIdsHasBeenSet; }
49 template<typename JobIdsT = Aws::Vector<Aws::String>>
50 void SetJobIds(JobIdsT&& value) { m_jobIdsHasBeenSet = true; m_jobIds = std::forward<JobIdsT>(value); }
51 template<typename JobIdsT = Aws::Vector<Aws::String>>
52 DescribeRecommendationExportJobsRequest& WithJobIds(JobIdsT&& value) { SetJobIds(std::forward<JobIdsT>(value)); return *this;}
53 template<typename JobIdsT = Aws::String>
54 DescribeRecommendationExportJobsRequest& AddJobIds(JobIdsT&& value) { m_jobIdsHasBeenSet = true; m_jobIds.emplace_back(std::forward<JobIdsT>(value)); return *this; }
56
58
62 inline const Aws::Vector<JobFilter>& GetFilters() const { return m_filters; }
63 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
64 template<typename FiltersT = Aws::Vector<JobFilter>>
65 void SetFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters = std::forward<FiltersT>(value); }
66 template<typename FiltersT = Aws::Vector<JobFilter>>
67 DescribeRecommendationExportJobsRequest& WithFilters(FiltersT&& value) { SetFilters(std::forward<FiltersT>(value)); return *this;}
68 template<typename FiltersT = JobFilter>
69 DescribeRecommendationExportJobsRequest& AddFilters(FiltersT&& value) { m_filtersHasBeenSet = true; m_filters.emplace_back(std::forward<FiltersT>(value)); return *this; }
71
73
76 inline const Aws::String& GetNextToken() const { return m_nextToken; }
77 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
78 template<typename NextTokenT = Aws::String>
79 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
80 template<typename NextTokenT = Aws::String>
81 DescribeRecommendationExportJobsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
83
85
90 inline int GetMaxResults() const { return m_maxResults; }
91 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
92 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
93 inline DescribeRecommendationExportJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
95 private:
96
98 bool m_jobIdsHasBeenSet = false;
99
100 Aws::Vector<JobFilter> m_filters;
101 bool m_filtersHasBeenSet = false;
102
103 Aws::String m_nextToken;
104 bool m_nextTokenHasBeenSet = false;
105
106 int m_maxResults{0};
107 bool m_maxResultsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ComputeOptimizer
112} // namespace Aws
AWS_COMPUTEOPTIMIZER_API DescribeRecommendationExportJobsRequest()=default
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeRecommendationExportJobsRequest & WithNextToken(NextTokenT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector