AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Jurisdiction.h
1
6#pragma once
7#include <aws/taxsettings/TaxSettings_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace TaxSettings
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_TAXSETTINGS_API Jurisdiction();
37 AWS_TAXSETTINGS_API Jurisdiction(Aws::Utils::Json::JsonView jsonValue);
38 AWS_TAXSETTINGS_API Jurisdiction& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetCountryCode() const{ return m_countryCode; }
47 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
48 inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
49 inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
50 inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); }
51 inline Jurisdiction& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;}
52 inline Jurisdiction& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;}
53 inline Jurisdiction& WithCountryCode(const char* value) { SetCountryCode(value); return *this;}
55
57
61 inline const Aws::String& GetStateOrRegion() const{ return m_stateOrRegion; }
62 inline bool StateOrRegionHasBeenSet() const { return m_stateOrRegionHasBeenSet; }
63 inline void SetStateOrRegion(const Aws::String& value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion = value; }
64 inline void SetStateOrRegion(Aws::String&& value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion = std::move(value); }
65 inline void SetStateOrRegion(const char* value) { m_stateOrRegionHasBeenSet = true; m_stateOrRegion.assign(value); }
66 inline Jurisdiction& WithStateOrRegion(const Aws::String& value) { SetStateOrRegion(value); return *this;}
67 inline Jurisdiction& WithStateOrRegion(Aws::String&& value) { SetStateOrRegion(std::move(value)); return *this;}
68 inline Jurisdiction& WithStateOrRegion(const char* value) { SetStateOrRegion(value); return *this;}
70 private:
71
72 Aws::String m_countryCode;
73 bool m_countryCodeHasBeenSet = false;
74
75 Aws::String m_stateOrRegion;
76 bool m_stateOrRegionHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace TaxSettings
81} // namespace Aws
void SetCountryCode(Aws::String &&value)
void SetStateOrRegion(const char *value)
void SetCountryCode(const char *value)
void SetStateOrRegion(Aws::String &&value)
const Aws::String & GetCountryCode() const
Jurisdiction & WithCountryCode(Aws::String &&value)
Jurisdiction & WithStateOrRegion(Aws::String &&value)
AWS_TAXSETTINGS_API Jurisdiction()
const Aws::String & GetStateOrRegion() const
void SetStateOrRegion(const Aws::String &value)
AWS_TAXSETTINGS_API Jurisdiction(Aws::Utils::Json::JsonView jsonValue)
Jurisdiction & WithCountryCode(const char *value)
Jurisdiction & WithStateOrRegion(const Aws::String &value)
AWS_TAXSETTINGS_API Jurisdiction & operator=(Aws::Utils::Json::JsonView jsonValue)
Jurisdiction & WithCountryCode(const Aws::String &value)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCountryCode(const Aws::String &value)
Jurisdiction & WithStateOrRegion(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue