AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateProfileRequest.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/b2bi/B2BIRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace B2BI
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_B2BI_API UpdateProfileRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateProfile"; }
31
32 AWS_B2BI_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetProfileId() const { return m_profileId; }
42 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
43 template<typename ProfileIdT = Aws::String>
44 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
45 template<typename ProfileIdT = Aws::String>
46 UpdateProfileRequest& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
55 template<typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
57 template<typename NameT = Aws::String>
58 UpdateProfileRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetEmail() const { return m_email; }
66 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
67 template<typename EmailT = Aws::String>
68 void SetEmail(EmailT&& value) { m_emailHasBeenSet = true; m_email = std::forward<EmailT>(value); }
69 template<typename EmailT = Aws::String>
70 UpdateProfileRequest& WithEmail(EmailT&& value) { SetEmail(std::forward<EmailT>(value)); return *this;}
72
74
77 inline const Aws::String& GetPhone() const { return m_phone; }
78 inline bool PhoneHasBeenSet() const { return m_phoneHasBeenSet; }
79 template<typename PhoneT = Aws::String>
80 void SetPhone(PhoneT&& value) { m_phoneHasBeenSet = true; m_phone = std::forward<PhoneT>(value); }
81 template<typename PhoneT = Aws::String>
82 UpdateProfileRequest& WithPhone(PhoneT&& value) { SetPhone(std::forward<PhoneT>(value)); return *this;}
84
86
89 inline const Aws::String& GetBusinessName() const { return m_businessName; }
90 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
91 template<typename BusinessNameT = Aws::String>
92 void SetBusinessName(BusinessNameT&& value) { m_businessNameHasBeenSet = true; m_businessName = std::forward<BusinessNameT>(value); }
93 template<typename BusinessNameT = Aws::String>
94 UpdateProfileRequest& WithBusinessName(BusinessNameT&& value) { SetBusinessName(std::forward<BusinessNameT>(value)); return *this;}
96 private:
97
98 Aws::String m_profileId;
99 bool m_profileIdHasBeenSet = false;
100
101 Aws::String m_name;
102 bool m_nameHasBeenSet = false;
103
104 Aws::String m_email;
105 bool m_emailHasBeenSet = false;
106
107 Aws::String m_phone;
108 bool m_phoneHasBeenSet = false;
109
110 Aws::String m_businessName;
111 bool m_businessNameHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace B2BI
116} // 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