AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
ListRecommendationsRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devops-guru/DevOpsGuruRequest.h>
9#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
10#include <aws/devops-guru/model/Locale.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DevOpsGuru {
16namespace Model {
17
21 public:
22 AWS_DEVOPSGURU_API ListRecommendationsRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ListRecommendations"; }
29
30 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetInsightId() const { return m_insightId; }
37 inline bool InsightIdHasBeenSet() const { return m_insightIdHasBeenSet; }
38 template <typename InsightIdT = Aws::String>
39 void SetInsightId(InsightIdT&& value) {
40 m_insightIdHasBeenSet = true;
41 m_insightId = std::forward<InsightIdT>(value);
42 }
43 template <typename InsightIdT = Aws::String>
45 SetInsightId(std::forward<InsightIdT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetNextToken() const { return m_nextToken; }
56 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
57 template <typename NextTokenT = Aws::String>
58 void SetNextToken(NextTokenT&& value) {
59 m_nextTokenHasBeenSet = true;
60 m_nextToken = std::forward<NextTokenT>(value);
61 }
62 template <typename NextTokenT = Aws::String>
64 SetNextToken(std::forward<NextTokenT>(value));
65 return *this;
66 }
68
70
73 inline Locale GetLocale() const { return m_locale; }
74 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
75 inline void SetLocale(Locale value) {
76 m_localeHasBeenSet = true;
77 m_locale = value;
78 }
80 SetLocale(value);
81 return *this;
82 }
84
86
89 inline const Aws::String& GetAccountId() const { return m_accountId; }
90 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
91 template <typename AccountIdT = Aws::String>
92 void SetAccountId(AccountIdT&& value) {
93 m_accountIdHasBeenSet = true;
94 m_accountId = std::forward<AccountIdT>(value);
95 }
96 template <typename AccountIdT = Aws::String>
98 SetAccountId(std::forward<AccountIdT>(value));
99 return *this;
100 }
102 private:
103 Aws::String m_insightId;
104
105 Aws::String m_nextToken;
106
107 Locale m_locale{Locale::NOT_SET};
108
109 Aws::String m_accountId;
110 bool m_insightIdHasBeenSet = false;
111 bool m_nextTokenHasBeenSet = false;
112 bool m_localeHasBeenSet = false;
113 bool m_accountIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace DevOpsGuru
118} // namespace Aws
ListRecommendationsRequest & WithAccountId(AccountIdT &&value)
AWS_DEVOPSGURU_API ListRecommendationsRequest()=default
ListRecommendationsRequest & WithNextToken(NextTokenT &&value)
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
ListRecommendationsRequest & WithLocale(Locale value)
ListRecommendationsRequest & WithInsightId(InsightIdT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String