AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTemplateArn(const Aws::String& value) { m_templateArnHasBeenSet = true; m_templateArn = value; }
43 inline void SetTemplateArn(Aws::String&& value) { m_templateArnHasBeenSet = true; m_templateArn = std::move(value); }
44 inline void SetTemplateArn(const char* value) { m_templateArnHasBeenSet = true; m_templateArn.assign(value); }
45 inline UpdateReviewTemplateRequest& WithTemplateArn(const Aws::String& value) { SetTemplateArn(value); return *this;}
46 inline UpdateReviewTemplateRequest& WithTemplateArn(Aws::String&& value) { SetTemplateArn(std::move(value)); return *this;}
47 inline UpdateReviewTemplateRequest& WithTemplateArn(const char* value) { SetTemplateArn(value); return *this;}
49
51
54 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
55 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
56 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
57 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
58 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
59 inline UpdateReviewTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
60 inline UpdateReviewTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
61 inline UpdateReviewTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
71 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
72 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
73 inline UpdateReviewTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
74 inline UpdateReviewTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
75 inline UpdateReviewTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
77
79
80 inline const Aws::String& GetNotes() const{ return m_notes; }
81 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
82 inline void SetNotes(const Aws::String& value) { m_notesHasBeenSet = true; m_notes = value; }
83 inline void SetNotes(Aws::String&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); }
84 inline void SetNotes(const char* value) { m_notesHasBeenSet = true; m_notes.assign(value); }
85 inline UpdateReviewTemplateRequest& WithNotes(const Aws::String& value) { SetNotes(value); return *this;}
86 inline UpdateReviewTemplateRequest& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;}
87 inline UpdateReviewTemplateRequest& WithNotes(const char* value) { SetNotes(value); return *this;}
89
91
94 inline const Aws::Vector<Aws::String>& GetLensesToAssociate() const{ return m_lensesToAssociate; }
95 inline bool LensesToAssociateHasBeenSet() const { return m_lensesToAssociateHasBeenSet; }
96 inline void SetLensesToAssociate(const Aws::Vector<Aws::String>& value) { m_lensesToAssociateHasBeenSet = true; m_lensesToAssociate = value; }
97 inline void SetLensesToAssociate(Aws::Vector<Aws::String>&& value) { m_lensesToAssociateHasBeenSet = true; m_lensesToAssociate = std::move(value); }
100 inline UpdateReviewTemplateRequest& AddLensesToAssociate(const Aws::String& value) { m_lensesToAssociateHasBeenSet = true; m_lensesToAssociate.push_back(value); return *this; }
101 inline UpdateReviewTemplateRequest& AddLensesToAssociate(Aws::String&& value) { m_lensesToAssociateHasBeenSet = true; m_lensesToAssociate.push_back(std::move(value)); return *this; }
102 inline UpdateReviewTemplateRequest& AddLensesToAssociate(const char* value) { m_lensesToAssociateHasBeenSet = true; m_lensesToAssociate.push_back(value); return *this; }
104
106
110 inline const Aws::Vector<Aws::String>& GetLensesToDisassociate() const{ return m_lensesToDisassociate; }
111 inline bool LensesToDisassociateHasBeenSet() const { return m_lensesToDisassociateHasBeenSet; }
112 inline void SetLensesToDisassociate(const Aws::Vector<Aws::String>& value) { m_lensesToDisassociateHasBeenSet = true; m_lensesToDisassociate = value; }
113 inline void SetLensesToDisassociate(Aws::Vector<Aws::String>&& value) { m_lensesToDisassociateHasBeenSet = true; m_lensesToDisassociate = std::move(value); }
116 inline UpdateReviewTemplateRequest& AddLensesToDisassociate(const Aws::String& value) { m_lensesToDisassociateHasBeenSet = true; m_lensesToDisassociate.push_back(value); return *this; }
117 inline UpdateReviewTemplateRequest& AddLensesToDisassociate(Aws::String&& value) { m_lensesToDisassociateHasBeenSet = true; m_lensesToDisassociate.push_back(std::move(value)); return *this; }
118 inline UpdateReviewTemplateRequest& AddLensesToDisassociate(const char* value) { m_lensesToDisassociateHasBeenSet = true; m_lensesToDisassociate.push_back(value); return *this; }
120 private:
121
122 Aws::String m_templateArn;
123 bool m_templateArnHasBeenSet = false;
124
125 Aws::String m_templateName;
126 bool m_templateNameHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
131 Aws::String m_notes;
132 bool m_notesHasBeenSet = false;
133
134 Aws::Vector<Aws::String> m_lensesToAssociate;
135 bool m_lensesToAssociateHasBeenSet = false;
136
137 Aws::Vector<Aws::String> m_lensesToDisassociate;
138 bool m_lensesToDisassociateHasBeenSet = false;
139 };
140
141} // namespace Model
142} // namespace WellArchitected
143} // namespace Aws
UpdateReviewTemplateRequest & AddLensesToAssociate(const char *value)
void SetLensesToDisassociate(const Aws::Vector< Aws::String > &value)
UpdateReviewTemplateRequest & AddLensesToDisassociate(const Aws::String &value)
UpdateReviewTemplateRequest & WithDescription(const char *value)
UpdateReviewTemplateRequest & AddLensesToAssociate(const Aws::String &value)
UpdateReviewTemplateRequest & WithTemplateName(Aws::String &&value)
void SetLensesToAssociate(const Aws::Vector< Aws::String > &value)
UpdateReviewTemplateRequest & WithNotes(const Aws::String &value)
UpdateReviewTemplateRequest & WithLensesToAssociate(Aws::Vector< Aws::String > &&value)
UpdateReviewTemplateRequest & WithTemplateArn(Aws::String &&value)
UpdateReviewTemplateRequest & WithLensesToAssociate(const Aws::Vector< Aws::String > &value)
UpdateReviewTemplateRequest & WithTemplateArn(const Aws::String &value)
const Aws::Vector< Aws::String > & GetLensesToDisassociate() const
UpdateReviewTemplateRequest & WithNotes(Aws::String &&value)
UpdateReviewTemplateRequest & WithLensesToDisassociate(Aws::Vector< Aws::String > &&value)
UpdateReviewTemplateRequest & WithTemplateName(const Aws::String &value)
UpdateReviewTemplateRequest & AddLensesToDisassociate(Aws::String &&value)
UpdateReviewTemplateRequest & WithLensesToDisassociate(const Aws::Vector< Aws::String > &value)
UpdateReviewTemplateRequest & WithNotes(const char *value)
UpdateReviewTemplateRequest & AddLensesToDisassociate(const char *value)
UpdateReviewTemplateRequest & WithDescription(const Aws::String &value)
UpdateReviewTemplateRequest & AddLensesToAssociate(Aws::String &&value)
UpdateReviewTemplateRequest & WithTemplateName(const char *value)
UpdateReviewTemplateRequest & WithDescription(Aws::String &&value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetLensesToAssociate() const
UpdateReviewTemplateRequest & WithTemplateArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector