AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateReviewTemplateRequest.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/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WellArchitected
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WELLARCHITECTED_API UpdateReviewTemplateRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateReviewTemplate"; }
32
33 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetTemplateArn() const { return m_templateArn; }
41 inline bool TemplateArnHasBeenSet() const { return m_templateArnHasBeenSet; }
42 template<typename TemplateArnT = Aws::String>
43 void SetTemplateArn(TemplateArnT&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::forward<TemplateArnT>(value); }
44 template<typename TemplateArnT = Aws::String>
45 UpdateReviewTemplateRequest& WithTemplateArn(TemplateArnT&& value) { SetTemplateArn(std::forward<TemplateArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetTemplateName() const { return m_templateName; }
53 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
54 template<typename TemplateNameT = Aws::String>
55 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet = true; m_templateName = std::forward<TemplateNameT>(value); }
56 template<typename TemplateNameT = Aws::String>
57 UpdateReviewTemplateRequest& WithTemplateName(TemplateNameT&& value) { SetTemplateName(std::forward<TemplateNameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
66 template<typename DescriptionT = Aws::String>
67 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
68 template<typename DescriptionT = Aws::String>
69 UpdateReviewTemplateRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
71
73
74 inline const Aws::String& GetNotes() const { return m_notes; }
75 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
76 template<typename NotesT = Aws::String>
77 void SetNotes(NotesT&& value) { m_notesHasBeenSet = true; m_notes = std::forward<NotesT>(value); }
78 template<typename NotesT = Aws::String>
79 UpdateReviewTemplateRequest& WithNotes(NotesT&& value) { SetNotes(std::forward<NotesT>(value)); return *this;}
81
83
86 inline const Aws::Vector<Aws::String>& GetLensesToAssociate() const { return m_lensesToAssociate; }
87 inline bool LensesToAssociateHasBeenSet() const { return m_lensesToAssociateHasBeenSet; }
88 template<typename LensesToAssociateT = Aws::Vector<Aws::String>>
89 void SetLensesToAssociate(LensesToAssociateT&& value) { m_lensesToAssociateHasBeenSet = true; m_lensesToAssociate = std::forward<LensesToAssociateT>(value); }
90 template<typename LensesToAssociateT = Aws::Vector<Aws::String>>
91 UpdateReviewTemplateRequest& WithLensesToAssociate(LensesToAssociateT&& value) { SetLensesToAssociate(std::forward<LensesToAssociateT>(value)); return *this;}
92 template<typename LensesToAssociateT = Aws::String>
93 UpdateReviewTemplateRequest& AddLensesToAssociate(LensesToAssociateT&& value) { m_lensesToAssociateHasBeenSet = true; m_lensesToAssociate.emplace_back(std::forward<LensesToAssociateT>(value)); return *this; }
95
97
101 inline const Aws::Vector<Aws::String>& GetLensesToDisassociate() const { return m_lensesToDisassociate; }
102 inline bool LensesToDisassociateHasBeenSet() const { return m_lensesToDisassociateHasBeenSet; }
103 template<typename LensesToDisassociateT = Aws::Vector<Aws::String>>
104 void SetLensesToDisassociate(LensesToDisassociateT&& value) { m_lensesToDisassociateHasBeenSet = true; m_lensesToDisassociate = std::forward<LensesToDisassociateT>(value); }
105 template<typename LensesToDisassociateT = Aws::Vector<Aws::String>>
106 UpdateReviewTemplateRequest& WithLensesToDisassociate(LensesToDisassociateT&& value) { SetLensesToDisassociate(std::forward<LensesToDisassociateT>(value)); return *this;}
107 template<typename LensesToDisassociateT = Aws::String>
108 UpdateReviewTemplateRequest& AddLensesToDisassociate(LensesToDisassociateT&& value) { m_lensesToDisassociateHasBeenSet = true; m_lensesToDisassociate.emplace_back(std::forward<LensesToDisassociateT>(value)); return *this; }
110 private:
111
112 Aws::String m_templateArn;
113 bool m_templateArnHasBeenSet = false;
114
115 Aws::String m_templateName;
116 bool m_templateNameHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120
121 Aws::String m_notes;
122 bool m_notesHasBeenSet = false;
123
124 Aws::Vector<Aws::String> m_lensesToAssociate;
125 bool m_lensesToAssociateHasBeenSet = false;
126
127 Aws::Vector<Aws::String> m_lensesToDisassociate;
128 bool m_lensesToDisassociateHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace WellArchitected
133} // namespace Aws
UpdateReviewTemplateRequest & WithTemplateName(TemplateNameT &&value)
UpdateReviewTemplateRequest & AddLensesToDisassociate(LensesToDisassociateT &&value)
UpdateReviewTemplateRequest & WithLensesToAssociate(LensesToAssociateT &&value)
const Aws::Vector< Aws::String > & GetLensesToDisassociate() const
UpdateReviewTemplateRequest & WithLensesToDisassociate(LensesToDisassociateT &&value)
UpdateReviewTemplateRequest & AddLensesToAssociate(LensesToAssociateT &&value)
UpdateReviewTemplateRequest & WithNotes(NotesT &&value)
AWS_WELLARCHITECTED_API UpdateReviewTemplateRequest()=default
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetLensesToAssociate() const
UpdateReviewTemplateRequest & WithTemplateArn(TemplateArnT &&value)
UpdateReviewTemplateRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector