AWS SDK for C++

AWS SDK for C++ Version 1.11.711

Loading...
Searching...
No Matches
Amendment.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/partnercentral-benefits/PartnerCentralBenefits_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace PartnerCentralBenefits {
20namespace Model {
21
28class Amendment {
29 public:
30 AWS_PARTNERCENTRALBENEFITS_API Amendment() = default;
31 AWS_PARTNERCENTRALBENEFITS_API Amendment(Aws::Utils::Json::JsonView jsonValue);
32 AWS_PARTNERCENTRALBENEFITS_API Amendment& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetFieldPath() const { return m_fieldPath; }
41 inline bool FieldPathHasBeenSet() const { return m_fieldPathHasBeenSet; }
42 template <typename FieldPathT = Aws::String>
43 void SetFieldPath(FieldPathT&& value) {
44 m_fieldPathHasBeenSet = true;
45 m_fieldPath = std::forward<FieldPathT>(value);
46 }
47 template <typename FieldPathT = Aws::String>
48 Amendment& WithFieldPath(FieldPathT&& value) {
49 SetFieldPath(std::forward<FieldPathT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetNewValue() const { return m_newValue; }
59 inline bool NewValueHasBeenSet() const { return m_newValueHasBeenSet; }
60 template <typename NewValueT = Aws::String>
61 void SetNewValue(NewValueT&& value) {
62 m_newValueHasBeenSet = true;
63 m_newValue = std::forward<NewValueT>(value);
64 }
65 template <typename NewValueT = Aws::String>
66 Amendment& WithNewValue(NewValueT&& value) {
67 SetNewValue(std::forward<NewValueT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_fieldPath;
73
74 Aws::String m_newValue;
75 bool m_fieldPathHasBeenSet = false;
76 bool m_newValueHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace PartnerCentralBenefits
81} // namespace Aws
AWS_PARTNERCENTRALBENEFITS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PARTNERCENTRALBENEFITS_API Amendment(Aws::Utils::Json::JsonView jsonValue)
AWS_PARTNERCENTRALBENEFITS_API Amendment()=default
Amendment & WithNewValue(NewValueT &&value)
Definition Amendment.h:66
Amendment & WithFieldPath(FieldPathT &&value)
Definition Amendment.h:48
const Aws::String & GetFieldPath() const
Definition Amendment.h:40
const Aws::String & GetNewValue() const
Definition Amendment.h:58
AWS_PARTNERCENTRALBENEFITS_API Amendment & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue