AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateRobotApplicationResult.h
1
6#pragma once
7#include <aws/robomaker/RoboMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/robomaker/model/RobotSoftwareSuite.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/robomaker/model/Environment.h>
13#include <aws/robomaker/model/Source.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace RoboMaker
29{
30namespace Model
31{
33 {
34 public:
35 AWS_ROBOMAKER_API UpdateRobotApplicationResult() = default;
38
39
41
44 inline const Aws::String& GetArn() const { return m_arn; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 UpdateRobotApplicationResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 template<typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
58 template<typename NameT = Aws::String>
59 UpdateRobotApplicationResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetVersion() const { return m_version; }
67 template<typename VersionT = Aws::String>
68 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
69 template<typename VersionT = Aws::String>
70 UpdateRobotApplicationResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
72
74
77 inline const Aws::Vector<Source>& GetSources() const { return m_sources; }
78 template<typename SourcesT = Aws::Vector<Source>>
79 void SetSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources = std::forward<SourcesT>(value); }
80 template<typename SourcesT = Aws::Vector<Source>>
81 UpdateRobotApplicationResult& WithSources(SourcesT&& value) { SetSources(std::forward<SourcesT>(value)); return *this;}
82 template<typename SourcesT = Source>
83 UpdateRobotApplicationResult& AddSources(SourcesT&& value) { m_sourcesHasBeenSet = true; m_sources.emplace_back(std::forward<SourcesT>(value)); return *this; }
85
87
90 inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const { return m_robotSoftwareSuite; }
91 template<typename RobotSoftwareSuiteT = RobotSoftwareSuite>
92 void SetRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::forward<RobotSoftwareSuiteT>(value); }
93 template<typename RobotSoftwareSuiteT = RobotSoftwareSuite>
94 UpdateRobotApplicationResult& WithRobotSoftwareSuite(RobotSoftwareSuiteT&& value) { SetRobotSoftwareSuite(std::forward<RobotSoftwareSuiteT>(value)); return *this;}
96
98
102 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
103 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
104 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
105 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
106 UpdateRobotApplicationResult& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
108
110
113 inline const Aws::String& GetRevisionId() const { return m_revisionId; }
114 template<typename RevisionIdT = Aws::String>
115 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::forward<RevisionIdT>(value); }
116 template<typename RevisionIdT = Aws::String>
117 UpdateRobotApplicationResult& WithRevisionId(RevisionIdT&& value) { SetRevisionId(std::forward<RevisionIdT>(value)); return *this;}
119
121
124 inline const Environment& GetEnvironment() const { return m_environment; }
125 template<typename EnvironmentT = Environment>
126 void SetEnvironment(EnvironmentT&& value) { m_environmentHasBeenSet = true; m_environment = std::forward<EnvironmentT>(value); }
127 template<typename EnvironmentT = Environment>
128 UpdateRobotApplicationResult& WithEnvironment(EnvironmentT&& value) { SetEnvironment(std::forward<EnvironmentT>(value)); return *this;}
130
132
133 inline const Aws::String& GetRequestId() const { return m_requestId; }
134 template<typename RequestIdT = Aws::String>
135 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
136 template<typename RequestIdT = Aws::String>
137 UpdateRobotApplicationResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
139 private:
140
141 Aws::String m_arn;
142 bool m_arnHasBeenSet = false;
143
144 Aws::String m_name;
145 bool m_nameHasBeenSet = false;
146
147 Aws::String m_version;
148 bool m_versionHasBeenSet = false;
149
150 Aws::Vector<Source> m_sources;
151 bool m_sourcesHasBeenSet = false;
152
153 RobotSoftwareSuite m_robotSoftwareSuite;
154 bool m_robotSoftwareSuiteHasBeenSet = false;
155
156 Aws::Utils::DateTime m_lastUpdatedAt{};
157 bool m_lastUpdatedAtHasBeenSet = false;
158
159 Aws::String m_revisionId;
160 bool m_revisionIdHasBeenSet = false;
161
162 Environment m_environment;
163 bool m_environmentHasBeenSet = false;
164
165 Aws::String m_requestId;
166 bool m_requestIdHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace RoboMaker
171} // namespace Aws
UpdateRobotApplicationResult & AddSources(SourcesT &&value)
UpdateRobotApplicationResult & WithEnvironment(EnvironmentT &&value)
UpdateRobotApplicationResult & WithRevisionId(RevisionIdT &&value)
AWS_ROBOMAKER_API UpdateRobotApplicationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROBOMAKER_API UpdateRobotApplicationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRobotApplicationResult & WithArn(ArnT &&value)
UpdateRobotApplicationResult & WithSources(SourcesT &&value)
UpdateRobotApplicationResult & WithLastUpdatedAt(LastUpdatedAtT &&value)
UpdateRobotApplicationResult & WithName(NameT &&value)
AWS_ROBOMAKER_API UpdateRobotApplicationResult()=default
UpdateRobotApplicationResult & WithVersion(VersionT &&value)
UpdateRobotApplicationResult & WithRequestId(RequestIdT &&value)
UpdateRobotApplicationResult & WithRobotSoftwareSuite(RobotSoftwareSuiteT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue