AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
44 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
45 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
46 inline UpdateProfileRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
47 inline UpdateProfileRequest& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
48 inline UpdateProfileRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;}
50
52
55 inline const Aws::String& GetName() const{ return m_name; }
56 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
57 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
58 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
59 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
60 inline UpdateProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
61 inline UpdateProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
62 inline UpdateProfileRequest& WithName(const char* value) { SetName(value); return *this;}
64
66
69 inline const Aws::String& GetEmail() const{ return m_email; }
70 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
71 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
72 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
73 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
74 inline UpdateProfileRequest& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
75 inline UpdateProfileRequest& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
76 inline UpdateProfileRequest& WithEmail(const char* value) { SetEmail(value); return *this;}
78
80
83 inline const Aws::String& GetPhone() const{ return m_phone; }
84 inline bool PhoneHasBeenSet() const { return m_phoneHasBeenSet; }
85 inline void SetPhone(const Aws::String& value) { m_phoneHasBeenSet = true; m_phone = value; }
86 inline void SetPhone(Aws::String&& value) { m_phoneHasBeenSet = true; m_phone = std::move(value); }
87 inline void SetPhone(const char* value) { m_phoneHasBeenSet = true; m_phone.assign(value); }
88 inline UpdateProfileRequest& WithPhone(const Aws::String& value) { SetPhone(value); return *this;}
89 inline UpdateProfileRequest& WithPhone(Aws::String&& value) { SetPhone(std::move(value)); return *this;}
90 inline UpdateProfileRequest& WithPhone(const char* value) { SetPhone(value); return *this;}
92
94
97 inline const Aws::String& GetBusinessName() const{ return m_businessName; }
98 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
99 inline void SetBusinessName(const Aws::String& value) { m_businessNameHasBeenSet = true; m_businessName = value; }
100 inline void SetBusinessName(Aws::String&& value) { m_businessNameHasBeenSet = true; m_businessName = std::move(value); }
101 inline void SetBusinessName(const char* value) { m_businessNameHasBeenSet = true; m_businessName.assign(value); }
102 inline UpdateProfileRequest& WithBusinessName(const Aws::String& value) { SetBusinessName(value); return *this;}
103 inline UpdateProfileRequest& WithBusinessName(Aws::String&& value) { SetBusinessName(std::move(value)); return *this;}
104 inline UpdateProfileRequest& WithBusinessName(const char* value) { SetBusinessName(value); return *this;}
106 private:
107
108 Aws::String m_profileId;
109 bool m_profileIdHasBeenSet = false;
110
111 Aws::String m_name;
112 bool m_nameHasBeenSet = false;
113
114 Aws::String m_email;
115 bool m_emailHasBeenSet = false;
116
117 Aws::String m_phone;
118 bool m_phoneHasBeenSet = false;
119
120 Aws::String m_businessName;
121 bool m_businessNameHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace B2BI
126} // namespace Aws
UpdateProfileRequest & WithPhone(const Aws::String &value)
UpdateProfileRequest & WithProfileId(const char *value)
AWS_B2BI_API Aws::String SerializePayload() const override
void SetBusinessName(const Aws::String &value)
UpdateProfileRequest & WithName(const char *value)
void SetPhone(const Aws::String &value)
UpdateProfileRequest & WithPhone(const char *value)
UpdateProfileRequest & WithPhone(Aws::String &&value)
UpdateProfileRequest & WithBusinessName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateProfileRequest & WithProfileId(const Aws::String &value)
void SetProfileId(const Aws::String &value)
UpdateProfileRequest & WithEmail(const Aws::String &value)
void SetName(const Aws::String &value)
UpdateProfileRequest & WithEmail(Aws::String &&value)
UpdateProfileRequest & WithBusinessName(const Aws::String &value)
UpdateProfileRequest & WithName(const Aws::String &value)
UpdateProfileRequest & WithBusinessName(Aws::String &&value)
UpdateProfileRequest & WithEmail(const char *value)
UpdateProfileRequest & WithName(Aws::String &&value)
const Aws::String & GetBusinessName() const
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetEmail(const Aws::String &value)
UpdateProfileRequest & WithProfileId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String