AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRouteCalculatorRequest.h
1
6#pragma once
7#include <aws/location/LocationService_EXPORTS.h>
8#include <aws/location/LocationServiceRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LocationService
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LOCATIONSERVICE_API CreateRouteCalculatorRequest();
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 "CreateRouteCalculator"; }
32
33 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
34
35
37
44 inline const Aws::String& GetCalculatorName() const{ return m_calculatorName; }
45 inline bool CalculatorNameHasBeenSet() const { return m_calculatorNameHasBeenSet; }
46 inline void SetCalculatorName(const Aws::String& value) { m_calculatorNameHasBeenSet = true; m_calculatorName = value; }
47 inline void SetCalculatorName(Aws::String&& value) { m_calculatorNameHasBeenSet = true; m_calculatorName = std::move(value); }
48 inline void SetCalculatorName(const char* value) { m_calculatorNameHasBeenSet = true; m_calculatorName.assign(value); }
50 inline CreateRouteCalculatorRequest& WithCalculatorName(Aws::String&& value) { SetCalculatorName(std::move(value)); return *this;}
51 inline CreateRouteCalculatorRequest& WithCalculatorName(const char* value) { SetCalculatorName(value); return *this;}
53
55
83 inline const Aws::String& GetDataSource() const{ return m_dataSource; }
84 inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; }
85 inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; }
86 inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); }
87 inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); }
88 inline CreateRouteCalculatorRequest& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;}
89 inline CreateRouteCalculatorRequest& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;}
90 inline CreateRouteCalculatorRequest& WithDataSource(const char* value) { SetDataSource(value); return *this;}
92
94
97 inline const Aws::String& GetDescription() const{ return m_description; }
98 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
99 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
100 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
101 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
102 inline CreateRouteCalculatorRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
103 inline CreateRouteCalculatorRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
104 inline CreateRouteCalculatorRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
106
108
121 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
122 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
123 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
124 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
126 inline CreateRouteCalculatorRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
127 inline CreateRouteCalculatorRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
128 inline CreateRouteCalculatorRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
129 inline CreateRouteCalculatorRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
130 inline CreateRouteCalculatorRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
131 inline CreateRouteCalculatorRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
132 inline CreateRouteCalculatorRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
133 inline CreateRouteCalculatorRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
135 private:
136
137 Aws::String m_calculatorName;
138 bool m_calculatorNameHasBeenSet = false;
139
140 Aws::String m_dataSource;
141 bool m_dataSourceHasBeenSet = false;
142
143 Aws::String m_description;
144 bool m_descriptionHasBeenSet = false;
145
147 bool m_tagsHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace LocationService
152} // namespace Aws
CreateRouteCalculatorRequest & WithCalculatorName(Aws::String &&value)
CreateRouteCalculatorRequest & WithCalculatorName(const Aws::String &value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
CreateRouteCalculatorRequest & WithDataSource(Aws::String &&value)
CreateRouteCalculatorRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateRouteCalculatorRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateRouteCalculatorRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateRouteCalculatorRequest & WithDescription(const char *value)
CreateRouteCalculatorRequest & WithCalculatorName(const char *value)
CreateRouteCalculatorRequest & AddTags(const char *key, const char *value)
CreateRouteCalculatorRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRouteCalculatorRequest & AddTags(Aws::String &&key, const char *value)
CreateRouteCalculatorRequest & WithDataSource(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateRouteCalculatorRequest & WithDescription(const Aws::String &value)
CreateRouteCalculatorRequest & WithDescription(Aws::String &&value)
CreateRouteCalculatorRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRouteCalculatorRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateRouteCalculatorRequest & WithDataSource(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateRouteCalculatorRequest & 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