AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MergeProfilesRequest.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/customer-profiles/model/FieldSourceProfileIds.h>
12#include <utility>
13
14namespace Aws
15{
16namespace CustomerProfiles
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_CUSTOMERPROFILES_API MergeProfilesRequest();
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 "MergeProfiles"; }
33
34 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDomainName() const{ return m_domainName; }
42 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
43 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
44 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
45 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
46 inline MergeProfilesRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
47 inline MergeProfilesRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
48 inline MergeProfilesRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
50
52
55 inline const Aws::String& GetMainProfileId() const{ return m_mainProfileId; }
56 inline bool MainProfileIdHasBeenSet() const { return m_mainProfileIdHasBeenSet; }
57 inline void SetMainProfileId(const Aws::String& value) { m_mainProfileIdHasBeenSet = true; m_mainProfileId = value; }
58 inline void SetMainProfileId(Aws::String&& value) { m_mainProfileIdHasBeenSet = true; m_mainProfileId = std::move(value); }
59 inline void SetMainProfileId(const char* value) { m_mainProfileIdHasBeenSet = true; m_mainProfileId.assign(value); }
60 inline MergeProfilesRequest& WithMainProfileId(const Aws::String& value) { SetMainProfileId(value); return *this;}
61 inline MergeProfilesRequest& WithMainProfileId(Aws::String&& value) { SetMainProfileId(std::move(value)); return *this;}
62 inline MergeProfilesRequest& WithMainProfileId(const char* value) { SetMainProfileId(value); return *this;}
64
66
69 inline const Aws::Vector<Aws::String>& GetProfileIdsToBeMerged() const{ return m_profileIdsToBeMerged; }
70 inline bool ProfileIdsToBeMergedHasBeenSet() const { return m_profileIdsToBeMergedHasBeenSet; }
71 inline void SetProfileIdsToBeMerged(const Aws::Vector<Aws::String>& value) { m_profileIdsToBeMergedHasBeenSet = true; m_profileIdsToBeMerged = value; }
72 inline void SetProfileIdsToBeMerged(Aws::Vector<Aws::String>&& value) { m_profileIdsToBeMergedHasBeenSet = true; m_profileIdsToBeMerged = std::move(value); }
75 inline MergeProfilesRequest& AddProfileIdsToBeMerged(const Aws::String& value) { m_profileIdsToBeMergedHasBeenSet = true; m_profileIdsToBeMerged.push_back(value); return *this; }
76 inline MergeProfilesRequest& AddProfileIdsToBeMerged(Aws::String&& value) { m_profileIdsToBeMergedHasBeenSet = true; m_profileIdsToBeMerged.push_back(std::move(value)); return *this; }
77 inline MergeProfilesRequest& AddProfileIdsToBeMerged(const char* value) { m_profileIdsToBeMergedHasBeenSet = true; m_profileIdsToBeMerged.push_back(value); return *this; }
79
81
87 inline const FieldSourceProfileIds& GetFieldSourceProfileIds() const{ return m_fieldSourceProfileIds; }
88 inline bool FieldSourceProfileIdsHasBeenSet() const { return m_fieldSourceProfileIdsHasBeenSet; }
89 inline void SetFieldSourceProfileIds(const FieldSourceProfileIds& value) { m_fieldSourceProfileIdsHasBeenSet = true; m_fieldSourceProfileIds = value; }
90 inline void SetFieldSourceProfileIds(FieldSourceProfileIds&& value) { m_fieldSourceProfileIdsHasBeenSet = true; m_fieldSourceProfileIds = std::move(value); }
94 private:
95
96 Aws::String m_domainName;
97 bool m_domainNameHasBeenSet = false;
98
99 Aws::String m_mainProfileId;
100 bool m_mainProfileIdHasBeenSet = false;
101
102 Aws::Vector<Aws::String> m_profileIdsToBeMerged;
103 bool m_profileIdsToBeMergedHasBeenSet = false;
104
105 FieldSourceProfileIds m_fieldSourceProfileIds;
106 bool m_fieldSourceProfileIdsHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CustomerProfiles
111} // namespace Aws
MergeProfilesRequest & WithMainProfileId(const Aws::String &value)
MergeProfilesRequest & AddProfileIdsToBeMerged(const Aws::String &value)
MergeProfilesRequest & AddProfileIdsToBeMerged(const char *value)
MergeProfilesRequest & AddProfileIdsToBeMerged(Aws::String &&value)
const Aws::Vector< Aws::String > & GetProfileIdsToBeMerged() const
MergeProfilesRequest & WithDomainName(const Aws::String &value)
MergeProfilesRequest & WithProfileIdsToBeMerged(const Aws::Vector< Aws::String > &value)
MergeProfilesRequest & WithFieldSourceProfileIds(FieldSourceProfileIds &&value)
void SetFieldSourceProfileIds(FieldSourceProfileIds &&value)
virtual const char * GetServiceRequestName() const override
MergeProfilesRequest & WithDomainName(const char *value)
MergeProfilesRequest & WithMainProfileId(Aws::String &&value)
void SetProfileIdsToBeMerged(Aws::Vector< Aws::String > &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
void SetFieldSourceProfileIds(const FieldSourceProfileIds &value)
const FieldSourceProfileIds & GetFieldSourceProfileIds() const
MergeProfilesRequest & WithDomainName(Aws::String &&value)
MergeProfilesRequest & WithMainProfileId(const char *value)
void SetProfileIdsToBeMerged(const Aws::Vector< Aws::String > &value)
MergeProfilesRequest & WithProfileIdsToBeMerged(Aws::Vector< Aws::String > &&value)
MergeProfilesRequest & WithFieldSourceProfileIds(const FieldSourceProfileIds &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector