AWS SDK for C++  1.9.125
AWS SDK for C++
DescribeWorldTemplateRequest.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 "DescribeWorldTemplate"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetTemplate() const{ return m_template; }
40 
45  inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
46 
51  inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
52 
57  inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
58 
63  inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
64 
69  inline DescribeWorldTemplateRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
70 
75  inline DescribeWorldTemplateRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
76 
81  inline DescribeWorldTemplateRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
82 
83  private:
84 
85  Aws::String m_template;
86  bool m_templateHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace RoboMaker
91 } // namespace Aws
Aws::RoboMaker::Model::DescribeWorldTemplateRequest::WithTemplate
DescribeWorldTemplateRequest & WithTemplate(Aws::String &&value)
Definition: DescribeWorldTemplateRequest.h:75
Aws::RoboMaker::Model::DescribeWorldTemplateRequest::WithTemplate
DescribeWorldTemplateRequest & WithTemplate(const char *value)
Definition: DescribeWorldTemplateRequest.h:81
Aws::RoboMaker::Model::DescribeWorldTemplateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeWorldTemplateRequest.h:30
Aws::RoboMaker::Model::DescribeWorldTemplateRequest::DescribeWorldTemplateRequest
DescribeWorldTemplateRequest()
Aws::RoboMaker::Model::DescribeWorldTemplateRequest::WithTemplate
DescribeWorldTemplateRequest & WithTemplate(const Aws::String &value)
Definition: DescribeWorldTemplateRequest.h:69
RoboMakerRequest.h
Aws::RoboMaker::Model::DescribeWorldTemplateRequest::SetTemplate
void SetTemplate(const char *value)
Definition: DescribeWorldTemplateRequest.h:63
Aws::RoboMaker::Model::DescribeWorldTemplateRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::DescribeWorldTemplateRequest::GetTemplate
const Aws::String & GetTemplate() const
Definition: DescribeWorldTemplateRequest.h:39
AWSString.h
Aws::RoboMaker::Model::DescribeWorldTemplateRequest::SetTemplate
void SetTemplate(const Aws::String &value)
Definition: DescribeWorldTemplateRequest.h:51
Aws
Definition: AccessManagementClient.h:15
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::DescribeWorldTemplateRequest
Definition: DescribeWorldTemplateRequest.h:22
Aws::RoboMaker::Model::DescribeWorldTemplateRequest::SetTemplate
void SetTemplate(Aws::String &&value)
Definition: DescribeWorldTemplateRequest.h:57
Aws::RoboMaker::Model::DescribeWorldTemplateRequest::TemplateHasBeenSet
bool TemplateHasBeenSet() const
Definition: DescribeWorldTemplateRequest.h:45