AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetInsightId(const Aws::String& value) { m_insightIdHasBeenSet = true; m_insightId = value; }
43 inline void SetInsightId(Aws::String&& value) { m_insightIdHasBeenSet = true; m_insightId = std::move(value); }
44 inline void SetInsightId(const char* value) { m_insightIdHasBeenSet = true; m_insightId.assign(value); }
45 inline ListRecommendationsRequest& WithInsightId(const Aws::String& value) { SetInsightId(value); return *this;}
46 inline ListRecommendationsRequest& WithInsightId(Aws::String&& value) { SetInsightId(std::move(value)); return *this;}
47 inline ListRecommendationsRequest& WithInsightId(const char* value) { SetInsightId(value); return *this;}
49
51
55 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
56 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
57 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
58 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
59 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
60 inline ListRecommendationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
61 inline ListRecommendationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
62 inline ListRecommendationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
64
66
69 inline const Locale& GetLocale() const{ return m_locale; }
70 inline bool LocaleHasBeenSet() const { return m_localeHasBeenSet; }
71 inline void SetLocale(const Locale& value) { m_localeHasBeenSet = true; m_locale = value; }
72 inline void SetLocale(Locale&& value) { m_localeHasBeenSet = true; m_locale = std::move(value); }
73 inline ListRecommendationsRequest& WithLocale(const Locale& value) { SetLocale(value); return *this;}
74 inline ListRecommendationsRequest& WithLocale(Locale&& value) { SetLocale(std::move(value)); return *this;}
76
78
81 inline const Aws::String& GetAccountId() const{ return m_accountId; }
82 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
83 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
84 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
85 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
86 inline ListRecommendationsRequest& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
87 inline ListRecommendationsRequest& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
88 inline ListRecommendationsRequest& WithAccountId(const char* value) { SetAccountId(value); return *this;}
90 private:
91
92 Aws::String m_insightId;
93 bool m_insightIdHasBeenSet = false;
94
95 Aws::String m_nextToken;
96 bool m_nextTokenHasBeenSet = false;
97
98 Locale m_locale;
99 bool m_localeHasBeenSet = false;
100
101 Aws::String m_accountId;
102 bool m_accountIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace DevOpsGuru
107} // namespace Aws
ListRecommendationsRequest & WithNextToken(Aws::String &&value)
ListRecommendationsRequest & WithAccountId(const Aws::String &value)
ListRecommendationsRequest & WithLocale(const Locale &value)
ListRecommendationsRequest & WithNextToken(const char *value)
ListRecommendationsRequest & WithAccountId(Aws::String &&value)
AWS_DEVOPSGURU_API Aws::String SerializePayload() const override
ListRecommendationsRequest & WithInsightId(const char *value)
ListRecommendationsRequest & WithInsightId(Aws::String &&value)
ListRecommendationsRequest & WithNextToken(const Aws::String &value)
ListRecommendationsRequest & WithLocale(Locale &&value)
ListRecommendationsRequest & WithInsightId(const Aws::String &value)
ListRecommendationsRequest & WithAccountId(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String