AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRecommendationSummariesRequest.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 <utility>
12
13namespace Aws
14{
15namespace ComputeOptimizer
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_COMPUTEOPTIMIZER_API GetRecommendationSummariesRequest();
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 "GetRecommendationSummaries"; }
32
33 AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override;
34
35 AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
46 inline const Aws::Vector<Aws::String>& GetAccountIds() const{ return m_accountIds; }
47 inline bool AccountIdsHasBeenSet() const { return m_accountIdsHasBeenSet; }
48 inline void SetAccountIds(const Aws::Vector<Aws::String>& value) { m_accountIdsHasBeenSet = true; m_accountIds = value; }
49 inline void SetAccountIds(Aws::Vector<Aws::String>&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::move(value); }
52 inline GetRecommendationSummariesRequest& AddAccountIds(const Aws::String& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
53 inline GetRecommendationSummariesRequest& AddAccountIds(Aws::String&& value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(std::move(value)); return *this; }
54 inline GetRecommendationSummariesRequest& AddAccountIds(const char* value) { m_accountIdsHasBeenSet = true; m_accountIds.push_back(value); return *this; }
56
58
61 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
62 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
63 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
64 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
65 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
66 inline GetRecommendationSummariesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
67 inline GetRecommendationSummariesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
68 inline GetRecommendationSummariesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
70
72
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline GetRecommendationSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82 private:
83
84 Aws::Vector<Aws::String> m_accountIds;
85 bool m_accountIdsHasBeenSet = false;
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89
90 int m_maxResults;
91 bool m_maxResultsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace ComputeOptimizer
96} // namespace Aws
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
GetRecommendationSummariesRequest & AddAccountIds(const Aws::String &value)
GetRecommendationSummariesRequest & WithNextToken(const Aws::String &value)
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetRecommendationSummariesRequest & WithAccountIds(const Aws::Vector< Aws::String > &value)
GetRecommendationSummariesRequest & WithNextToken(Aws::String &&value)
GetRecommendationSummariesRequest & WithAccountIds(Aws::Vector< Aws::String > &&value)
GetRecommendationSummariesRequest & AddAccountIds(const char *value)
GetRecommendationSummariesRequest & WithNextToken(const char *value)
GetRecommendationSummariesRequest & AddAccountIds(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