AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRobotApplicationRequest.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/core/utils/memory/stl/AWSMap.h>
13#include <aws/robomaker/model/Environment.h>
14#include <aws/robomaker/model/SourceConfig.h>
15#include <utility>
16
17namespace Aws
18{
19namespace RoboMaker
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_ROBOMAKER_API CreateRobotApplicationRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateRobotApplication"; }
36
37 AWS_ROBOMAKER_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline CreateRobotApplicationRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline CreateRobotApplicationRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline CreateRobotApplicationRequest& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::Vector<SourceConfig>& GetSources() const{ return m_sources; }
59 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
60 inline void SetSources(const Aws::Vector<SourceConfig>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
61 inline void SetSources(Aws::Vector<SourceConfig>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
63 inline CreateRobotApplicationRequest& WithSources(Aws::Vector<SourceConfig>&& value) { SetSources(std::move(value)); return *this;}
64 inline CreateRobotApplicationRequest& AddSources(const SourceConfig& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
65 inline CreateRobotApplicationRequest& AddSources(SourceConfig&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
67
69
72 inline const RobotSoftwareSuite& GetRobotSoftwareSuite() const{ return m_robotSoftwareSuite; }
73 inline bool RobotSoftwareSuiteHasBeenSet() const { return m_robotSoftwareSuiteHasBeenSet; }
74 inline void SetRobotSoftwareSuite(const RobotSoftwareSuite& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = value; }
75 inline void SetRobotSoftwareSuite(RobotSoftwareSuite&& value) { m_robotSoftwareSuiteHasBeenSet = true; m_robotSoftwareSuite = std::move(value); }
79
81
85 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
86 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
87 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
88 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
90 inline CreateRobotApplicationRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
91 inline CreateRobotApplicationRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
92 inline CreateRobotApplicationRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
93 inline CreateRobotApplicationRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
94 inline CreateRobotApplicationRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
95 inline CreateRobotApplicationRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
96 inline CreateRobotApplicationRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
97 inline CreateRobotApplicationRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
99
101
105 inline const Environment& GetEnvironment() const{ return m_environment; }
106 inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; }
107 inline void SetEnvironment(const Environment& value) { m_environmentHasBeenSet = true; m_environment = value; }
108 inline void SetEnvironment(Environment&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); }
109 inline CreateRobotApplicationRequest& WithEnvironment(const Environment& value) { SetEnvironment(value); return *this;}
110 inline CreateRobotApplicationRequest& WithEnvironment(Environment&& value) { SetEnvironment(std::move(value)); return *this;}
112 private:
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
118 bool m_sourcesHasBeenSet = false;
119
120 RobotSoftwareSuite m_robotSoftwareSuite;
121 bool m_robotSoftwareSuiteHasBeenSet = false;
122
124 bool m_tagsHasBeenSet = false;
125
126 Environment m_environment;
127 bool m_environmentHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace RoboMaker
132} // namespace Aws
CreateRobotApplicationRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateRobotApplicationRequest & WithSources(const Aws::Vector< SourceConfig > &value)
CreateRobotApplicationRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateRobotApplicationRequest & WithEnvironment(const Environment &value)
CreateRobotApplicationRequest & AddSources(const SourceConfig &value)
CreateRobotApplicationRequest & WithEnvironment(Environment &&value)
CreateRobotApplicationRequest & AddTags(const char *key, const char *value)
CreateRobotApplicationRequest & AddTags(Aws::String &&key, const char *value)
CreateRobotApplicationRequest & WithRobotSoftwareSuite(RobotSoftwareSuite &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRobotApplicationRequest & WithName(const Aws::String &value)
CreateRobotApplicationRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRobotApplicationRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRobotApplicationRequest & AddSources(SourceConfig &&value)
void SetSources(const Aws::Vector< SourceConfig > &value)
CreateRobotApplicationRequest & WithName(Aws::String &&value)
CreateRobotApplicationRequest & WithRobotSoftwareSuite(const RobotSoftwareSuite &value)
CreateRobotApplicationRequest & WithName(const char *value)
CreateRobotApplicationRequest & WithSources(Aws::Vector< SourceConfig > &&value)
CreateRobotApplicationRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRobotApplicationRequest & AddTags(const Aws::String &key, const Aws::String &value)
AWS_ROBOMAKER_API Aws::String SerializePayload() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRobotApplicationRequest & AddTags(const char *key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector