AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRobotApplicationRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/robomaker/model/RobotSoftwareSuite.h>
12#include <aws/robomaker/model/Environment.h>
13#include <aws/robomaker/model/SourceConfig.h>
14#include <utility>
15
16namespace Aws
17{
18namespace RoboMaker
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_ROBOMAKER_API UpdateRobotApplicationRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "UpdateRobotApplication"; }
35
36 AWS_ROBOMAKER_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetApplication() const{ return m_application; }
44 inline bool ApplicationHasBeenSet() const { return m_applicationHasBeenSet; }
45 inline void SetApplication(const Aws::String& value) { m_applicationHasBeenSet = true; m_application = value; }
46 inline void SetApplication(Aws::String&& value) { m_applicationHasBeenSet = true; m_application = std::move(value); }
47 inline void SetApplication(const char* value) { m_applicationHasBeenSet = true; m_application.assign(value); }
48 inline UpdateRobotApplicationRequest& WithApplication(const Aws::String& value) { SetApplication(value); return *this;}
49 inline UpdateRobotApplicationRequest& WithApplication(Aws::String&& value) { SetApplication(std::move(value)); return *this;}
50 inline UpdateRobotApplicationRequest& WithApplication(const char* value) { SetApplication(value); return *this;}
52
54
57 inline const Aws::Vector<SourceConfig>& GetSources() const{ return m_sources; }
58 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
59 inline void SetSources(const Aws::Vector<SourceConfig>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
60 inline void SetSources(Aws::Vector<SourceConfig>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
62 inline UpdateRobotApplicationRequest& WithSources(Aws::Vector<SourceConfig>&& value) { SetSources(std::move(value)); return *this;}
63 inline UpdateRobotApplicationRequest& AddSources(const SourceConfig& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
64 inline UpdateRobotApplicationRequest& AddSources(SourceConfig&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
66
68
71 inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
72 inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; }
73 inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = value; }
74 inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::move(value); }
78
80
83 inline const Aws::String& GetCurrentRevisionId() const{ return m_currentRevisionId; }
84 inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; }
85 inline void SetCurrentRevisionId(const Aws::String& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = value; }
86 inline void SetCurrentRevisionId(Aws::String&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::move(value); }
87 inline void SetCurrentRevisionId(const char* value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId.assign(value); }
89 inline UpdateRobotApplicationRequest& WithCurrentRevisionId(Aws::String&& value) { SetCurrentRevisionId(std::move(value)); return *this;}
90 inline UpdateRobotApplicationRequest& WithCurrentRevisionId(const char* value) { SetCurrentRevisionId(value); return *this;}
92
94
97 inline const Environment& GetEnvironment() const{ return m_environment; }
98 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
99 inline void SetEnvironment(const Environment& value) { m_environmentHasBeenSet = true; m_environment = value; }
100 inline void SetEnvironment(Environment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
101 inline UpdateRobotApplicationRequest& WithEnvironment(const Environment& value) { SetEnvironment(value); return *this;}
102 inline UpdateRobotApplicationRequest& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;}
104 private:
105
106 Aws::String m_application;
107 bool m_applicationHasBeenSet = false;
108
110 bool m_sourcesHasBeenSet = false;
111
112 RobotSoftwareSuite m_robotSoftwareSuite;
113 bool m_robotSoftwareSuiteHasBeenSet = false;
114
115 Aws::String m_currentRevisionId;
116 bool m_currentRevisionIdHasBeenSet = false;
117
118 Environment m_environment;
119 bool m_environmentHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace RoboMaker
124} // namespace Aws
UpdateRobotApplicationRequest & WithCurrentRevisionId(const char *value)
UpdateRobotApplicationRequest & WithCurrentRevisionId(Aws::String &&value)
UpdateRobotApplicationRequest & WithEnvironment(const Environment &value)
UpdateRobotApplicationRequest & WithEnvironment(Environment &&value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
UpdateRobotApplicationRequest & WithSources(Aws::Vector< SourceConfig > &&value)
UpdateRobotApplicationRequest & WithApplication(const Aws::String &value)
UpdateRobotApplicationRequest & AddSources(const SourceConfig &value)
UpdateRobotApplicationRequest & WithSources(const Aws::Vector< SourceConfig > &value)
UpdateRobotApplicationRequest & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
void SetSources(const Aws::Vector< SourceConfig > &value)
UpdateRobotApplicationRequest & WithCurrentRevisionId(const Aws::String &value)
UpdateRobotApplicationRequest & WithApplication(const char *value)
UpdateRobotApplicationRequest & WithApplication(Aws::String &&value)
UpdateRobotApplicationRequest & AddSources(SourceConfig &&value)
UpdateRobotApplicationRequest & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector