AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
PutProfileObjectRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/customer-profiles/CustomerProfilesRequest.h>
9#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace CustomerProfiles {
15namespace Model {
16
20 public:
21 AWS_CUSTOMERPROFILES_API PutProfileObjectRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "PutProfileObject"; }
28
29 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetObjectTypeName() const { return m_objectTypeName; }
36 inline bool ObjectTypeNameHasBeenSet() const { return m_objectTypeNameHasBeenSet; }
37 template <typename ObjectTypeNameT = Aws::String>
38 void SetObjectTypeName(ObjectTypeNameT&& value) {
39 m_objectTypeNameHasBeenSet = true;
40 m_objectTypeName = std::forward<ObjectTypeNameT>(value);
41 }
42 template <typename ObjectTypeNameT = Aws::String>
43 PutProfileObjectRequest& WithObjectTypeName(ObjectTypeNameT&& value) {
44 SetObjectTypeName(std::forward<ObjectTypeNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetObject() const { return m_object; }
54 inline bool ObjectHasBeenSet() const { return m_objectHasBeenSet; }
55 template <typename ObjectT = Aws::String>
56 void SetObject(ObjectT&& value) {
57 m_objectHasBeenSet = true;
58 m_object = std::forward<ObjectT>(value);
59 }
60 template <typename ObjectT = Aws::String>
62 SetObject(std::forward<ObjectT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDomainName() const { return m_domainName; }
72 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
73 template <typename DomainNameT = Aws::String>
74 void SetDomainName(DomainNameT&& value) {
75 m_domainNameHasBeenSet = true;
76 m_domainName = std::forward<DomainNameT>(value);
77 }
78 template <typename DomainNameT = Aws::String>
80 SetDomainName(std::forward<DomainNameT>(value));
81 return *this;
82 }
84 private:
85 Aws::String m_objectTypeName;
86
87 Aws::String m_object;
88
89 Aws::String m_domainName;
90 bool m_objectTypeNameHasBeenSet = false;
91 bool m_objectHasBeenSet = false;
92 bool m_domainNameHasBeenSet = false;
93};
94
95} // namespace Model
96} // namespace CustomerProfiles
97} // namespace Aws
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
PutProfileObjectRequest & WithObjectTypeName(ObjectTypeNameT &&value)
AWS_CUSTOMERPROFILES_API PutProfileObjectRequest()=default
PutProfileObjectRequest & WithObject(ObjectT &&value)
virtual const char * GetServiceRequestName() const override
PutProfileObjectRequest & WithDomainName(DomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String