AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
26 AWS_GLUE_API CreateUsageProfileRequest() = default;
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 template<typename NameT = Aws::String>
46 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
47 template<typename NameT = Aws::String>
48 CreateUsageProfileRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template<typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
59 template<typename DescriptionT = Aws::String>
60 CreateUsageProfileRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
62
64
68 inline const ProfileConfiguration& GetConfiguration() const { return m_configuration; }
69 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
70 template<typename ConfigurationT = ProfileConfiguration>
71 void SetConfiguration(ConfigurationT&& value) { m_configurationHasBeenSet = true; m_configuration = std::forward<ConfigurationT>(value); }
72 template<typename ConfigurationT = ProfileConfiguration>
73 CreateUsageProfileRequest& WithConfiguration(ConfigurationT&& value) { SetConfiguration(std::forward<ConfigurationT>(value)); return *this;}
75
77
80 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
81 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
82 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
83 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
84 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 CreateUsageProfileRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
86 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
87 CreateUsageProfileRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
88 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
89 }
91 private:
92
93 Aws::String m_name;
94 bool m_nameHasBeenSet = false;
95
96 Aws::String m_description;
97 bool m_descriptionHasBeenSet = false;
98
99 ProfileConfiguration m_configuration;
100 bool m_configurationHasBeenSet = false;
101
103 bool m_tagsHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Glue
108} // namespace Aws
virtual const char * GetServiceRequestName() const override
CreateUsageProfileRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateUsageProfileRequest & WithConfiguration(ConfigurationT &&value)
AWS_GLUE_API CreateUsageProfileRequest()=default
CreateUsageProfileRequest & WithName(NameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
CreateUsageProfileRequest & WithTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateUsageProfileRequest & WithDescription(DescriptionT &&value)
const ProfileConfiguration & GetConfiguration() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
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