AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
CalculatedAttributeValue.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CustomerProfiles
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CUSTOMERPROFILES_API CalculatedAttributeValue() = default;
37 AWS_CUSTOMERPROFILES_API CalculatedAttributeValue(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCalculatedAttributeName() const { return m_calculatedAttributeName; }
47 inline bool CalculatedAttributeNameHasBeenSet() const { return m_calculatedAttributeNameHasBeenSet; }
48 template<typename CalculatedAttributeNameT = Aws::String>
49 void SetCalculatedAttributeName(CalculatedAttributeNameT&& value) { m_calculatedAttributeNameHasBeenSet = true; m_calculatedAttributeName = std::forward<CalculatedAttributeNameT>(value); }
50 template<typename CalculatedAttributeNameT = Aws::String>
51 CalculatedAttributeValue& WithCalculatedAttributeName(CalculatedAttributeNameT&& value) { SetCalculatedAttributeName(std::forward<CalculatedAttributeNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDisplayName() const { return m_displayName; }
59 inline bool DisplayNameHasBeenSet() const { return m_displayNameHasBeenSet; }
60 template<typename DisplayNameT = Aws::String>
61 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
62 template<typename DisplayNameT = Aws::String>
63 CalculatedAttributeValue& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
65
67
71 inline const Aws::String& GetIsDataPartial() const { return m_isDataPartial; }
72 inline bool IsDataPartialHasBeenSet() const { return m_isDataPartialHasBeenSet; }
73 template<typename IsDataPartialT = Aws::String>
74 void SetIsDataPartial(IsDataPartialT&& value) { m_isDataPartialHasBeenSet = true; m_isDataPartial = std::forward<IsDataPartialT>(value); }
75 template<typename IsDataPartialT = Aws::String>
76 CalculatedAttributeValue& WithIsDataPartial(IsDataPartialT&& value) { SetIsDataPartial(std::forward<IsDataPartialT>(value)); return *this;}
78
80
83 inline const Aws::String& GetProfileId() const { return m_profileId; }
84 inline bool ProfileIdHasBeenSet() const { return m_profileIdHasBeenSet; }
85 template<typename ProfileIdT = Aws::String>
86 void SetProfileId(ProfileIdT&& value) { m_profileIdHasBeenSet = true; m_profileId = std::forward<ProfileIdT>(value); }
87 template<typename ProfileIdT = Aws::String>
88 CalculatedAttributeValue& WithProfileId(ProfileIdT&& value) { SetProfileId(std::forward<ProfileIdT>(value)); return *this;}
90
92
95 inline const Aws::String& GetValue() const { return m_value; }
96 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
97 template<typename ValueT = Aws::String>
98 void SetValue(ValueT&& value) { m_valueHasBeenSet = true; m_value = std::forward<ValueT>(value); }
99 template<typename ValueT = Aws::String>
100 CalculatedAttributeValue& WithValue(ValueT&& value) { SetValue(std::forward<ValueT>(value)); return *this;}
102
104
108 inline const Aws::Utils::DateTime& GetLastObjectTimestamp() const { return m_lastObjectTimestamp; }
109 inline bool LastObjectTimestampHasBeenSet() const { return m_lastObjectTimestampHasBeenSet; }
110 template<typename LastObjectTimestampT = Aws::Utils::DateTime>
111 void SetLastObjectTimestamp(LastObjectTimestampT&& value) { m_lastObjectTimestampHasBeenSet = true; m_lastObjectTimestamp = std::forward<LastObjectTimestampT>(value); }
112 template<typename LastObjectTimestampT = Aws::Utils::DateTime>
113 CalculatedAttributeValue& WithLastObjectTimestamp(LastObjectTimestampT&& value) { SetLastObjectTimestamp(std::forward<LastObjectTimestampT>(value)); return *this;}
115 private:
116
117 Aws::String m_calculatedAttributeName;
118 bool m_calculatedAttributeNameHasBeenSet = false;
119
120 Aws::String m_displayName;
121 bool m_displayNameHasBeenSet = false;
122
123 Aws::String m_isDataPartial;
124 bool m_isDataPartialHasBeenSet = false;
125
126 Aws::String m_profileId;
127 bool m_profileIdHasBeenSet = false;
128
129 Aws::String m_value;
130 bool m_valueHasBeenSet = false;
131
132 Aws::Utils::DateTime m_lastObjectTimestamp{};
133 bool m_lastObjectTimestampHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace CustomerProfiles
138} // namespace Aws
CalculatedAttributeValue & WithIsDataPartial(IsDataPartialT &&value)
AWS_CUSTOMERPROFILES_API CalculatedAttributeValue()=default
CalculatedAttributeValue & WithLastObjectTimestamp(LastObjectTimestampT &&value)
void SetCalculatedAttributeName(CalculatedAttributeNameT &&value)
AWS_CUSTOMERPROFILES_API CalculatedAttributeValue(Aws::Utils::Json::JsonView jsonValue)
CalculatedAttributeValue & WithCalculatedAttributeName(CalculatedAttributeNameT &&value)
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CUSTOMERPROFILES_API CalculatedAttributeValue & operator=(Aws::Utils::Json::JsonView jsonValue)
CalculatedAttributeValue & WithProfileId(ProfileIdT &&value)
CalculatedAttributeValue & WithDisplayName(DisplayNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue