AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
Authority.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
28class Authority {
29 public:
30 AWS_TAXSETTINGS_API Authority() = default;
31 AWS_TAXSETTINGS_API Authority(Aws::Utils::Json::JsonView jsonValue);
32 AWS_TAXSETTINGS_API Authority& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetCountry() const { return m_country; }
40 inline bool CountryHasBeenSet() const { return m_countryHasBeenSet; }
41 template <typename CountryT = Aws::String>
42 void SetCountry(CountryT&& value) {
43 m_countryHasBeenSet = true;
44 m_country = std::forward<CountryT>(value);
45 }
46 template <typename CountryT = Aws::String>
47 Authority& WithCountry(CountryT&& value) {
48 SetCountry(std::forward<CountryT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetState() const { return m_state; }
58 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
59 template <typename StateT = Aws::String>
60 void SetState(StateT&& value) {
61 m_stateHasBeenSet = true;
62 m_state = std::forward<StateT>(value);
63 }
64 template <typename StateT = Aws::String>
65 Authority& WithState(StateT&& value) {
66 SetState(std::forward<StateT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_country;
72
73 Aws::String m_state;
74 bool m_countryHasBeenSet = false;
75 bool m_stateHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace TaxSettings
80} // namespace Aws
Authority & WithState(StateT &&value)
Definition Authority.h:65
void SetCountry(CountryT &&value)
Definition Authority.h:42
const Aws::String & GetCountry() const
Definition Authority.h:39
AWS_TAXSETTINGS_API Authority()=default
void SetState(StateT &&value)
Definition Authority.h:60
AWS_TAXSETTINGS_API Authority & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_TAXSETTINGS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetState() const
Definition Authority.h:57
Authority & WithCountry(CountryT &&value)
Definition Authority.h:47
AWS_TAXSETTINGS_API Authority(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue