AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateProfileRequest.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 <aws/b2bi/model/Logging.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/b2bi/model/Tag.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace B2BI
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_B2BI_API CreateProfileRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateProfile"; }
35
36 AWS_B2BI_API Aws::String SerializePayload() const override;
37
39
40
42
45 inline const Aws::String& GetName() const{ return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
48 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
49 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
50 inline CreateProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
51 inline CreateProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
52 inline CreateProfileRequest& WithName(const char* value) { SetName(value); return *this;}
54
56
59 inline const Aws::String& GetEmail() const{ return m_email; }
60 inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; }
61 inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; }
62 inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); }
63 inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); }
64 inline CreateProfileRequest& WithEmail(const Aws::String& value) { SetEmail(value); return *this;}
65 inline CreateProfileRequest& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;}
66 inline CreateProfileRequest& WithEmail(const char* value) { SetEmail(value); return *this;}
68
70
73 inline const Aws::String& GetPhone() const{ return m_phone; }
74 inline bool PhoneHasBeenSet() const { return m_phoneHasBeenSet; }
75 inline void SetPhone(const Aws::String& value) { m_phoneHasBeenSet = true; m_phone = value; }
76 inline void SetPhone(Aws::String&& value) { m_phoneHasBeenSet = true; m_phone = std::move(value); }
77 inline void SetPhone(const char* value) { m_phoneHasBeenSet = true; m_phone.assign(value); }
78 inline CreateProfileRequest& WithPhone(const Aws::String& value) { SetPhone(value); return *this;}
79 inline CreateProfileRequest& WithPhone(Aws::String&& value) { SetPhone(std::move(value)); return *this;}
80 inline CreateProfileRequest& WithPhone(const char* value) { SetPhone(value); return *this;}
82
84
87 inline const Aws::String& GetBusinessName() const{ return m_businessName; }
88 inline bool BusinessNameHasBeenSet() const { return m_businessNameHasBeenSet; }
89 inline void SetBusinessName(const Aws::String& value) { m_businessNameHasBeenSet = true; m_businessName = value; }
90 inline void SetBusinessName(Aws::String&& value) { m_businessNameHasBeenSet = true; m_businessName = std::move(value); }
91 inline void SetBusinessName(const char* value) { m_businessNameHasBeenSet = true; m_businessName.assign(value); }
92 inline CreateProfileRequest& WithBusinessName(const Aws::String& value) { SetBusinessName(value); return *this;}
93 inline CreateProfileRequest& WithBusinessName(Aws::String&& value) { SetBusinessName(std::move(value)); return *this;}
94 inline CreateProfileRequest& WithBusinessName(const char* value) { SetBusinessName(value); return *this;}
96
98
101 inline const Logging& GetLogging() const{ return m_logging; }
102 inline bool LoggingHasBeenSet() const { return m_loggingHasBeenSet; }
103 inline void SetLogging(const Logging& value) { m_loggingHasBeenSet = true; m_logging = value; }
104 inline void SetLogging(Logging&& value) { m_loggingHasBeenSet = true; m_logging = std::move(value); }
105 inline CreateProfileRequest& WithLogging(const Logging& value) { SetLogging(value); return *this;}
106 inline CreateProfileRequest& WithLogging(Logging&& value) { SetLogging(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetClientToken() const{ return m_clientToken; }
114 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
115 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
116 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
117 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
118 inline CreateProfileRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
119 inline CreateProfileRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
120 inline CreateProfileRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
122
124
129 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
130 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
131 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
132 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
133 inline CreateProfileRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
134 inline CreateProfileRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
135 inline CreateProfileRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
136 inline CreateProfileRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
138 private:
139
140 Aws::String m_name;
141 bool m_nameHasBeenSet = false;
142
143 Aws::String m_email;
144 bool m_emailHasBeenSet = false;
145
146 Aws::String m_phone;
147 bool m_phoneHasBeenSet = false;
148
149 Aws::String m_businessName;
150 bool m_businessNameHasBeenSet = false;
151
152 Logging m_logging;
153 bool m_loggingHasBeenSet = false;
154
155 Aws::String m_clientToken;
156 bool m_clientTokenHasBeenSet = false;
157
158 Aws::Vector<Tag> m_tags;
159 bool m_tagsHasBeenSet = false;
160 };
161
162} // namespace Model
163} // namespace B2BI
164} // namespace Aws
CreateProfileRequest & WithLogging(const Logging &value)
CreateProfileRequest & WithTags(const Aws::Vector< Tag > &value)
CreateProfileRequest & WithPhone(const char *value)
void SetEmail(const Aws::String &value)
void SetBusinessName(const Aws::String &value)
CreateProfileRequest & WithBusinessName(const Aws::String &value)
AWS_B2BI_API Aws::String SerializePayload() const override
CreateProfileRequest & WithName(const char *value)
CreateProfileRequest & WithLogging(Logging &&value)
CreateProfileRequest & WithName(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateProfileRequest & WithClientToken(Aws::String &&value)
CreateProfileRequest & WithClientToken(const char *value)
CreateProfileRequest & AddTags(const Tag &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateProfileRequest & WithEmail(const char *value)
const Aws::String & GetBusinessName() const
const Aws::Vector< Tag > & GetTags() const
void SetClientToken(const Aws::String &value)
CreateProfileRequest & WithBusinessName(Aws::String &&value)
void SetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
CreateProfileRequest & WithPhone(const Aws::String &value)
CreateProfileRequest & WithEmail(Aws::String &&value)
CreateProfileRequest & WithBusinessName(const char *value)
CreateProfileRequest & WithTags(Aws::Vector< Tag > &&value)
CreateProfileRequest & WithPhone(Aws::String &&value)
AWS_B2BI_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateProfileRequest & WithEmail(const Aws::String &value)
CreateProfileRequest & WithName(Aws::String &&value)
void SetPhone(const Aws::String &value)
CreateProfileRequest & AddTags(Tag &&value)
CreateProfileRequest & WithClientToken(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector