AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListLensReviewsRequest.h
1
6#pragma once
7#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
8#include <aws/wellarchitected/WellArchitectedRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace WellArchitected
19{
20namespace Model
21{
22
29 {
30 public:
31 AWS_WELLARCHITECTED_API ListLensReviewsRequest();
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "ListLensReviews"; }
38
39 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
40
41 AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
46 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
47 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
48 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
49 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
50 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
51 inline ListLensReviewsRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
52 inline ListLensReviewsRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
53 inline ListLensReviewsRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
55
57
58 inline int GetMilestoneNumber() const{ return m_milestoneNumber; }
59 inline bool MilestoneNumberHasBeenSet() const { return m_milestoneNumberHasBeenSet; }
60 inline void SetMilestoneNumber(int value) { m_milestoneNumberHasBeenSet = true; m_milestoneNumber = value; }
61 inline ListLensReviewsRequest& WithMilestoneNumber(int value) { SetMilestoneNumber(value); return *this;}
63
65
66 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
67 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
68 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
69 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
70 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
71 inline ListLensReviewsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
72 inline ListLensReviewsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
73 inline ListLensReviewsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
75
77
78 inline int GetMaxResults() const{ return m_maxResults; }
79 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
80 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
81 inline ListLensReviewsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
83 private:
84
85 Aws::String m_workloadId;
86 bool m_workloadIdHasBeenSet = false;
87
88 int m_milestoneNumber;
89 bool m_milestoneNumberHasBeenSet = false;
90
91 Aws::String m_nextToken;
92 bool m_nextTokenHasBeenSet = false;
93
94 int m_maxResults;
95 bool m_maxResultsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace WellArchitected
100} // namespace Aws
virtual const char * GetServiceRequestName() const override
ListLensReviewsRequest & WithMilestoneNumber(int value)
ListLensReviewsRequest & WithWorkloadId(const Aws::String &value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
ListLensReviewsRequest & WithNextToken(const Aws::String &value)
AWS_WELLARCHITECTED_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListLensReviewsRequest & WithNextToken(Aws::String &&value)
ListLensReviewsRequest & WithWorkloadId(Aws::String &&value)
ListLensReviewsRequest & WithWorkloadId(const char *value)
ListLensReviewsRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String