AWS SDK for C++  1.9.20
AWS SDK for C++
GetWorldTemplateBodyRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace RoboMaker
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetWorldTemplateBody"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetTemplate() const{ return m_template; }
39 
43  inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
44 
48  inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
49 
53  inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
54 
58  inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
59 
63  inline GetWorldTemplateBodyRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
64 
68  inline GetWorldTemplateBodyRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
69 
73  inline GetWorldTemplateBodyRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
74 
75 
79  inline const Aws::String& GetGenerationJob() const{ return m_generationJob; }
80 
84  inline bool GenerationJobHasBeenSet() const { return m_generationJobHasBeenSet; }
85 
89  inline void SetGenerationJob(const Aws::String& value) { m_generationJobHasBeenSet = true; m_generationJob = value; }
90 
94  inline void SetGenerationJob(Aws::String&& value) { m_generationJobHasBeenSet = true; m_generationJob = std::move(value); }
95 
99  inline void SetGenerationJob(const char* value) { m_generationJobHasBeenSet = true; m_generationJob.assign(value); }
100 
104  inline GetWorldTemplateBodyRequest& WithGenerationJob(const Aws::String& value) { SetGenerationJob(value); return *this;}
105 
109  inline GetWorldTemplateBodyRequest& WithGenerationJob(Aws::String&& value) { SetGenerationJob(std::move(value)); return *this;}
110 
114  inline GetWorldTemplateBodyRequest& WithGenerationJob(const char* value) { SetGenerationJob(value); return *this;}
115 
116  private:
117 
118  Aws::String m_template;
119  bool m_templateHasBeenSet;
120 
121  Aws::String m_generationJob;
122  bool m_generationJobHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace RoboMaker
127 } // namespace Aws
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::SetGenerationJob
void SetGenerationJob(const Aws::String &value)
Definition: GetWorldTemplateBodyRequest.h:89
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::TemplateHasBeenSet
bool TemplateHasBeenSet() const
Definition: GetWorldTemplateBodyRequest.h:43
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetWorldTemplateBodyRequest.h:30
RoboMakerRequest.h
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::GetTemplate
const Aws::String & GetTemplate() const
Definition: GetWorldTemplateBodyRequest.h:38
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::GenerationJobHasBeenSet
bool GenerationJobHasBeenSet() const
Definition: GetWorldTemplateBodyRequest.h:84
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::SetTemplate
void SetTemplate(const char *value)
Definition: GetWorldTemplateBodyRequest.h:58
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::WithGenerationJob
GetWorldTemplateBodyRequest & WithGenerationJob(Aws::String &&value)
Definition: GetWorldTemplateBodyRequest.h:109
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::SetGenerationJob
void SetGenerationJob(const char *value)
Definition: GetWorldTemplateBodyRequest.h:99
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
RoboMaker_EXPORTS.h
AWSString.h
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::SetTemplate
void SetTemplate(Aws::String &&value)
Definition: GetWorldTemplateBodyRequest.h:53
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest
Definition: GetWorldTemplateBodyRequest.h:22
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::WithTemplate
GetWorldTemplateBodyRequest & WithTemplate(const Aws::String &value)
Definition: GetWorldTemplateBodyRequest.h:63
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::WithGenerationJob
GetWorldTemplateBodyRequest & WithGenerationJob(const Aws::String &value)
Definition: GetWorldTemplateBodyRequest.h:104
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::GetWorldTemplateBodyRequest
GetWorldTemplateBodyRequest()
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::WithGenerationJob
GetWorldTemplateBodyRequest & WithGenerationJob(const char *value)
Definition: GetWorldTemplateBodyRequest.h:114
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::SetTemplate
void SetTemplate(const Aws::String &value)
Definition: GetWorldTemplateBodyRequest.h:48
Aws::RoboMaker::RoboMakerRequest
Definition: RoboMakerRequest.h:17
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::GetGenerationJob
const Aws::String & GetGenerationJob() const
Definition: GetWorldTemplateBodyRequest.h:79
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::WithTemplate
GetWorldTemplateBodyRequest & WithTemplate(const char *value)
Definition: GetWorldTemplateBodyRequest.h:73
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::WithTemplate
GetWorldTemplateBodyRequest & WithTemplate(Aws::String &&value)
Definition: GetWorldTemplateBodyRequest.h:68
Aws::RoboMaker::Model::GetWorldTemplateBodyRequest::SetGenerationJob
void SetGenerationJob(Aws::String &&value)
Definition: GetWorldTemplateBodyRequest.h:94