AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
HolidayConfigAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker {
20namespace Model {
21
31 public:
32 AWS_SAGEMAKER_API HolidayConfigAttributes() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const Aws::String& GetCountryCode() const { return m_countryCode; }
45 inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; }
46 template <typename CountryCodeT = Aws::String>
47 void SetCountryCode(CountryCodeT&& value) {
48 m_countryCodeHasBeenSet = true;
49 m_countryCode = std::forward<CountryCodeT>(value);
50 }
51 template <typename CountryCodeT = Aws::String>
53 SetCountryCode(std::forward<CountryCodeT>(value));
54 return *this;
55 }
57 private:
58 Aws::String m_countryCode;
59 bool m_countryCodeHasBeenSet = false;
60};
61
62} // namespace Model
63} // namespace SageMaker
64} // 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