AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutProfileObjectRequest.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 <utility>
11
12namespace Aws
13{
14namespace CustomerProfiles
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_CUSTOMERPROFILES_API PutProfileObjectRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "PutProfileObject"; }
31
32 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetObjectTypeName() const{ return m_objectTypeName; }
40 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
41 inline void SetObjectTypeName(const Aws::String& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = value; }
42 inline void SetObjectTypeName(Aws::String&& value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName = std::move(value); }
43 inline void SetObjectTypeName(const char* value) { m_objectTypeNameHasBeenSet = true; m_objectTypeName.assign(value); }
44 inline PutProfileObjectRequest& WithObjectTypeName(const Aws::String& value) { SetObjectTypeName(value); return *this;}
45 inline PutProfileObjectRequest& WithObjectTypeName(Aws::String&& value) { SetObjectTypeName(std::move(value)); return *this;}
46 inline PutProfileObjectRequest& WithObjectTypeName(const char* value) { SetObjectTypeName(value); return *this;}
48
50
53 inline const Aws::String& GetObject() const{ return m_object; }
54 inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; }
55 inline void SetObject(const Aws::String& value) { m_objectHasBeenSet = true; m_object = value; }
56 inline void SetObject(Aws::String&& value) { m_objectHasBeenSet = true; m_object = std::move(value); }
57 inline void SetObject(const char* value) { m_objectHasBeenSet = true; m_object.assign(value); }
58 inline PutProfileObjectRequest& WithObject(const Aws::String& value) { SetObject(value); return *this;}
59 inline PutProfileObjectRequest& WithObject(Aws::String&& value) { SetObject(std::move(value)); return *this;}
60 inline PutProfileObjectRequest& WithObject(const char* value) { SetObject(value); return *this;}
62
64
67 inline const Aws::String& GetDomainName() const{ return m_domainName; }
68 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
69 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
70 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
71 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
72 inline PutProfileObjectRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
73 inline PutProfileObjectRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
74 inline PutProfileObjectRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
76 private:
77
78 Aws::String m_objectTypeName;
79 bool m_objectTypeNameHasBeenSet = false;
80
81 Aws::String m_object;
82 bool m_objectHasBeenSet = false;
83
84 Aws::String m_domainName;
85 bool m_domainNameHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace CustomerProfiles
90} // namespace Aws
PutProfileObjectRequest & WithDomainName(const Aws::String &value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
PutProfileObjectRequest & WithObject(Aws::String &&value)
PutProfileObjectRequest & WithDomainName(Aws::String &&value)
PutProfileObjectRequest & WithObjectTypeName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
PutProfileObjectRequest & WithObject(const Aws::String &value)
PutProfileObjectRequest & WithObject(const char *value)
PutProfileObjectRequest & WithObjectTypeName(const char *value)
PutProfileObjectRequest & WithObjectTypeName(const Aws::String &value)
PutProfileObjectRequest & WithDomainName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String