AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AccountDetails.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/taxsettings/model/AccountMetaData.h>
10#include <aws/taxsettings/model/TaxInheritanceDetails.h>
11#include <aws/taxsettings/model/TaxRegistrationWithJurisdiction.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace TaxSettings
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_TAXSETTINGS_API AccountDetails();
39 AWS_TAXSETTINGS_API AccountDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_TAXSETTINGS_API AccountDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetAccountId() const{ return m_accountId; }
49 inline bool AccountIdHasBeenSet() const { return m_accountIdHasBeenSet; }
50 inline void SetAccountId(const Aws::String& value) { m_accountIdHasBeenSet = true; m_accountId = value; }
51 inline void SetAccountId(Aws::String&& value) { m_accountIdHasBeenSet = true; m_accountId = std::move(value); }
52 inline void SetAccountId(const char* value) { m_accountIdHasBeenSet = true; m_accountId.assign(value); }
53 inline AccountDetails& WithAccountId(const Aws::String& value) { SetAccountId(value); return *this;}
54 inline AccountDetails& WithAccountId(Aws::String&& value) { SetAccountId(std::move(value)); return *this;}
55 inline AccountDetails& WithAccountId(const char* value) { SetAccountId(value); return *this;}
57
59
62 inline const AccountMetaData& GetAccountMetaData() const{ return m_accountMetaData; }
63 inline bool AccountMetaDataHasBeenSet() const { return m_accountMetaDataHasBeenSet; }
64 inline void SetAccountMetaData(const AccountMetaData& value) { m_accountMetaDataHasBeenSet = true; m_accountMetaData = value; }
65 inline void SetAccountMetaData(AccountMetaData&& value) { m_accountMetaDataHasBeenSet = true; m_accountMetaData = std::move(value); }
66 inline AccountDetails& WithAccountMetaData(const AccountMetaData& value) { SetAccountMetaData(value); return *this;}
67 inline AccountDetails& WithAccountMetaData(AccountMetaData&& value) { SetAccountMetaData(std::move(value)); return *this;}
69
71
74 inline const TaxInheritanceDetails& GetTaxInheritanceDetails() const{ return m_taxInheritanceDetails; }
75 inline bool TaxInheritanceDetailsHasBeenSet() const { return m_taxInheritanceDetailsHasBeenSet; }
76 inline void SetTaxInheritanceDetails(const TaxInheritanceDetails& value) { m_taxInheritanceDetailsHasBeenSet = true; m_taxInheritanceDetails = value; }
77 inline void SetTaxInheritanceDetails(TaxInheritanceDetails&& value) { m_taxInheritanceDetailsHasBeenSet = true; m_taxInheritanceDetails = std::move(value); }
81
83
88 inline const TaxRegistrationWithJurisdiction& GetTaxRegistration() const{ return m_taxRegistration; }
89 inline bool TaxRegistrationHasBeenSet() const { return m_taxRegistrationHasBeenSet; }
90 inline void SetTaxRegistration(const TaxRegistrationWithJurisdiction& value) { m_taxRegistrationHasBeenSet = true; m_taxRegistration = value; }
91 inline void SetTaxRegistration(TaxRegistrationWithJurisdiction&& value) { m_taxRegistrationHasBeenSet = true; m_taxRegistration = std::move(value); }
93 inline AccountDetails& WithTaxRegistration(TaxRegistrationWithJurisdiction&& value) { SetTaxRegistration(std::move(value)); return *this;}
95 private:
96
97 Aws::String m_accountId;
98 bool m_accountIdHasBeenSet = false;
99
100 AccountMetaData m_accountMetaData;
101 bool m_accountMetaDataHasBeenSet = false;
102
103 TaxInheritanceDetails m_taxInheritanceDetails;
104 bool m_taxInheritanceDetailsHasBeenSet = false;
105
106 TaxRegistrationWithJurisdiction m_taxRegistration;
107 bool m_taxRegistrationHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace TaxSettings
112} // namespace Aws
void SetTaxInheritanceDetails(const TaxInheritanceDetails &value)
AccountDetails & WithAccountId(const char *value)
const AccountMetaData & GetAccountMetaData() const
const TaxInheritanceDetails & GetTaxInheritanceDetails() const
AccountDetails & WithAccountId(Aws::String &&value)
void SetTaxRegistration(TaxRegistrationWithJurisdiction &&value)
const Aws::String & GetAccountId() const
AccountDetails & WithTaxRegistration(TaxRegistrationWithJurisdiction &&value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAccountMetaData(AccountMetaData &&value)
AccountDetails & WithTaxRegistration(const TaxRegistrationWithJurisdiction &value)
AccountDetails & WithAccountMetaData(AccountMetaData &&value)
void SetAccountMetaData(const AccountMetaData &value)
AccountDetails & WithTaxInheritanceDetails(TaxInheritanceDetails &&value)
void SetTaxRegistration(const TaxRegistrationWithJurisdiction &value)
void SetAccountId(Aws::String &&value)
AccountDetails & WithTaxInheritanceDetails(const TaxInheritanceDetails &value)
AccountDetails & WithAccountId(const Aws::String &value)
void SetTaxInheritanceDetails(TaxInheritanceDetails &&value)
AWS_TAXSETTINGS_API AccountDetails(Aws::Utils::Json::JsonView jsonValue)
const TaxRegistrationWithJurisdiction & GetTaxRegistration() const
void SetAccountId(const Aws::String &value)
AccountDetails & WithAccountMetaData(const AccountMetaData &value)
AWS_TAXSETTINGS_API AccountDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue