AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
UpdateUsageProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/ProfileConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API UpdateUsageProfileRequest() = 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 "UpdateUsageProfile"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template <typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) {
60 m_descriptionHasBeenSet = true;
61 m_description = std::forward<DescriptionT>(value);
62 }
63 template <typename DescriptionT = Aws::String>
65 SetDescription(std::forward<DescriptionT>(value));
66 return *this;
67 }
69
71
75 inline const ProfileConfiguration& GetConfiguration() const { return m_configuration; }
76 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
77 template <typename ConfigurationT = ProfileConfiguration>
78 void SetConfiguration(ConfigurationT&& value) {
79 m_configurationHasBeenSet = true;
80 m_configuration = std::forward<ConfigurationT>(value);
81 }
82 template <typename ConfigurationT = ProfileConfiguration>
84 SetConfiguration(std::forward<ConfigurationT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_name;
90 bool m_nameHasBeenSet = false;
91
92 Aws::String m_description;
93 bool m_descriptionHasBeenSet = false;
94
95 ProfileConfiguration m_configuration;
96 bool m_configurationHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Glue
101} // namespace Aws
const ProfileConfiguration & GetConfiguration() const
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateUsageProfileRequest & WithConfiguration(ConfigurationT &&value)
UpdateUsageProfileRequest & WithDescription(DescriptionT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
UpdateUsageProfileRequest & WithName(NameT &&value)
AWS_GLUE_API UpdateUsageProfileRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String