AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
UpdateProfileRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BIRequest.h>
8#include <aws/b2bi/B2BI_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace B2BI {
15namespace Model {
16
20 public:
21 AWS_B2BI_API UpdateProfileRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "UpdateProfile"; }
28
29 AWS_B2BI_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetProfileId() const { return m_profileId; }
38 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
39 template <typename ProfileIdT = Aws::String>
40 void SetProfileId(ProfileIdT&& value) {
41 m_profileIdHasBeenSet = true;
42 m_profileId = std::forward<ProfileIdT>(value);
43 }
44 template <typename ProfileIdT = Aws::String>
45 UpdateProfileRequest& WithProfileId(ProfileIdT&& value) {
46 SetProfileId(std::forward<ProfileIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetName() const { return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 template <typename NameT = Aws::String>
58 void SetName(NameT&& value) {
59 m_nameHasBeenSet = true;
60 m_name = std::forward<NameT>(value);
61 }
62 template <typename NameT = Aws::String>
64 SetName(std::forward<NameT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetEmail() const { return m_email; }
74 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
75 template <typename EmailT = Aws::String>
76 void SetEmail(EmailT&& value) {
77 m_emailHasBeenSet = true;
78 m_email = std::forward<EmailT>(value);
79 }
80 template <typename EmailT = Aws::String>
82 SetEmail(std::forward<EmailT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetPhone() const { return m_phone; }
92 inline bool PhoneHasBeenSet() const { return m_phoneHasBeenSet; }
93 template <typename PhoneT = Aws::String>
94 void SetPhone(PhoneT&& value) {
95 m_phoneHasBeenSet = true;
96 m_phone = std::forward<PhoneT>(value);
97 }
98 template <typename PhoneT = Aws::String>
100 SetPhone(std::forward<PhoneT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::String& GetBusinessName() const { return m_businessName; }
110 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
111 template <typename BusinessNameT = Aws::String>
112 void SetBusinessName(BusinessNameT&& value) {
113 m_businessNameHasBeenSet = true;
114 m_businessName = std::forward<BusinessNameT>(value);
115 }
116 template <typename BusinessNameT = Aws::String>
117 UpdateProfileRequest& WithBusinessName(BusinessNameT&& value) {
118 SetBusinessName(std::forward<BusinessNameT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_profileId;
124
125 Aws::String m_name;
126
127 Aws::String m_email;
128
129 Aws::String m_phone;
130
131 Aws::String m_businessName;
132 bool m_profileIdHasBeenSet = false;
133 bool m_nameHasBeenSet = false;
134 bool m_emailHasBeenSet = false;
135 bool m_phoneHasBeenSet = false;
136 bool m_businessNameHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace B2BI
141} // namespace Aws
AWS_B2BI_API Aws::String SerializePayload() const override
void SetBusinessName(BusinessNameT &&value)
UpdateProfileRequest & WithPhone(PhoneT &&value)
AWS_B2BI_API UpdateProfileRequest()=default
UpdateProfileRequest & WithProfileId(ProfileIdT &&value)
UpdateProfileRequest & WithEmail(EmailT &&value)
UpdateProfileRequest & WithBusinessName(BusinessNameT &&value)
virtual const char * GetServiceRequestName() const override
UpdateProfileRequest & WithName(NameT &&value)
const Aws::String & GetBusinessName() const
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String