AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReviewTemplateRequest.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 <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace WellArchitected
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_WELLARCHITECTED_API CreateReviewTemplateRequest();
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateReviewTemplate"; }
34
35 AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override;
36
37
39
42 inline const Aws::String& GetTemplateName() const{ return m_templateName; }
43 inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; }
44 inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; }
45 inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); }
46 inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); }
47 inline CreateReviewTemplateRequest& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;}
48 inline CreateReviewTemplateRequest& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;}
49 inline CreateReviewTemplateRequest& WithTemplateName(const char* value) { SetTemplateName(value); return *this;}
51
53
56 inline const Aws::String& GetDescription() const{ return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
59 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
60 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
61 inline CreateReviewTemplateRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
62 inline CreateReviewTemplateRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
63 inline CreateReviewTemplateRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
65
67
70 inline const Aws::Vector<Aws::String>& GetLenses() const{ return m_lenses; }
71 inline bool LensesHasBeenSet() const { return m_lensesHasBeenSet; }
72 inline void SetLenses(const Aws::Vector<Aws::String>& value) { m_lensesHasBeenSet = true; m_lenses = value; }
73 inline void SetLenses(Aws::Vector<Aws::String>&& value) { m_lensesHasBeenSet = true; m_lenses = std::move(value); }
74 inline CreateReviewTemplateRequest& WithLenses(const Aws::Vector<Aws::String>& value) { SetLenses(value); return *this;}
75 inline CreateReviewTemplateRequest& WithLenses(Aws::Vector<Aws::String>&& value) { SetLenses(std::move(value)); return *this;}
76 inline CreateReviewTemplateRequest& AddLenses(const Aws::String& value) { m_lensesHasBeenSet = true; m_lenses.push_back(value); return *this; }
77 inline CreateReviewTemplateRequest& AddLenses(Aws::String&& value) { m_lensesHasBeenSet = true; m_lenses.push_back(std::move(value)); return *this; }
78 inline CreateReviewTemplateRequest& AddLenses(const char* value) { m_lensesHasBeenSet = true; m_lenses.push_back(value); return *this; }
80
82
83 inline const Aws::String& GetNotes() const{ return m_notes; }
84 inline bool NotesHasBeenSet() const { return m_notesHasBeenSet; }
85 inline void SetNotes(const Aws::String& value) { m_notesHasBeenSet = true; m_notes = value; }
86 inline void SetNotes(Aws::String&& value) { m_notesHasBeenSet = true; m_notes = std::move(value); }
87 inline void SetNotes(const char* value) { m_notesHasBeenSet = true; m_notes.assign(value); }
88 inline CreateReviewTemplateRequest& WithNotes(const Aws::String& value) { SetNotes(value); return *this;}
89 inline CreateReviewTemplateRequest& WithNotes(Aws::String&& value) { SetNotes(std::move(value)); return *this;}
90 inline CreateReviewTemplateRequest& WithNotes(const char* value) { SetNotes(value); return *this;}
92
94
97 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
98 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
99 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
100 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
102 inline CreateReviewTemplateRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
103 inline CreateReviewTemplateRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
104 inline CreateReviewTemplateRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
105 inline CreateReviewTemplateRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
106 inline CreateReviewTemplateRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
107 inline CreateReviewTemplateRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
108 inline CreateReviewTemplateRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
109 inline CreateReviewTemplateRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
111
113
114 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
115 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
116 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
117 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
118 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
120 inline CreateReviewTemplateRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
121 inline CreateReviewTemplateRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
123 private:
124
125 Aws::String m_templateName;
126 bool m_templateNameHasBeenSet = false;
127
128 Aws::String m_description;
129 bool m_descriptionHasBeenSet = false;
130
132 bool m_lensesHasBeenSet = false;
133
134 Aws::String m_notes;
135 bool m_notesHasBeenSet = false;
136
138 bool m_tagsHasBeenSet = false;
139
140 Aws::String m_clientRequestToken;
141 bool m_clientRequestTokenHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace WellArchitected
146} // namespace Aws
CreateReviewTemplateRequest & WithDescription(const char *value)
CreateReviewTemplateRequest & WithClientRequestToken(Aws::String &&value)
CreateReviewTemplateRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateReviewTemplateRequest & WithClientRequestToken(const Aws::String &value)
CreateReviewTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReviewTemplateRequest & AddLenses(const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateReviewTemplateRequest & WithClientRequestToken(const char *value)
CreateReviewTemplateRequest & WithTemplateName(const Aws::String &value)
CreateReviewTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateReviewTemplateRequest & WithDescription(Aws::String &&value)
CreateReviewTemplateRequest & AddLenses(Aws::String &&value)
CreateReviewTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetLenses(const Aws::Vector< Aws::String > &value)
AWS_WELLARCHITECTED_API Aws::String SerializePayload() const override
CreateReviewTemplateRequest & WithNotes(const Aws::String &value)
CreateReviewTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateReviewTemplateRequest & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateReviewTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateReviewTemplateRequest & WithLenses(Aws::Vector< Aws::String > &&value)
CreateReviewTemplateRequest & AddTags(const char *key, Aws::String &&value)
CreateReviewTemplateRequest & WithTemplateName(Aws::String &&value)
CreateReviewTemplateRequest & WithDescription(const Aws::String &value)
CreateReviewTemplateRequest & AddTags(const char *key, const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateReviewTemplateRequest & WithNotes(Aws::String &&value)
CreateReviewTemplateRequest & WithTemplateName(const char *value)
CreateReviewTemplateRequest & WithNotes(const char *value)
CreateReviewTemplateRequest & WithLenses(const Aws::Vector< Aws::String > &value)
CreateReviewTemplateRequest & AddLenses(const char *value)
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
std::vector< T, Aws::Allocator< T > > Vector