AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateWorldTemplateRequest.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/robomaker/RoboMakerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/robomaker/model/TemplateLocation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace RoboMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ROBOMAKER_API UpdateWorldTemplateRequest();
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_ROBOMAKER_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetTemplate() const{ return m_template; }
41 inline bool TemplateHasBeenSet() const { return m_templateHasBeenSet; }
42 inline void SetTemplate(const Aws::String& value) { m_templateHasBeenSet = true; m_template = value; }
43 inline void SetTemplate(Aws::String&& value) { m_templateHasBeenSet = true; m_template = std::move(value); }
44 inline void SetTemplate(const char* value) { m_templateHasBeenSet = true; m_template.assign(value); }
45 inline UpdateWorldTemplateRequest& WithTemplate(const Aws::String& value) { SetTemplate(value); return *this;}
46 inline UpdateWorldTemplateRequest& WithTemplate(Aws::String&& value) { SetTemplate(std::move(value)); return *this;}
47 inline UpdateWorldTemplateRequest& WithTemplate(const char* value) { SetTemplate(value); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
59 inline UpdateWorldTemplateRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
60 inline UpdateWorldTemplateRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
61 inline UpdateWorldTemplateRequest& WithName(const char* value) { SetName(value); return *this;}
63
65
68 inline const Aws::String& GetTemplateBody() const{ return m_templateBody; }
69 inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
70 inline void SetTemplateBody(const Aws::String& value) { m_templateBodyHasBeenSet = true; m_templateBody = value; }
71 inline void SetTemplateBody(Aws::String&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::move(value); }
72 inline void SetTemplateBody(const char* value) { m_templateBodyHasBeenSet = true; m_templateBody.assign(value); }
73 inline UpdateWorldTemplateRequest& WithTemplateBody(const Aws::String& value) { SetTemplateBody(value); return *this;}
74 inline UpdateWorldTemplateRequest& WithTemplateBody(Aws::String&& value) { SetTemplateBody(std::move(value)); return *this;}
75 inline UpdateWorldTemplateRequest& WithTemplateBody(const char* value) { SetTemplateBody(value); return *this;}
77
79
82 inline const TemplateLocation& GetTemplateLocation() const{ return m_templateLocation; }
83 inline bool TemplateLocationHasBeenSet() const { return m_templateLocationHasBeenSet; }
84 inline void SetTemplateLocation(const TemplateLocation& value) { m_templateLocationHasBeenSet = true; m_templateLocation = value; }
85 inline void SetTemplateLocation(TemplateLocation&& value) { m_templateLocationHasBeenSet = true; m_templateLocation = std::move(value); }
87 inline UpdateWorldTemplateRequest& WithTemplateLocation(TemplateLocation&& value) { SetTemplateLocation(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_template;
92 bool m_templateHasBeenSet = false;
93
94 Aws::String m_name;
95 bool m_nameHasBeenSet = false;
96
97 Aws::String m_templateBody;
98 bool m_templateBodyHasBeenSet = false;
99
100 TemplateLocation m_templateLocation;
101 bool m_templateLocationHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace RoboMaker
106} // namespace Aws
UpdateWorldTemplateRequest & WithTemplateBody(const Aws::String &value)
UpdateWorldTemplateRequest & WithTemplate(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateWorldTemplateRequest & WithTemplateBody(Aws::String &&value)
UpdateWorldTemplateRequest & WithName(Aws::String &&value)
UpdateWorldTemplateRequest & WithTemplate(Aws::String &&value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
UpdateWorldTemplateRequest & WithTemplateLocation(TemplateLocation &&value)
UpdateWorldTemplateRequest & WithName(const char *value)
UpdateWorldTemplateRequest & WithTemplateLocation(const TemplateLocation &value)
UpdateWorldTemplateRequest & WithName(const Aws::String &value)
UpdateWorldTemplateRequest & WithTemplate(const Aws::String &value)
UpdateWorldTemplateRequest & WithTemplateBody(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String