AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateCalculatedAttributeDefinitionRequest.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/customer-profiles/model/Conditions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CustomerProfiles
16{
17namespace Model
18{
19
23 {
24 public:
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 "UpdateCalculatedAttributeDefinition"; }
32
33 AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetDomainName() const{ return m_domainName; }
41 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
42 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
43 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
44 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
46 inline UpdateCalculatedAttributeDefinitionRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
47 inline UpdateCalculatedAttributeDefinitionRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
49
51
54 inline const Aws::String& GetCalculatedAttributeName() const{ return m_calculatedAttributeName; }
55 inline bool CalculatedAttributeNameHasBeenSet() const { return m_calculatedAttributeNameHasBeenSet; }
56 inline void SetCalculatedAttributeName(const Aws::String& value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName = value; }
57 inline void SetCalculatedAttributeName(Aws::String&& value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName = std::move(value); }
58 inline void SetCalculatedAttributeName(const char* value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName.assign(value); }
63
65
68 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
69 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
70 inline void SetDisplayName(const Aws::String& value) { m_displayNameHasBeenSet = true; m_displayName = value; }
71 inline void SetDisplayName(Aws::String&& value) { m_displayNameHasBeenSet = true; m_displayName = std::move(value); }
72 inline void SetDisplayName(const char* value) { m_displayNameHasBeenSet = true; m_displayName.assign(value); }
74 inline UpdateCalculatedAttributeDefinitionRequest& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
75 inline UpdateCalculatedAttributeDefinitionRequest& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
77
79
82 inline const Aws::String& GetDescription() const{ return m_description; }
83 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
84 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
85 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
86 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
88 inline UpdateCalculatedAttributeDefinitionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
89 inline UpdateCalculatedAttributeDefinitionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
91
93
97 inline const Conditions& GetConditions() const{ return m_conditions; }
98 inline bool ConditionsHasBeenSet() const { return m_conditionsHasBeenSet; }
99 inline void SetConditions(const Conditions& value) { m_conditionsHasBeenSet = true; m_conditions = value; }
100 inline void SetConditions(Conditions&& value) { m_conditionsHasBeenSet = true; m_conditions = std::move(value); }
102 inline UpdateCalculatedAttributeDefinitionRequest& WithConditions(Conditions&& value) { SetConditions(std::move(value)); return *this;}
104 private:
105
106 Aws::String m_domainName;
107 bool m_domainNameHasBeenSet = false;
108
109 Aws::String m_calculatedAttributeName;
110 bool m_calculatedAttributeNameHasBeenSet = false;
111
112 Aws::String m_displayName;
113 bool m_displayNameHasBeenSet = false;
114
115 Aws::String m_description;
116 bool m_descriptionHasBeenSet = false;
117
118 Conditions m_conditions;
119 bool m_conditionsHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace CustomerProfiles
124} // namespace Aws
UpdateCalculatedAttributeDefinitionRequest & WithCalculatedAttributeName(const Aws::String &value)
UpdateCalculatedAttributeDefinitionRequest & WithDomainName(Aws::String &&value)
UpdateCalculatedAttributeDefinitionRequest & WithDisplayName(Aws::String &&value)
UpdateCalculatedAttributeDefinitionRequest & WithCalculatedAttributeName(Aws::String &&value)
UpdateCalculatedAttributeDefinitionRequest & WithDisplayName(const Aws::String &value)
AWS_CUSTOMERPROFILES_API Aws::String SerializePayload() const override
UpdateCalculatedAttributeDefinitionRequest & WithDescription(const Aws::String &value)
UpdateCalculatedAttributeDefinitionRequest & WithConditions(const Conditions &value)
UpdateCalculatedAttributeDefinitionRequest & WithDescription(Aws::String &&value)
UpdateCalculatedAttributeDefinitionRequest & WithDomainName(const Aws::String &value)
UpdateCalculatedAttributeDefinitionRequest & WithCalculatedAttributeName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String