AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ApplicationT = Aws::String>
46 void SetApplication(ApplicationT&& value) { m_applicationHasBeenSet = true; m_application = std::forward<ApplicationT>(value); }
47 template<typename ApplicationT = Aws::String>
48 UpdateRobotApplicationRequest& WithApplication(ApplicationT&& value) { SetApplication(std::forward<ApplicationT>(value)); return *this;}
50
52
55 inline const Aws::Vector<SourceConfig>& GetSources() const { return m_sources; }
56 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
57 template<typename SourcesT = Aws::Vector<SourceConfig>>
58 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources = std::forward<SourcesT>(value); }
59 template<typename SourcesT = Aws::Vector<SourceConfig>>
60 UpdateRobotApplicationRequest& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
61 template<typename SourcesT = SourceConfig>
62 UpdateRobotApplicationRequest& AddSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources.emplace_back(std::forward<SourcesT>(value)); return *this; }
64
66
69 inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; }
70 inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; }
71 template<typename RobotSoftwareSuiteT = RobotSoftwareSuite>
72 void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::forward<RobotSoftwareSuiteT>(value); }
73 template<typename RobotSoftwareSuiteT = RobotSoftwareSuite>
74 UpdateRobotApplicationRequest& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { SetRobotSoftwareSuite(std::forward<RobotSoftwareSuiteT>(value)); return *this;}
76
78
81 inline const Aws::String& GetCurrentRevisionId() const { return m_currentRevisionId; }
82 inline bool CurrentRevisionIdHasBeenSet() const { return m_currentRevisionIdHasBeenSet; }
83 template<typename CurrentRevisionIdT = Aws::String>
84 void SetCurrentRevisionId(CurrentRevisionIdT&& value) { m_currentRevisionIdHasBeenSet = true; m_currentRevisionId = std::forward<CurrentRevisionIdT>(value); }
85 template<typename CurrentRevisionIdT = Aws::String>
86 UpdateRobotApplicationRequest& WithCurrentRevisionId(CurrentRevisionIdT&& value) { SetCurrentRevisionId(std::forward<CurrentRevisionIdT>(value)); return *this;}
88
90
93 inline const Environment& GetEnvironment() const { return m_environment; }
94 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
95 template<typename EnvironmentT = Environment>
96 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
97 template<typename EnvironmentT = Environment>
98 UpdateRobotApplicationRequest& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
100 private:
101
102 Aws::String m_application;
103 bool m_applicationHasBeenSet = false;
104
106 bool m_sourcesHasBeenSet = false;
107
108 RobotSoftwareSuite m_robotSoftwareSuite;
109 bool m_robotSoftwareSuiteHasBeenSet = false;
110
111 Aws::String m_currentRevisionId;
112 bool m_currentRevisionIdHasBeenSet = false;
113
114 Environment m_environment;
115 bool m_environmentHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace RoboMaker
120} // namespace Aws
UpdateRobotApplicationRequest & WithRobotSoftwareSuite(RobotSoftwareSuiteT &&value)
UpdateRobotApplicationRequest & WithCurrentRevisionId(CurrentRevisionIdT &&value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
UpdateRobotApplicationRequest & AddSources(SourcesT &&value)
UpdateRobotApplicationRequest & WithEnvironment(EnvironmentT &&value)
AWS_ROBOMAKER_API UpdateRobotApplicationRequest()=default
UpdateRobotApplicationRequest & WithSources(SourcesT &&value)
UpdateRobotApplicationRequest & WithApplication(ApplicationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector