AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListRecommendationsRequest.h
1
6#pragma once
7#include <aws/devops-guru/DevOpsGuru_EXPORTS.h>
8#include <aws/devops-guru/DevOpsGuruRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devops-guru/model/Locale.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DevOpsGuru
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DEVOPSGURU_API ListRecommendationsRequest() = 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 "ListRecommendations"; }
32
33 AWS_DEVOPSGURU_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetInsightId() const { return m_insightId; }
41 inline bool InsightIdHasBeenSet() const { return m_insightIdHasBeenSet; }
42 template<typename InsightIdT = Aws::String>
43 void SetInsightId(InsightIdT&& value) { m_insightIdHasBeenSet = true; m_insightId = std::forward<InsightIdT>(value); }
44 template<typename InsightIdT = Aws::String>
45 ListRecommendationsRequest& WithInsightId(InsightIdT&& value) { SetInsightId(std::forward<InsightIdT>(value)); return *this;}
47
49
53 inline const Aws::String& GetNextToken() const { return m_nextToken; }
54 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
55 template<typename NextTokenT = Aws::String>
56 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
57 template<typename NextTokenT = Aws::String>
58 ListRecommendationsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
60
62
65 inline Locale GetLocale() const { return m_locale; }
66 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
67 inline void SetLocale(Locale value) { m_localeHasBeenSet = true; m_locale = value; }
68 inline ListRecommendationsRequest& WithLocale(Locale value) { SetLocale(value); return *this;}
70
72
75 inline const Aws::String& GetAccountId() const { return m_accountId; }
76 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
77 template<typename AccountIdT = Aws::String>
78 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet = true; m_accountId = std::forward<AccountIdT>(value); }
79 template<typename AccountIdT = Aws::String>
80 ListRecommendationsRequest& WithAccountId(AccountIdT&& value) { SetAccountId(std::forward<AccountIdT>(value)); return *this;}
82 private:
83
84 Aws::String m_insightId;
85 bool m_insightIdHasBeenSet = false;
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89
90 Locale m_locale{Locale::NOT_SET};
91 bool m_localeHasBeenSet = false;
92
93 Aws::String m_accountId;
94 bool m_accountIdHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace DevOpsGuru
99} // 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