AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
HolidayConfigAttributes.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_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 SageMaker
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_SAGEMAKER_API HolidayConfigAttributes() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetCountryCode() const { return m_countryCode; }
51 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
52 template<typename CountryCodeT = Aws::String>
53 void SetCountryCode(CountryCodeT&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::forward<CountryCodeT>(value); }
54 template<typename CountryCodeT = Aws::String>
55 HolidayConfigAttributes& WithCountryCode(CountryCodeT&& value) { SetCountryCode(std::forward<CountryCodeT>(value)); return *this;}
57 private:
58
59 Aws::String m_countryCode;
60 bool m_countryCodeHasBeenSet = false;
61 };
62
63} // namespace Model
64} // namespace SageMaker
65} // namespace Aws
AWS_SAGEMAKER_API HolidayConfigAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API HolidayConfigAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
HolidayConfigAttributes & WithCountryCode(CountryCodeT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API HolidayConfigAttributes()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue