AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
UpdateLensReviewRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/wellarchitected/WellArchitectedRequest.h>
10#include <aws/wellarchitected/WellArchitected_EXPORTS.h>
11#include <aws/wellarchitected/model/JiraSelectedQuestionConfiguration.h>
12
13#include <utility>
14
15namespace Aws {
16namespace WellArchitected {
17namespace Model {
18
25 public:
26 AWS_WELLARCHITECTED_API UpdateLensReviewRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateLensReview"; }
33
34 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
35
37
38 inline const Aws::String& GetWorkloadId() const { return m_workloadId; }
39 inline bool WorkloadIdHasBeenSet() const { return m_workloadIdHasBeenSet; }
40 template <typename WorkloadIdT = Aws::String>
41 void SetWorkloadId(WorkloadIdT&& value) {
42 m_workloadIdHasBeenSet = true;
43 m_workloadId = std::forward<WorkloadIdT>(value);
44 }
45 template <typename WorkloadIdT = Aws::String>
47 SetWorkloadId(std::forward<WorkloadIdT>(value));
48 return *this;
49 }
51
53
54 inline const Aws::String& GetLensAlias() const { return m_lensAlias; }
55 inline bool LensAliasHasBeenSet() const { return m_lensAliasHasBeenSet; }
56 template <typename LensAliasT = Aws::String>
57 void SetLensAlias(LensAliasT&& value) {
58 m_lensAliasHasBeenSet = true;
59 m_lensAlias = std::forward<LensAliasT>(value);
60 }
61 template <typename LensAliasT = Aws::String>
63 SetLensAlias(std::forward<LensAliasT>(value));
64 return *this;
65 }
67
69
70 inline const Aws::String& GetLensNotes() const { return m_lensNotes; }
71 inline bool LensNotesHasBeenSet() const { return m_lensNotesHasBeenSet; }
72 template <typename LensNotesT = Aws::String>
73 void SetLensNotes(LensNotesT&& value) {
74 m_lensNotesHasBeenSet = true;
75 m_lensNotes = std::forward<LensNotesT>(value);
76 }
77 template <typename LensNotesT = Aws::String>
79 SetLensNotes(std::forward<LensNotesT>(value));
80 return *this;
81 }
83
85
86 inline const Aws::Map<Aws::String, Aws::String>& GetPillarNotes() const { return m_pillarNotes; }
87 inline bool PillarNotesHasBeenSet() const { return m_pillarNotesHasBeenSet; }
88 template <typename PillarNotesT = Aws::Map<Aws::String, Aws::String>>
89 void SetPillarNotes(PillarNotesT&& value) {
90 m_pillarNotesHasBeenSet = true;
91 m_pillarNotes = std::forward<PillarNotesT>(value);
92 }
93 template <typename PillarNotesT = Aws::Map<Aws::String, Aws::String>>
95 SetPillarNotes(std::forward<PillarNotesT>(value));
96 return *this;
97 }
98 template <typename PillarNotesKeyT = Aws::String, typename PillarNotesValueT = Aws::String>
99 UpdateLensReviewRequest& AddPillarNotes(PillarNotesKeyT&& key, PillarNotesValueT&& value) {
100 m_pillarNotesHasBeenSet = true;
101 m_pillarNotes.emplace(std::forward<PillarNotesKeyT>(key), std::forward<PillarNotesValueT>(value));
102 return *this;
103 }
105
107
110 inline const JiraSelectedQuestionConfiguration& GetJiraConfiguration() const { return m_jiraConfiguration; }
111 inline bool JiraConfigurationHasBeenSet() const { return m_jiraConfigurationHasBeenSet; }
112 template <typename JiraConfigurationT = JiraSelectedQuestionConfiguration>
113 void SetJiraConfiguration(JiraConfigurationT&& value) {
114 m_jiraConfigurationHasBeenSet = true;
115 m_jiraConfiguration = std::forward<JiraConfigurationT>(value);
116 }
117 template <typename JiraConfigurationT = JiraSelectedQuestionConfiguration>
118 UpdateLensReviewRequest& WithJiraConfiguration(JiraConfigurationT&& value) {
119 SetJiraConfiguration(std::forward<JiraConfigurationT>(value));
120 return *this;
121 }
123 private:
124 Aws::String m_workloadId;
125 bool m_workloadIdHasBeenSet = false;
126
127 Aws::String m_lensAlias;
128 bool m_lensAliasHasBeenSet = false;
129
130 Aws::String m_lensNotes;
131 bool m_lensNotesHasBeenSet = false;
132
134 bool m_pillarNotesHasBeenSet = false;
135
136 JiraSelectedQuestionConfiguration m_jiraConfiguration;
137 bool m_jiraConfigurationHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace WellArchitected
142} // 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