AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
UpdateCalculatedAttributeDefinitionRequest.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#include <aws/customer-profiles/model/Conditions.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CustomerProfiles {
16namespace Model {
17
21 public:
22 AWS_CUSTOMERPROFILES_API UpdateCalculatedAttributeDefinitionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateCalculatedAttributeDefinition"; }
29
30 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetDomainName() const { return m_domainName; }
37 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
38 template <typename DomainNameT = Aws::String>
39 void SetDomainName(DomainNameT&& value) {
40 m_domainNameHasBeenSet = true;
41 m_domainName = std::forward<DomainNameT>(value);
42 }
43 template <typename DomainNameT = Aws::String>
45 SetDomainName(std::forward<DomainNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetCalculatedAttributeName() const { return m_calculatedAttributeName; }
55 inline bool CalculatedAttributeNameHasBeenSet() const { return m_calculatedAttributeNameHasBeenSet; }
56 template <typename CalculatedAttributeNameT = Aws::String>
57 void SetCalculatedAttributeName(CalculatedAttributeNameT&& value) {
58 m_calculatedAttributeNameHasBeenSet = true;
59 m_calculatedAttributeName = std::forward<CalculatedAttributeNameT>(value);
60 }
61 template <typename CalculatedAttributeNameT = Aws::String>
63 SetCalculatedAttributeName(std::forward<CalculatedAttributeNameT>(value));
64 return *this;
65 }
67
69
72 inline const Aws::String& GetDisplayName() const { return m_displayName; }
73 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
74 template <typename DisplayNameT = Aws::String>
75 void SetDisplayName(DisplayNameT&& value) {
76 m_displayNameHasBeenSet = true;
77 m_displayName = std::forward<DisplayNameT>(value);
78 }
79 template <typename DisplayNameT = Aws::String>
81 SetDisplayName(std::forward<DisplayNameT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::String& GetDescription() const { return m_description; }
91 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 template <typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) {
94 m_descriptionHasBeenSet = true;
95 m_description = std::forward<DescriptionT>(value);
96 }
97 template <typename DescriptionT = Aws::String>
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103
105
109 inline const Conditions& GetConditions() const { return m_conditions; }
110 inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; }
111 template <typename ConditionsT = Conditions>
112 void SetConditions(ConditionsT&& value) {
113 m_conditionsHasBeenSet = true;
114 m_conditions = std::forward<ConditionsT>(value);
115 }
116 template <typename ConditionsT = Conditions>
118 SetConditions(std::forward<ConditionsT>(value));
119 return *this;
120 }
122 private:
123 Aws::String m_domainName;
124
125 Aws::String m_calculatedAttributeName;
126
127 Aws::String m_displayName;
128
129 Aws::String m_description;
130
131 Conditions m_conditions;
132 bool m_domainNameHasBeenSet = false;
133 bool m_calculatedAttributeNameHasBeenSet = false;
134 bool m_displayNameHasBeenSet = false;
135 bool m_descriptionHasBeenSet = false;
136 bool m_conditionsHasBeenSet = false;
137};
138
139} // namespace Model
140} // namespace CustomerProfiles
141} // namespace Aws
UpdateCalculatedAttributeDefinitionRequest & WithDescription(DescriptionT &&value)
UpdateCalculatedAttributeDefinitionRequest & WithCalculatedAttributeName(CalculatedAttributeNameT &&value)
UpdateCalculatedAttributeDefinitionRequest & WithDomainName(DomainNameT &&value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
UpdateCalculatedAttributeDefinitionRequest & WithDisplayName(DisplayNameT &&value)
UpdateCalculatedAttributeDefinitionRequest & WithConditions(ConditionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String