AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateLensReviewRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/wellarchitected/model/JiraSelectedQuestionConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace WellArchitected
17{
18namespace Model
19{
20
27 {
28 public:
29 AWS_WELLARCHITECTED_API UpdateLensReviewRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateLensReview"; }
36
37 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
38
39
41
42 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
43 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
44 template<typename WorkloadIdT = Aws::String>
45 void SetWorkloadId(WorkloadIdT&& value) { m_workloadIdHasBeenSet = true; m_workloadId = std::forward<WorkloadIdT>(value); }
46 template<typename WorkloadIdT = Aws::String>
47 UpdateLensReviewRequest& WithWorkloadId(WorkloadIdT&& value) { SetWorkloadId(std::forward<WorkloadIdT>(value)); return *this;}
49
51
52 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
53 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
54 template<typename LensAliasT = Aws::String>
55 void SetLensAlias(LensAliasT&& value) { m_lensAliasHasBeenSet = true; m_lensAlias = std::forward<LensAliasT>(value); }
56 template<typename LensAliasT = Aws::String>
57 UpdateLensReviewRequest& WithLensAlias(LensAliasT&& value) { SetLensAlias(std::forward<LensAliasT>(value)); return *this;}
59
61
62 inline const Aws::String& GetLensNotes() const { return m_lensNotes; }
63 inline bool LensNotesHasBeenSet() const { return m_lensNotesHasBeenSet; }
64 template<typename LensNotesT = Aws::String>
65 void SetLensNotes(LensNotesT&& value) { m_lensNotesHasBeenSet = true; m_lensNotes = std::forward<LensNotesT>(value); }
66 template<typename LensNotesT = Aws::String>
67 UpdateLensReviewRequest& WithLensNotes(LensNotesT&& value) { SetLensNotes(std::forward<LensNotesT>(value)); return *this;}
69
71
72 inline const Aws::Map<Aws::String, Aws::String>& GetPillarNotes() const { return m_pillarNotes; }
73 inline bool PillarNotesHasBeenSet() const { return m_pillarNotesHasBeenSet; }
74 template<typename PillarNotesT = Aws::Map<Aws::String, Aws::String>>
75 void SetPillarNotes(PillarNotesT&& value) { m_pillarNotesHasBeenSet = true; m_pillarNotes = std::forward<PillarNotesT>(value); }
76 template<typename PillarNotesT = Aws::Map<Aws::String, Aws::String>>
77 UpdateLensReviewRequest& WithPillarNotes(PillarNotesT&& value) { SetPillarNotes(std::forward<PillarNotesT>(value)); return *this;}
78 template<typename PillarNotesKeyT = Aws::String, typename PillarNotesValueT = Aws::String>
79 UpdateLensReviewRequest& AddPillarNotes(PillarNotesKeyT&& key, PillarNotesValueT&& value) {
80 m_pillarNotesHasBeenSet = true; m_pillarNotes.emplace(std::forward<PillarNotesKeyT>(key), std::forward<PillarNotesValueT>(value)); return *this;
81 }
83
85
88 inline const JiraSelectedQuestionConfiguration& GetJiraConfiguration() const { return m_jiraConfiguration; }
89 inline bool JiraConfigurationHasBeenSet() const { return m_jiraConfigurationHasBeenSet; }
90 template<typename JiraConfigurationT = JiraSelectedQuestionConfiguration>
91 void SetJiraConfiguration(JiraConfigurationT&& value) { m_jiraConfigurationHasBeenSet = true; m_jiraConfiguration = std::forward<JiraConfigurationT>(value); }
92 template<typename JiraConfigurationT = JiraSelectedQuestionConfiguration>
93 UpdateLensReviewRequest& WithJiraConfiguration(JiraConfigurationT&& value) { SetJiraConfiguration(std::forward<JiraConfigurationT>(value)); return *this;}
95 private:
96
97 Aws::String m_workloadId;
98 bool m_workloadIdHasBeenSet = false;
99
100 Aws::String m_lensAlias;
101 bool m_lensAliasHasBeenSet = false;
102
103 Aws::String m_lensNotes;
104 bool m_lensNotesHasBeenSet = false;
105
107 bool m_pillarNotesHasBeenSet = false;
108
109 JiraSelectedQuestionConfiguration m_jiraConfiguration;
110 bool m_jiraConfigurationHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace WellArchitected
115} // namespace Aws
const JiraSelectedQuestionConfiguration & GetJiraConfiguration() const
UpdateLensReviewRequest & WithJiraConfiguration(JiraConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
UpdateLensReviewRequest & WithLensNotes(LensNotesT &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
UpdateLensReviewRequest & WithWorkloadId(WorkloadIdT &&value)
AWS_WELLARCHITECTED_API UpdateLensReviewRequest()=default
UpdateLensReviewRequest & WithPillarNotes(PillarNotesT &&value)
UpdateLensReviewRequest & WithLensAlias(LensAliasT &&value)
UpdateLensReviewRequest & AddPillarNotes(PillarNotesKeyT &&key, PillarNotesValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetPillarNotes() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String