AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 template<typename AccountIdsT = Aws::Vector<Aws::String>>
49 void SetAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet = true; m_accountIds = std::forward<AccountIdsT>(value); }
50 template<typename AccountIdsT = Aws::Vector<Aws::String>>
51 GetRecommendationSummariesRequest& WithAccountIds(AccountIdsT&& value) { SetAccountIds(std::forward<AccountIdsT>(value)); return *this;}
52 template<typename AccountIdsT = Aws::String>
53 GetRecommendationSummariesRequest& AddAccountIds(AccountIdsT&& value) { m_accountIdsHasBeenSet = true; m_accountIds.emplace_back(std::forward<AccountIdsT>(value)); return *this; }
55
57
60 inline const Aws::String& GetNextToken() const { return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 template<typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
64 template<typename NextTokenT = Aws::String>
65 GetRecommendationSummariesRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
67
69
74 inline int GetMaxResults() const { return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
77 inline GetRecommendationSummariesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
79 private:
80
81 Aws::Vector<Aws::String> m_accountIds;
82 bool m_accountIdsHasBeenSet = false;
83
84 Aws::String m_nextToken;
85 bool m_nextTokenHasBeenSet = false;
86
87 int m_maxResults{0};
88 bool m_maxResultsHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace ComputeOptimizer
93} // namespace Aws
AWS_COMPUTEOPTIMIZER_API Aws::String SerializePayload() const override
AWS_COMPUTEOPTIMIZER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_COMPUTEOPTIMIZER_API GetRecommendationSummariesRequest()=default
GetRecommendationSummariesRequest & WithAccountIds(AccountIdsT &&value)
GetRecommendationSummariesRequest & WithNextToken(NextTokenT &&value)
GetRecommendationSummariesRequest & AddAccountIds(AccountIdsT &&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