AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; }
53 inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); }
54 inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); }
55 inline HolidayConfigAttributes& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;}
56 inline HolidayConfigAttributes& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;}
57 inline HolidayConfigAttributes& WithCountryCode(const char* value) { SetCountryCode(value); return *this;}
59 private:
60
61 Aws::String m_countryCode;
62 bool m_countryCodeHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace SageMaker
67} // namespace Aws
AWS_SAGEMAKER_API HolidayConfigAttributes(Aws::Utils::Json::JsonView jsonValue)
HolidayConfigAttributes & WithCountryCode(Aws::String &&value)
AWS_SAGEMAKER_API HolidayConfigAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HolidayConfigAttributes & WithCountryCode(const char *value)
HolidayConfigAttributes & WithCountryCode(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue