AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
CreateGeofenceCollectionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/location/LocationServiceRequest.h>
10#include <aws/location/LocationService_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace LocationService {
16namespace Model {
17
21 public:
22 AWS_LOCATIONSERVICE_API CreateGeofenceCollectionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateGeofenceCollection"; }
29
30 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
31
33
40 inline const Aws::String& GetCollectionName() const { return m_collectionName; }
41 inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
42 template <typename CollectionNameT = Aws::String>
43 void SetCollectionName(CollectionNameT&& value) {
44 m_collectionNameHasBeenSet = true;
45 m_collectionName = std::forward<CollectionNameT>(value);
46 }
47 template <typename CollectionNameT = Aws::String>
49 SetCollectionName(std::forward<CollectionNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
85 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
86 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 void SetTags(TagsT&& value) {
88 m_tagsHasBeenSet = true;
89 m_tags = std::forward<TagsT>(value);
90 }
91 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
93 SetTags(std::forward<TagsT>(value));
94 return *this;
95 }
96 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
97 CreateGeofenceCollectionRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
98 m_tagsHasBeenSet = true;
99 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
100 return *this;
101 }
103
105
111 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
112 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
113 template <typename KmsKeyIdT = Aws::String>
114 void SetKmsKeyId(KmsKeyIdT&& value) {
115 m_kmsKeyIdHasBeenSet = true;
116 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
117 }
118 template <typename KmsKeyIdT = Aws::String>
120 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_collectionName;
126
127 Aws::String m_description;
128
130
131 Aws::String m_kmsKeyId;
132 bool m_collectionNameHasBeenSet = false;
133 bool m_descriptionHasBeenSet = false;
134 bool m_tagsHasBeenSet = false;
135 bool m_kmsKeyIdHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace LocationService
140} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateGeofenceCollectionRequest & WithDescription(DescriptionT &&value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
AWS_LOCATIONSERVICE_API CreateGeofenceCollectionRequest()=default
CreateGeofenceCollectionRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateGeofenceCollectionRequest & WithCollectionName(CollectionNameT &&value)
CreateGeofenceCollectionRequest & WithKmsKeyId(KmsKeyIdT &&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