AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDbParameterGroupRequest.h
1
6#pragma once
7#include <aws/timestream-influxdb/TimestreamInfluxDB_EXPORTS.h>
8#include <aws/timestream-influxdb/TimestreamInfluxDBRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/timestream-influxdb/model/Parameters.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace TimestreamInfluxDB
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_TIMESTREAMINFLUXDB_API CreateDbParameterGroupRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateDbParameterGroup"; }
33
34 AWS_TIMESTREAMINFLUXDB_API Aws::String SerializePayload() const override;
35
36 AWS_TIMESTREAMINFLUXDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
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 CreateDbParameterGroupRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline CreateDbParameterGroupRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline CreateDbParameterGroupRequest& WithName(const char* value) { SetName(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 CreateDbParameterGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline CreateDbParameterGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline CreateDbParameterGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Parameters& GetParameters() const{ return m_parameters; }
73 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
74 inline void SetParameters(const Parameters& value) { m_parametersHasBeenSet = true; m_parameters = value; }
75 inline void SetParameters(Parameters&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
76 inline CreateDbParameterGroupRequest& WithParameters(const Parameters& value) { SetParameters(value); return *this;}
77 inline CreateDbParameterGroupRequest& WithParameters(Parameters&& value) { SetParameters(std::move(value)); return *this;}
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
85 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
86 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
87 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
89 inline CreateDbParameterGroupRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
90 inline CreateDbParameterGroupRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
91 inline CreateDbParameterGroupRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
92 inline CreateDbParameterGroupRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateDbParameterGroupRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
94 inline CreateDbParameterGroupRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
95 inline CreateDbParameterGroupRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
96 inline CreateDbParameterGroupRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
98 private:
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
103 Aws::String m_description;
104 bool m_descriptionHasBeenSet = false;
105
106 Parameters m_parameters;
107 bool m_parametersHasBeenSet = false;
108
110 bool m_tagsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace TimestreamInfluxDB
115} // namespace Aws
CreateDbParameterGroupRequest & WithName(Aws::String &&value)
CreateDbParameterGroupRequest & WithDescription(const char *value)
CreateDbParameterGroupRequest & WithName(const char *value)
CreateDbParameterGroupRequest & WithDescription(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateDbParameterGroupRequest & WithParameters(Parameters &&value)
CreateDbParameterGroupRequest & AddTags(const Aws::String &key, Aws::String &&value)
AWS_TIMESTREAMINFLUXDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateDbParameterGroupRequest & AddTags(Aws::String &&key, const char *value)
CreateDbParameterGroupRequest & WithDescription(const Aws::String &value)
CreateDbParameterGroupRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateDbParameterGroupRequest & AddTags(const char *key, Aws::String &&value)
CreateDbParameterGroupRequest & AddTags(const char *key, const char *value)
CreateDbParameterGroupRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateDbParameterGroupRequest & AddTags(Aws::String &&key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateDbParameterGroupRequest & WithName(const Aws::String &value)
CreateDbParameterGroupRequest & WithParameters(const Parameters &value)
CreateDbParameterGroupRequest & AddTags(Aws::String &&key, Aws::String &&value)
AWS_TIMESTREAMINFLUXDB_API Aws::String SerializePayload() const override
CreateDbParameterGroupRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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