AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateGeofenceCollectionRequest.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 CreateGeofenceCollectionRequest();
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 "CreateGeofenceCollection"; }
32
33 AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override;
34
35
37
44 inline const Aws::String& GetCollectionName() const{ return m_collectionName; }
45 inline bool CollectionNameHasBeenSet() const { return m_collectionNameHasBeenSet; }
46 inline void SetCollectionName(const Aws::String& value) { m_collectionNameHasBeenSet = true; m_collectionName = value; }
47 inline void SetCollectionName(Aws::String&& value) { m_collectionNameHasBeenSet = true; m_collectionName = std::move(value); }
48 inline void SetCollectionName(const char* value) { m_collectionNameHasBeenSet = true; m_collectionName.assign(value); }
50 inline CreateGeofenceCollectionRequest& WithCollectionName(Aws::String&& value) { SetCollectionName(std::move(value)); return *this;}
51 inline CreateGeofenceCollectionRequest& WithCollectionName(const char* value) { SetCollectionName(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline CreateGeofenceCollectionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline CreateGeofenceCollectionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline CreateGeofenceCollectionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
80 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
81 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
82 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
83 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
85 inline CreateGeofenceCollectionRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
86 inline CreateGeofenceCollectionRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
87 inline CreateGeofenceCollectionRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
88 inline CreateGeofenceCollectionRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
89 inline CreateGeofenceCollectionRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
90 inline CreateGeofenceCollectionRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
91 inline CreateGeofenceCollectionRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
92 inline CreateGeofenceCollectionRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
94
96
102 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
103 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
104 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
105 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
106 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
107 inline CreateGeofenceCollectionRequest& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
108 inline CreateGeofenceCollectionRequest& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
109 inline CreateGeofenceCollectionRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
111 private:
112
113 Aws::String m_collectionName;
114 bool m_collectionNameHasBeenSet = false;
115
116 Aws::String m_description;
117 bool m_descriptionHasBeenSet = false;
118
120 bool m_tagsHasBeenSet = false;
121
122 Aws::String m_kmsKeyId;
123 bool m_kmsKeyIdHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace LocationService
128} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateGeofenceCollectionRequest & AddTags(Aws::String &&key, const char *value)
AWS_LOCATIONSERVICE_API Aws::String SerializePayload() const override
CreateGeofenceCollectionRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateGeofenceCollectionRequest & WithDescription(Aws::String &&value)
CreateGeofenceCollectionRequest & WithCollectionName(const Aws::String &value)
CreateGeofenceCollectionRequest & WithKmsKeyId(const char *value)
CreateGeofenceCollectionRequest & WithCollectionName(Aws::String &&value)
CreateGeofenceCollectionRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateGeofenceCollectionRequest & WithKmsKeyId(const Aws::String &value)
CreateGeofenceCollectionRequest & WithCollectionName(const char *value)
CreateGeofenceCollectionRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateGeofenceCollectionRequest & WithDescription(const char *value)
CreateGeofenceCollectionRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateGeofenceCollectionRequest & AddTags(const char *key, Aws::String &&value)
CreateGeofenceCollectionRequest & WithDescription(const Aws::String &value)
CreateGeofenceCollectionRequest & WithKmsKeyId(Aws::String &&value)
CreateGeofenceCollectionRequest & AddTags(const char *key, const char *value)
CreateGeofenceCollectionRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateGeofenceCollectionRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, 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