AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetProfileId(const Aws::String& value) { m_profileIdHasBeenSet = true; m_profileId = value; }
43 inline void SetProfileId(Aws::String&& value) { m_profileIdHasBeenSet = true; m_profileId = std::move(value); }
44 inline void SetProfileId(const char* value) { m_profileIdHasBeenSet = true; m_profileId.assign(value); }
45 inline AddProfileKeyRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
46 inline AddProfileKeyRequest& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
47 inline AddProfileKeyRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;}
49
51
59 inline const Aws::String& GetKeyName() const{ return m_keyName; }
60 inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
61 inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; }
62 inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); }
63 inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); }
64 inline AddProfileKeyRequest& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
65 inline AddProfileKeyRequest& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
66 inline AddProfileKeyRequest& WithKeyName(const char* value) { SetKeyName(value); return *this;}
68
70
73 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
74 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
75 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
76 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
77 inline AddProfileKeyRequest& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
78 inline AddProfileKeyRequest& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
79 inline AddProfileKeyRequest& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
80 inline AddProfileKeyRequest& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
81 inline AddProfileKeyRequest& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
83
85
88 inline const Aws::String& GetDomainName() const{ return m_domainName; }
89 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
90 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
91 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
92 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
93 inline AddProfileKeyRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
94 inline AddProfileKeyRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
95 inline AddProfileKeyRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
97 private:
98
99 Aws::String m_profileId;
100 bool m_profileIdHasBeenSet = false;
101
102 Aws::String m_keyName;
103 bool m_keyNameHasBeenSet = false;
104
106 bool m_valuesHasBeenSet = false;
107
108 Aws::String m_domainName;
109 bool m_domainNameHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CustomerProfiles
114} // namespace Aws
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
AddProfileKeyRequest & WithProfileId(const Aws::String &value)
AddProfileKeyRequest & WithDomainName(Aws::String &&value)
AddProfileKeyRequest & WithDomainName(const Aws::String &value)
AddProfileKeyRequest & WithKeyName(const char *value)
AddProfileKeyRequest & WithProfileId(const char *value)
AddProfileKeyRequest & WithKeyName(const Aws::String &value)
AddProfileKeyRequest & AddValues(const Aws::String &value)
const Aws::Vector< Aws::String > & GetValues() const
AddProfileKeyRequest & WithKeyName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AddProfileKeyRequest & WithDomainName(const char *value)
void SetValues(Aws::Vector< Aws::String > &&value)
AddProfileKeyRequest & AddValues(Aws::String &&value)
AddProfileKeyRequest & WithValues(const Aws::Vector< Aws::String > &value)
AddProfileKeyRequest & WithValues(Aws::Vector< Aws::String > &&value)
void SetValues(const Aws::Vector< Aws::String > &value)
AddProfileKeyRequest & WithProfileId(Aws::String &&value)
AddProfileKeyRequest & AddValues(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector