AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename TemplateT = Aws::String>
43 void SetTemplate(TemplateT&& value) { m_templateHasBeenSet = true; m_template = std::forward<TemplateT>(value); }
44 template<typename TemplateT = Aws::String>
45 UpdateWorldTemplateRequest& WithTemplate(TemplateT&& value) { SetTemplate(std::forward<TemplateT>(value)); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 template<typename NameT = Aws::String>
55 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
56 template<typename NameT = Aws::String>
57 UpdateWorldTemplateRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
59
61
64 inline const Aws::String& GetTemplateBody() const { return m_templateBody; }
65 inline bool TemplateBodyHasBeenSet() const { return m_templateBodyHasBeenSet; }
66 template<typename TemplateBodyT = Aws::String>
67 void SetTemplateBody(TemplateBodyT&& value) { m_templateBodyHasBeenSet = true; m_templateBody = std::forward<TemplateBodyT>(value); }
68 template<typename TemplateBodyT = Aws::String>
69 UpdateWorldTemplateRequest& WithTemplateBody(TemplateBodyT&& value) { SetTemplateBody(std::forward<TemplateBodyT>(value)); return *this;}
71
73
76 inline const TemplateLocation& GetTemplateLocation() const { return m_templateLocation; }
77 inline bool TemplateLocationHasBeenSet() const { return m_templateLocationHasBeenSet; }
78 template<typename TemplateLocationT = TemplateLocation>
79 void SetTemplateLocation(TemplateLocationT&& value) { m_templateLocationHasBeenSet = true; m_templateLocation = std::forward<TemplateLocationT>(value); }
80 template<typename TemplateLocationT = TemplateLocation>
81 UpdateWorldTemplateRequest& WithTemplateLocation(TemplateLocationT&& value) { SetTemplateLocation(std::forward<TemplateLocationT>(value)); return *this;}
83 private:
84
85 Aws::String m_template;
86 bool m_templateHasBeenSet = false;
87
88 Aws::String m_name;
89 bool m_nameHasBeenSet = false;
90
91 Aws::String m_templateBody;
92 bool m_templateBodyHasBeenSet = false;
93
94 TemplateLocation m_templateLocation;
95 bool m_templateLocationHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace RoboMaker
100} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
UpdateWorldTemplateRequest & WithTemplateLocation(TemplateLocationT &&value)
UpdateWorldTemplateRequest & WithTemplate(TemplateT &&value)
UpdateWorldTemplateRequest & WithName(NameT &&value)
AWS_ROBOMAKER_API UpdateWorldTemplateRequest()=default
UpdateWorldTemplateRequest & WithTemplateBody(TemplateBodyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String