AWS SDK for C++

AWS SDK for C++ Version 1.11.941

Loading...
Searching...
No Matches
UpdateProfileRequest.h
1
6#pragma once
7#include <aws/cloudextensions/CloudExtensionsRequest.h>
8#include <aws/cloudextensions/CloudExtensions_EXPORTS.h>
9#include <aws/cloudextensions/model/ExtensionDefaults.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CloudExtensions {
16namespace Model {
17
25 public:
26 AWS_CLOUDEXTENSIONS_API UpdateProfileRequest() = 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 "UpdateProfile"; }
33
34 AWS_CLOUDEXTENSIONS_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetIdentifier() const { return m_identifier; }
41 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
42 template <typename IdentifierT = Aws::String>
43 void SetIdentifier(IdentifierT&& value) {
44 m_identifierHasBeenSet = true;
45 m_identifier = std::forward<IdentifierT>(value);
46 }
47 template <typename IdentifierT = Aws::String>
48 UpdateProfileRequest& WithIdentifier(IdentifierT&& value) {
49 SetIdentifier(std::forward<IdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
85 UpdateProfileRequest& WithDescription(DescriptionT&& value) {
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
96 inline const ExtensionDefaults& GetExtensionDefaults() const { return m_extensionDefaults; }
97 inline bool ExtensionDefaultsHasBeenSet() const { return m_extensionDefaultsHasBeenSet; }
98 template <typename ExtensionDefaultsT = ExtensionDefaults>
99 void SetExtensionDefaults(ExtensionDefaultsT&& value) {
100 m_extensionDefaultsHasBeenSet = true;
101 m_extensionDefaults = std::forward<ExtensionDefaultsT>(value);
102 }
103 template <typename ExtensionDefaultsT = ExtensionDefaults>
104 UpdateProfileRequest& WithExtensionDefaults(ExtensionDefaultsT&& value) {
105 SetExtensionDefaults(std::forward<ExtensionDefaultsT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_identifier;
111
112 Aws::String m_name;
113
114 Aws::String m_description;
115
116 ExtensionDefaults m_extensionDefaults;
117 bool m_identifierHasBeenSet = false;
118 bool m_nameHasBeenSet = false;
119 bool m_descriptionHasBeenSet = false;
120 bool m_extensionDefaultsHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace CloudExtensions
125} // namespace Aws
UpdateProfileRequest & WithName(NameT &&value)
UpdateProfileRequest & WithExtensionDefaults(ExtensionDefaultsT &&value)
UpdateProfileRequest & WithIdentifier(IdentifierT &&value)
UpdateProfileRequest & WithDescription(DescriptionT &&value)
AWS_CLOUDEXTENSIONS_API Aws::String SerializePayload() const override
void SetExtensionDefaults(ExtensionDefaultsT &&value)
virtual const char * GetServiceRequestName() const override
const ExtensionDefaults & GetExtensionDefaults() const
AWS_CLOUDEXTENSIONS_API UpdateProfileRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String