AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
TaxInheritanceDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/taxsettings/TaxSettings_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace TaxSettings {
20namespace Model {
21
29 public:
30 AWS_TAXSETTINGS_API TaxInheritanceDetails() = default;
31 AWS_TAXSETTINGS_API TaxInheritanceDetails(Aws::Utils::Json::JsonView jsonValue);
33 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetInheritanceObtainedReason() const { return m_inheritanceObtainedReason; }
40 inline bool InheritanceObtainedReasonHasBeenSet() const { return m_inheritanceObtainedReasonHasBeenSet; }
41 template <typename InheritanceObtainedReasonT = Aws::String>
42 void SetInheritanceObtainedReason(InheritanceObtainedReasonT&& value) {
43 m_inheritanceObtainedReasonHasBeenSet = true;
44 m_inheritanceObtainedReason = std::forward<InheritanceObtainedReasonT>(value);
45 }
46 template <typename InheritanceObtainedReasonT = Aws::String>
47 TaxInheritanceDetails& WithInheritanceObtainedReason(InheritanceObtainedReasonT&& value) {
48 SetInheritanceObtainedReason(std::forward<InheritanceObtainedReasonT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetParentEntityId() const { return m_parentEntityId; }
58 inline bool ParentEntityIdHasBeenSet() const { return m_parentEntityIdHasBeenSet; }
59 template <typename ParentEntityIdT = Aws::String>
60 void SetParentEntityId(ParentEntityIdT&& value) {
61 m_parentEntityIdHasBeenSet = true;
62 m_parentEntityId = std::forward<ParentEntityIdT>(value);
63 }
64 template <typename ParentEntityIdT = Aws::String>
65 TaxInheritanceDetails& WithParentEntityId(ParentEntityIdT&& value) {
66 SetParentEntityId(std::forward<ParentEntityIdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_inheritanceObtainedReason;
72
73 Aws::String m_parentEntityId;
74 bool m_inheritanceObtainedReasonHasBeenSet = false;
75 bool m_parentEntityIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace TaxSettings
80} // namespace Aws
TaxInheritanceDetails & WithParentEntityId(ParentEntityIdT &&value)
AWS_TAXSETTINGS_API TaxInheritanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TAXSETTINGS_API TaxInheritanceDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_TAXSETTINGS_API TaxInheritanceDetails()=default
TaxInheritanceDetails & WithInheritanceObtainedReason(InheritanceObtainedReasonT &&value)
void SetInheritanceObtainedReason(InheritanceObtainedReasonT &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue