AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateUsageProfileRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/ProfileConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Glue
17{
18namespace Model
19{
20
24 {
25 public:
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 "CreateUsageProfile"; }
33
34 AWS_GLUE_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline CreateUsageProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline CreateUsageProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline CreateUsageProfileRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline CreateUsageProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline CreateUsageProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline CreateUsageProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
72 inline const ProfileConfiguration& GetConfiguration() const{ return m_configuration; }
73 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
74 inline void SetConfiguration(const ProfileConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
75 inline void SetConfiguration(ProfileConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
77 inline CreateUsageProfileRequest& WithConfiguration(ProfileConfiguration&& value) { SetConfiguration(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 CreateUsageProfileRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
90 inline CreateUsageProfileRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
91 inline CreateUsageProfileRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
92 inline CreateUsageProfileRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
93 inline CreateUsageProfileRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
94 inline CreateUsageProfileRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
95 inline CreateUsageProfileRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
96 inline CreateUsageProfileRequest& 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 ProfileConfiguration m_configuration;
107 bool m_configurationHasBeenSet = false;
108
110 bool m_tagsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Glue
115} // namespace Aws
CreateUsageProfileRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateUsageProfileRequest & AddTags(Aws::String &&key, const char *value)
void SetConfiguration(const ProfileConfiguration &value)
virtual const char * GetServiceRequestName() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateUsageProfileRequest & WithDescription(const char *value)
void SetConfiguration(ProfileConfiguration &&value)
CreateUsageProfileRequest & AddTags(const char *key, Aws::String &&value)
CreateUsageProfileRequest & WithDescription(const Aws::String &value)
AWS_GLUE_API Aws::String SerializePayload() const override
CreateUsageProfileRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateUsageProfileRequest & WithDescription(Aws::String &&value)
CreateUsageProfileRequest & WithConfiguration(const ProfileConfiguration &value)
CreateUsageProfileRequest & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateUsageProfileRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateUsageProfileRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateUsageProfileRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const ProfileConfiguration & GetConfiguration() const
CreateUsageProfileRequest & WithName(Aws::String &&value)
CreateUsageProfileRequest & WithName(const char *value)
CreateUsageProfileRequest & AddTags(const char *key, const char *value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUsageProfileRequest & WithConfiguration(ProfileConfiguration &&value)
CreateUsageProfileRequest & WithName(const 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