AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AddProfileKeyRequest.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 <utility>
12
13namespace Aws
14{
15namespace CustomerProfiles
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_CUSTOMERPROFILES_API AddProfileKeyRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AddProfileKey"; }
32
33 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetProfileId() const { return m_profileId; }
41 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
42 template<typename ProfileIdT = Aws::String>
43 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
44 template<typename ProfileIdT = Aws::String>
45 AddProfileKeyRequest& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
47
49
57 inline const Aws::String& GetKeyName() const { return m_keyName; }
58 inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
59 template<typename KeyNameT = Aws::String>
60 void SetKeyName(KeyNameT&& value) { m_keyNameHasBeenSet = true; m_keyName = std::forward<KeyNameT>(value); }
61 template<typename KeyNameT = Aws::String>
62 AddProfileKeyRequest& WithKeyName(KeyNameT&& value) { SetKeyName(std::forward<KeyNameT>(value)); return *this;}
64
66
69 inline const Aws::Vector<Aws::String>& GetValues() const { return m_values; }
70 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
71 template<typename ValuesT = Aws::Vector<Aws::String>>
72 void SetValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values = std::forward<ValuesT>(value); }
73 template<typename ValuesT = Aws::Vector<Aws::String>>
74 AddProfileKeyRequest& WithValues(ValuesT&& value) { SetValues(std::forward<ValuesT>(value)); return *this;}
75 template<typename ValuesT = Aws::String>
76 AddProfileKeyRequest& AddValues(ValuesT&& value) { m_valuesHasBeenSet = true; m_values.emplace_back(std::forward<ValuesT>(value)); return *this; }
78
80
83 inline const Aws::String& GetDomainName() const { return m_domainName; }
84 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
85 template<typename DomainNameT = Aws::String>
86 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
87 template<typename DomainNameT = Aws::String>
88 AddProfileKeyRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
90 private:
91
92 Aws::String m_profileId;
93 bool m_profileIdHasBeenSet = false;
94
95 Aws::String m_keyName;
96 bool m_keyNameHasBeenSet = false;
97
99 bool m_valuesHasBeenSet = false;
100
101 Aws::String m_domainName;
102 bool m_domainNameHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace CustomerProfiles
107} // namespace Aws
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
AddProfileKeyRequest & WithProfileId(ProfileIdT &&value)
AddProfileKeyRequest & AddValues(ValuesT &&value)
AddProfileKeyRequest & WithDomainName(DomainNameT &&value)
const Aws::Vector< Aws::String > & GetValues() const
AWS_CUSTOMERPROFILES_API AddProfileKeyRequest()=default
AddProfileKeyRequest & WithValues(ValuesT &&value)
virtual const char * GetServiceRequestName() const override
AddProfileKeyRequest & WithKeyName(KeyNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector