AWS SDK for C++  1.8.129
AWS SDK for C++
UpdateWorldTemplateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace RoboMaker
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "UpdateWorldTemplate"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetTemplate() const{ return m_template; }
40 
44  inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
45 
49  inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
50 
54  inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
55 
59  inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
60 
64  inline UpdateWorldTemplateRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
65 
69  inline UpdateWorldTemplateRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
70 
74  inline UpdateWorldTemplateRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
75 
76 
80  inline const Aws::String& GetName() const{ return m_name; }
81 
85  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
86 
90  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
91 
95  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
96 
100  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
101 
105  inline UpdateWorldTemplateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
106 
110  inline UpdateWorldTemplateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
111 
115  inline UpdateWorldTemplateRequest& WithName(const char* value) { SetName(value); return *this;}
116 
117 
121  inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
122 
126  inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
127 
131  inline void SetTemplateBody(const Aws::String& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
132 
136  inline void SetTemplateBody(Aws::String&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::move(value); }
137 
141  inline void SetTemplateBody(const char* value) { m_templateBodyHasBeenSet = true; m_templateBody.assign(value); }
142 
146  inline UpdateWorldTemplateRequest& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
147 
151  inline UpdateWorldTemplateRequest& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
152 
156  inline UpdateWorldTemplateRequest& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
157 
158 
162  inline const TemplateLocation& GetTemplateLocation() const{ return m_templateLocation; }
163 
167  inline bool TemplateLocationHasBeenSet() const { return m_templateLocationHasBeenSet; }
168 
172  inline void SetTemplateLocation(const TemplateLocation& value) { m_templateLocationHasBeenSet = true; m_templateLocation = value; }
173 
177  inline void SetTemplateLocation(TemplateLocation&& value) { m_templateLocationHasBeenSet = true; m_templateLocation = std::move(value); }
178 
182  inline UpdateWorldTemplateRequest& WithTemplateLocation(const TemplateLocation& value) { SetTemplateLocation(value); return *this;}
183 
187  inline UpdateWorldTemplateRequest& WithTemplateLocation(TemplateLocation&& value) { SetTemplateLocation(std::move(value)); return *this;}
188 
189  private:
190 
191  Aws::String m_template;
192  bool m_templateHasBeenSet;
193 
194  Aws::String m_name;
195  bool m_nameHasBeenSet;
196 
197  Aws::String m_templateBody;
198  bool m_templateBodyHasBeenSet;
199 
200  TemplateLocation m_templateLocation;
201  bool m_templateLocationHasBeenSet;
202  };
203 
204 } // namespace Model
205 } // namespace RoboMaker
206 } // namespace Aws
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::WithName
UpdateWorldTemplateRequest & WithName(const char *value)
Definition: UpdateWorldTemplateRequest.h:115
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::TemplateBodyHasBeenSet
bool TemplateBodyHasBeenSet() const
Definition: UpdateWorldTemplateRequest.h:126
Aws::RoboMaker::Model::TemplateLocation
Definition: TemplateLocation.h:32
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SetTemplateBody
void SetTemplateBody(const Aws::String &value)
Definition: UpdateWorldTemplateRequest.h:131
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SetName
void SetName(const char *value)
Definition: UpdateWorldTemplateRequest.h:100
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::WithName
UpdateWorldTemplateRequest & WithName(Aws::String &&value)
Definition: UpdateWorldTemplateRequest.h:110
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SetTemplate
void SetTemplate(const Aws::String &value)
Definition: UpdateWorldTemplateRequest.h:49
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::WithName
UpdateWorldTemplateRequest & WithName(const Aws::String &value)
Definition: UpdateWorldTemplateRequest.h:105
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SetTemplateBody
void SetTemplateBody(Aws::String &&value)
Definition: UpdateWorldTemplateRequest.h:136
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SetTemplateLocation
void SetTemplateLocation(const TemplateLocation &value)
Definition: UpdateWorldTemplateRequest.h:172
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateWorldTemplateRequest.h:85
RoboMakerRequest.h
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::WithTemplate
UpdateWorldTemplateRequest & WithTemplate(const char *value)
Definition: UpdateWorldTemplateRequest.h:74
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::WithTemplateLocation
UpdateWorldTemplateRequest & WithTemplateLocation(TemplateLocation &&value)
Definition: UpdateWorldTemplateRequest.h:187
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateWorldTemplateRequest.h:31
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::WithTemplateBody
UpdateWorldTemplateRequest & WithTemplateBody(Aws::String &&value)
Definition: UpdateWorldTemplateRequest.h:151
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateWorldTemplateRequest.h:90
RoboMaker_EXPORTS.h
AWSString.h
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::WithTemplate
UpdateWorldTemplateRequest & WithTemplate(Aws::String &&value)
Definition: UpdateWorldTemplateRequest.h:69
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::GetName
const Aws::String & GetName() const
Definition: UpdateWorldTemplateRequest.h:80
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::WithTemplateBody
UpdateWorldTemplateRequest & WithTemplateBody(const char *value)
Definition: UpdateWorldTemplateRequest.h:156
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::TemplateHasBeenSet
bool TemplateHasBeenSet() const
Definition: UpdateWorldTemplateRequest.h:44
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SetTemplateBody
void SetTemplateBody(const char *value)
Definition: UpdateWorldTemplateRequest.h:141
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::WithTemplate
UpdateWorldTemplateRequest & WithTemplate(const Aws::String &value)
Definition: UpdateWorldTemplateRequest.h:64
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SetTemplate
void SetTemplate(Aws::String &&value)
Definition: UpdateWorldTemplateRequest.h:54
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SetTemplate
void SetTemplate(const char *value)
Definition: UpdateWorldTemplateRequest.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateWorldTemplateRequest.h:95
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::GetTemplate
const Aws::String & GetTemplate() const
Definition: UpdateWorldTemplateRequest.h:39
TemplateLocation.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::WithTemplateBody
UpdateWorldTemplateRequest & WithTemplateBody(const Aws::String &value)
Definition: UpdateWorldTemplateRequest.h:146
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::WithTemplateLocation
UpdateWorldTemplateRequest & WithTemplateLocation(const TemplateLocation &value)
Definition: UpdateWorldTemplateRequest.h:182
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::GetTemplateLocation
const TemplateLocation & GetTemplateLocation() const
Definition: UpdateWorldTemplateRequest.h:162
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::GetTemplateBody
const Aws::String & GetTemplateBody() const
Definition: UpdateWorldTemplateRequest.h:121
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::UpdateWorldTemplateRequest
UpdateWorldTemplateRequest()
Aws::RoboMaker::Model::UpdateWorldTemplateRequest
Definition: UpdateWorldTemplateRequest.h:23
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::SetTemplateLocation
void SetTemplateLocation(TemplateLocation &&value)
Definition: UpdateWorldTemplateRequest.h:177
Aws::RoboMaker::Model::UpdateWorldTemplateRequest::TemplateLocationHasBeenSet
bool TemplateLocationHasBeenSet() const
Definition: UpdateWorldTemplateRequest.h:167