AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteProfileKeyRequest.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 DeleteProfileKeyRequest();
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 "DeleteProfileKey"; }
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 DeleteProfileKeyRequest& WithProfileId(const Aws::String& value) { SetProfileId(value); return *this;}
46 inline DeleteProfileKeyRequest& WithProfileId(Aws::String&& value) { SetProfileId(std::move(value)); return *this;}
47 inline DeleteProfileKeyRequest& WithProfileId(const char* value) { SetProfileId(value); return *this;}
49
51
54 inline const Aws::String& GetKeyName() const{ return m_keyName; }
55 inline bool KeyNameHasBeenSet() const { return m_keyNameHasBeenSet; }
56 inline void SetKeyName(const Aws::String& value) { m_keyNameHasBeenSet = true; m_keyName = value; }
57 inline void SetKeyName(Aws::String&& value) { m_keyNameHasBeenSet = true; m_keyName = std::move(value); }
58 inline void SetKeyName(const char* value) { m_keyNameHasBeenSet = true; m_keyName.assign(value); }
59 inline DeleteProfileKeyRequest& WithKeyName(const Aws::String& value) { SetKeyName(value); return *this;}
60 inline DeleteProfileKeyRequest& WithKeyName(Aws::String&& value) { SetKeyName(std::move(value)); return *this;}
61 inline DeleteProfileKeyRequest& WithKeyName(const char* value) { SetKeyName(value); return *this;}
63
65
68 inline const Aws::Vector<Aws::String>& GetValues() const{ return m_values; }
69 inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; }
70 inline void SetValues(const Aws::Vector<Aws::String>& value) { m_valuesHasBeenSet = true; m_values = value; }
71 inline void SetValues(Aws::Vector<Aws::String>&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); }
72 inline DeleteProfileKeyRequest& WithValues(const Aws::Vector<Aws::String>& value) { SetValues(value); return *this;}
73 inline DeleteProfileKeyRequest& WithValues(Aws::Vector<Aws::String>&& value) { SetValues(std::move(value)); return *this;}
74 inline DeleteProfileKeyRequest& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
75 inline DeleteProfileKeyRequest& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; }
76 inline DeleteProfileKeyRequest& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; }
78
80
83 inline const Aws::String& GetDomainName() const{ return m_domainName; }
84 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
85 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
86 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
87 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
88 inline DeleteProfileKeyRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
89 inline DeleteProfileKeyRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
90 inline DeleteProfileKeyRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
92 private:
93
94 Aws::String m_profileId;
95 bool m_profileIdHasBeenSet = false;
96
97 Aws::String m_keyName;
98 bool m_keyNameHasBeenSet = false;
99
101 bool m_valuesHasBeenSet = false;
102
103 Aws::String m_domainName;
104 bool m_domainNameHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace CustomerProfiles
109} // namespace Aws
DeleteProfileKeyRequest & AddValues(const char *value)
DeleteProfileKeyRequest & WithValues(const Aws::Vector< Aws::String > &value)
void SetValues(const Aws::Vector< Aws::String > &value)
virtual const char * GetServiceRequestName() const override
DeleteProfileKeyRequest & WithValues(Aws::Vector< Aws::String > &&value)
DeleteProfileKeyRequest & AddValues(const Aws::String &value)
DeleteProfileKeyRequest & AddValues(Aws::String &&value)
DeleteProfileKeyRequest & WithKeyName(Aws::String &&value)
DeleteProfileKeyRequest & WithDomainName(const Aws::String &value)
DeleteProfileKeyRequest & WithDomainName(Aws::String &&value)
DeleteProfileKeyRequest & WithDomainName(const char *value)
DeleteProfileKeyRequest & WithKeyName(const char *value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
DeleteProfileKeyRequest & WithProfileId(const char *value)
DeleteProfileKeyRequest & WithProfileId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetValues() const
DeleteProfileKeyRequest & WithKeyName(const Aws::String &value)
DeleteProfileKeyRequest & WithProfileId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector