AWS SDK for C++  1.9.40
AWS SDK for C++
GetLensReviewRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace WellArchitected
19 {
20 namespace Model
21 {
22 
29  {
30  public:
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 "GetLensReview"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
44 
45  inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
46 
47 
48  inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
49 
50 
51  inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
52 
53 
54  inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
55 
56 
57  inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
58 
59 
60  inline GetLensReviewRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
61 
62 
63  inline GetLensReviewRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
64 
65 
66  inline GetLensReviewRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
67 
68 
69 
70  inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
71 
72 
73  inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
74 
75 
76  inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
77 
78 
79  inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
80 
81 
82  inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
83 
84 
85  inline GetLensReviewRequest& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
86 
87 
88  inline GetLensReviewRequest& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
89 
90 
91  inline GetLensReviewRequest& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
92 
93 
94 
95  inline int GetMilestoneNumber() const{ return m_milestoneNumber; }
96 
97 
98  inline bool MilestoneNumberHasBeenSet() const { return m_milestoneNumberHasBeenSet; }
99 
100 
101  inline void SetMilestoneNumber(int value) { m_milestoneNumberHasBeenSet = true; m_milestoneNumber = value; }
102 
103 
104  inline GetLensReviewRequest& WithMilestoneNumber(int value) { SetMilestoneNumber(value); return *this;}
105 
106  private:
107 
108  Aws::String m_workloadId;
109  bool m_workloadIdHasBeenSet;
110 
111  Aws::String m_lensAlias;
112  bool m_lensAliasHasBeenSet;
113 
114  int m_milestoneNumber;
115  bool m_milestoneNumberHasBeenSet;
116  };
117 
118 } // namespace Model
119 } // namespace WellArchitected
120 } // namespace Aws
Aws::WellArchitected::Model::GetLensReviewRequest::SetWorkloadId
void SetWorkloadId(const char *value)
Definition: GetLensReviewRequest.h:57
WellArchitectedRequest.h
Aws::Http::URI
Definition: URI.h:32
Aws::WellArchitected::Model::GetLensReviewRequest::WithWorkloadId
GetLensReviewRequest & WithWorkloadId(Aws::String &&value)
Definition: GetLensReviewRequest.h:63
Aws::WellArchitected::Model::GetLensReviewRequest::WithMilestoneNumber
GetLensReviewRequest & WithMilestoneNumber(int value)
Definition: GetLensReviewRequest.h:104
WellArchitected_EXPORTS.h
Aws::WellArchitected::Model::GetLensReviewRequest::SetWorkloadId
void SetWorkloadId(const Aws::String &value)
Definition: GetLensReviewRequest.h:51
Aws::WellArchitected::Model::GetLensReviewRequest::LensAliasHasBeenSet
bool LensAliasHasBeenSet() const
Definition: GetLensReviewRequest.h:73
Aws::WellArchitected::Model::GetLensReviewRequest::WithLensAlias
GetLensReviewRequest & WithLensAlias(const char *value)
Definition: GetLensReviewRequest.h:91
Aws::WellArchitected::WellArchitectedRequest
Definition: WellArchitectedRequest.h:17
Aws::WellArchitected::Model::GetLensReviewRequest::WithWorkloadId
GetLensReviewRequest & WithWorkloadId(const char *value)
Definition: GetLensReviewRequest.h:66
Aws::WellArchitected::Model::GetLensReviewRequest::SetMilestoneNumber
void SetMilestoneNumber(int value)
Definition: GetLensReviewRequest.h:101
Aws::WellArchitected::Model::GetLensReviewRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::WellArchitected::Model::GetLensReviewRequest::SetLensAlias
void SetLensAlias(const char *value)
Definition: GetLensReviewRequest.h:82
Aws::WellArchitected::Model::GetLensReviewRequest::MilestoneNumberHasBeenSet
bool MilestoneNumberHasBeenSet() const
Definition: GetLensReviewRequest.h:98
Aws::WellArchitected::Model::GetLensReviewRequest::GetLensReviewRequest
GetLensReviewRequest()
Aws::WellArchitected::Model::GetLensReviewRequest
Definition: GetLensReviewRequest.h:29
AWSString.h
Aws::WellArchitected::Model::GetLensReviewRequest::GetMilestoneNumber
int GetMilestoneNumber() const
Definition: GetLensReviewRequest.h:95
Aws::WellArchitected::Model::GetLensReviewRequest::SetLensAlias
void SetLensAlias(Aws::String &&value)
Definition: GetLensReviewRequest.h:79
Aws::WellArchitected::Model::GetLensReviewRequest::SetLensAlias
void SetLensAlias(const Aws::String &value)
Definition: GetLensReviewRequest.h:76
AWS_WELLARCHITECTED_API
#define AWS_WELLARCHITECTED_API
Definition: WellArchitected_EXPORTS.h:28
Aws::WellArchitected::Model::GetLensReviewRequest::WithLensAlias
GetLensReviewRequest & WithLensAlias(Aws::String &&value)
Definition: GetLensReviewRequest.h:88
Aws::WellArchitected::Model::GetLensReviewRequest::WorkloadIdHasBeenSet
bool WorkloadIdHasBeenSet() const
Definition: GetLensReviewRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::WellArchitected::Model::GetLensReviewRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetLensReviewRequest.h:37
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WellArchitected::Model::GetLensReviewRequest::GetLensAlias
const Aws::String & GetLensAlias() const
Definition: GetLensReviewRequest.h:70
Aws::WellArchitected::Model::GetLensReviewRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WellArchitected::Model::GetLensReviewRequest::WithWorkloadId
GetLensReviewRequest & WithWorkloadId(const Aws::String &value)
Definition: GetLensReviewRequest.h:60
Aws::WellArchitected::Model::GetLensReviewRequest::WithLensAlias
GetLensReviewRequest & WithLensAlias(const Aws::String &value)
Definition: GetLensReviewRequest.h:85
Aws::WellArchitected::Model::GetLensReviewRequest::GetWorkloadId
const Aws::String & GetWorkloadId() const
Definition: GetLensReviewRequest.h:45
Aws::WellArchitected::Model::GetLensReviewRequest::SetWorkloadId
void SetWorkloadId(Aws::String &&value)
Definition: GetLensReviewRequest.h:54