AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobIds(const Aws::Vector<Aws::String>& value) { m_jobIdsHasBeenSet = true; m_jobIds = value; }
50 inline void SetJobIds(Aws::Vector<Aws::String>&& value) { m_jobIdsHasBeenSet = true; m_jobIds = std::move(value); }
52 inline DescribeRecommendationExportJobsRequest& WithJobIds(Aws::Vector<Aws::String>&& value) { SetJobIds(std::move(value)); return *this;}
53 inline DescribeRecommendationExportJobsRequest& AddJobIds(const Aws::String& value) { m_jobIdsHasBeenSet = true; m_jobIds.push_back(value); return *this; }
54 inline DescribeRecommendationExportJobsRequest& AddJobIds(Aws::String&& value) { m_jobIdsHasBeenSet = true; m_jobIds.push_back(std::move(value)); return *this; }
55 inline DescribeRecommendationExportJobsRequest& AddJobIds(const char* value) { m_jobIdsHasBeenSet = true; m_jobIds.push_back(value); return *this; }
57
59
63 inline const Aws::Vector<JobFilter>& GetFilters() const{ return m_filters; }
64 inline bool FiltersHasBeenSet() const { return m_filtersHasBeenSet; }
65 inline void SetFilters(const Aws::Vector<JobFilter>& value) { m_filtersHasBeenSet = true; m_filters = value; }
66 inline void SetFilters(Aws::Vector<JobFilter>&& value) { m_filtersHasBeenSet = true; m_filters = std::move(value); }
68 inline DescribeRecommendationExportJobsRequest& WithFilters(Aws::Vector<JobFilter>&& value) { SetFilters(std::move(value)); return *this;}
69 inline DescribeRecommendationExportJobsRequest& AddFilters(const JobFilter& value) { m_filtersHasBeenSet = true; m_filters.push_back(value); return *this; }
70 inline DescribeRecommendationExportJobsRequest& AddFilters(JobFilter&& value) { m_filtersHasBeenSet = true; m_filters.push_back(std::move(value)); return *this; }
72
74
77 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
79 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
80 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
81 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
83 inline DescribeRecommendationExportJobsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
84 inline DescribeRecommendationExportJobsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
86
88
93 inline int GetMaxResults() const{ return m_maxResults; }
94 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 inline DescribeRecommendationExportJobsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
98 private:
99
101 bool m_jobIdsHasBeenSet = false;
102
103 Aws::Vector<JobFilter> m_filters;
104 bool m_filtersHasBeenSet = false;
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
109 int m_maxResults;
110 bool m_maxResultsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace ComputeOptimizer
115} // namespace Aws
DescribeRecommendationExportJobsRequest & AddJobIds(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
DescribeRecommendationExportJobsRequest & WithJobIds(Aws::Vector< Aws::String > &&value)
DescribeRecommendationExportJobsRequest & WithFilters(const Aws::Vector< JobFilter > &value)
DescribeRecommendationExportJobsRequest & AddFilters(const JobFilter &value)
DescribeRecommendationExportJobsRequest & WithNextToken(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeRecommendationExportJobsRequest & WithFilters(Aws::Vector< JobFilter > &&value)
DescribeRecommendationExportJobsRequest & WithJobIds(const Aws::Vector< Aws::String > &value)
DescribeRecommendationExportJobsRequest & AddJobIds(Aws::String &&value)
DescribeRecommendationExportJobsRequest & WithNextToken(Aws::String &&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