AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpgradeLensReviewRequest.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 WellArchitected
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_WELLARCHITECTED_API UpgradeLensReviewRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpgradeLensReview"; }
31
32 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
33
34
36
37 inline const Aws::String& GetWorkloadId() const{ return m_workloadId; }
38 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
39 inline void SetWorkloadId(const Aws::String& value) { m_workloadIdHasBeenSet = true; m_workloadId = value; }
40 inline void SetWorkloadId(Aws::String&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::move(value); }
41 inline void SetWorkloadId(const char* value) { m_workloadIdHasBeenSet = true; m_workloadId.assign(value); }
42 inline UpgradeLensReviewRequest& WithWorkloadId(const Aws::String& value) { SetWorkloadId(value); return *this;}
43 inline UpgradeLensReviewRequest& WithWorkloadId(Aws::String&& value) { SetWorkloadId(std::move(value)); return *this;}
44 inline UpgradeLensReviewRequest& WithWorkloadId(const char* value) { SetWorkloadId(value); return *this;}
46
48
49 inline const Aws::String& GetLensAlias() const{ return m_lensAlias; }
50 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
51 inline void SetLensAlias(const Aws::String& value) { m_lensAliasHasBeenSet = true; m_lensAlias = value; }
52 inline void SetLensAlias(Aws::String&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::move(value); }
53 inline void SetLensAlias(const char* value) { m_lensAliasHasBeenSet = true; m_lensAlias.assign(value); }
54 inline UpgradeLensReviewRequest& WithLensAlias(const Aws::String& value) { SetLensAlias(value); return *this;}
55 inline UpgradeLensReviewRequest& WithLensAlias(Aws::String&& value) { SetLensAlias(std::move(value)); return *this;}
56 inline UpgradeLensReviewRequest& WithLensAlias(const char* value) { SetLensAlias(value); return *this;}
58
60
61 inline const Aws::String& GetMilestoneName() const{ return m_milestoneName; }
62 inline bool MilestoneNameHasBeenSet() const { return m_milestoneNameHasBeenSet; }
63 inline void SetMilestoneName(const Aws::String& value) { m_milestoneNameHasBeenSet = true; m_milestoneName = value; }
64 inline void SetMilestoneName(Aws::String&& value) { m_milestoneNameHasBeenSet = true; m_milestoneName = std::move(value); }
65 inline void SetMilestoneName(const char* value) { m_milestoneNameHasBeenSet = true; m_milestoneName.assign(value); }
66 inline UpgradeLensReviewRequest& WithMilestoneName(const Aws::String& value) { SetMilestoneName(value); return *this;}
67 inline UpgradeLensReviewRequest& WithMilestoneName(Aws::String&& value) { SetMilestoneName(std::move(value)); return *this;}
68 inline UpgradeLensReviewRequest& WithMilestoneName(const char* value) { SetMilestoneName(value); return *this;}
70
72
73 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
74 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
75 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
76 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
77 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
79 inline UpgradeLensReviewRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
80 inline UpgradeLensReviewRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
82 private:
83
84 Aws::String m_workloadId;
85 bool m_workloadIdHasBeenSet = false;
86
87 Aws::String m_lensAlias;
88 bool m_lensAliasHasBeenSet = false;
89
90 Aws::String m_milestoneName;
91 bool m_milestoneNameHasBeenSet = false;
92
93 Aws::String m_clientRequestToken;
94 bool m_clientRequestTokenHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace WellArchitected
99} // namespace Aws
UpgradeLensReviewRequest & WithWorkloadId(const Aws::String &value)
UpgradeLensReviewRequest & WithMilestoneName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpgradeLensReviewRequest & WithClientRequestToken(const char *value)
UpgradeLensReviewRequest & WithWorkloadId(Aws::String &&value)
UpgradeLensReviewRequest & WithClientRequestToken(Aws::String &&value)
UpgradeLensReviewRequest & WithLensAlias(Aws::String &&value)
UpgradeLensReviewRequest & WithLensAlias(const Aws::String &value)
UpgradeLensReviewRequest & WithMilestoneName(const char *value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
UpgradeLensReviewRequest & WithClientRequestToken(const Aws::String &value)
UpgradeLensReviewRequest & WithMilestoneName(Aws::String &&value)
UpgradeLensReviewRequest & WithLensAlias(const char *value)
UpgradeLensReviewRequest & WithWorkloadId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String