/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Connect { namespace Model { /** *

Information about of the hours of operation.

See Also:

AWS * API Reference

*/ class HoursOfOperation { public: AWS_CONNECT_API HoursOfOperation(); AWS_CONNECT_API HoursOfOperation(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API HoursOfOperation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The identifier for the hours of operation.

*/ inline const Aws::String& GetHoursOfOperationId() const{ return m_hoursOfOperationId; } /** *

The identifier for the hours of operation.

*/ inline bool HoursOfOperationIdHasBeenSet() const { return m_hoursOfOperationIdHasBeenSet; } /** *

The identifier for the hours of operation.

*/ inline void SetHoursOfOperationId(const Aws::String& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = value; } /** *

The identifier for the hours of operation.

*/ inline void SetHoursOfOperationId(Aws::String&& value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId = std::move(value); } /** *

The identifier for the hours of operation.

*/ inline void SetHoursOfOperationId(const char* value) { m_hoursOfOperationIdHasBeenSet = true; m_hoursOfOperationId.assign(value); } /** *

The identifier for the hours of operation.

*/ inline HoursOfOperation& WithHoursOfOperationId(const Aws::String& value) { SetHoursOfOperationId(value); return *this;} /** *

The identifier for the hours of operation.

*/ inline HoursOfOperation& WithHoursOfOperationId(Aws::String&& value) { SetHoursOfOperationId(std::move(value)); return *this;} /** *

The identifier for the hours of operation.

*/ inline HoursOfOperation& WithHoursOfOperationId(const char* value) { SetHoursOfOperationId(value); return *this;} /** *

The Amazon Resource Name (ARN) for the hours of operation.

*/ inline const Aws::String& GetHoursOfOperationArn() const{ return m_hoursOfOperationArn; } /** *

The Amazon Resource Name (ARN) for the hours of operation.

*/ inline bool HoursOfOperationArnHasBeenSet() const { return m_hoursOfOperationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the hours of operation.

*/ inline void SetHoursOfOperationArn(const Aws::String& value) { m_hoursOfOperationArnHasBeenSet = true; m_hoursOfOperationArn = value; } /** *

The Amazon Resource Name (ARN) for the hours of operation.

*/ inline void SetHoursOfOperationArn(Aws::String&& value) { m_hoursOfOperationArnHasBeenSet = true; m_hoursOfOperationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the hours of operation.

*/ inline void SetHoursOfOperationArn(const char* value) { m_hoursOfOperationArnHasBeenSet = true; m_hoursOfOperationArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the hours of operation.

*/ inline HoursOfOperation& WithHoursOfOperationArn(const Aws::String& value) { SetHoursOfOperationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the hours of operation.

*/ inline HoursOfOperation& WithHoursOfOperationArn(Aws::String&& value) { SetHoursOfOperationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the hours of operation.

*/ inline HoursOfOperation& WithHoursOfOperationArn(const char* value) { SetHoursOfOperationArn(value); return *this;} /** *

The name for the hours of operation.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name for the hours of operation.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name for the hours of operation.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name for the hours of operation.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name for the hours of operation.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name for the hours of operation.

*/ inline HoursOfOperation& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name for the hours of operation.

*/ inline HoursOfOperation& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name for the hours of operation.

*/ inline HoursOfOperation& WithName(const char* value) { SetName(value); return *this;} /** *

The description for the hours of operation.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description for the hours of operation.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description for the hours of operation.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description for the hours of operation.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description for the hours of operation.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description for the hours of operation.

*/ inline HoursOfOperation& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description for the hours of operation.

*/ inline HoursOfOperation& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description for the hours of operation.

*/ inline HoursOfOperation& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The time zone for the hours of operation.

*/ inline const Aws::String& GetTimeZone() const{ return m_timeZone; } /** *

The time zone for the hours of operation.

*/ inline bool TimeZoneHasBeenSet() const { return m_timeZoneHasBeenSet; } /** *

The time zone for the hours of operation.

*/ inline void SetTimeZone(const Aws::String& value) { m_timeZoneHasBeenSet = true; m_timeZone = value; } /** *

The time zone for the hours of operation.

*/ inline void SetTimeZone(Aws::String&& value) { m_timeZoneHasBeenSet = true; m_timeZone = std::move(value); } /** *

The time zone for the hours of operation.

*/ inline void SetTimeZone(const char* value) { m_timeZoneHasBeenSet = true; m_timeZone.assign(value); } /** *

The time zone for the hours of operation.

*/ inline HoursOfOperation& WithTimeZone(const Aws::String& value) { SetTimeZone(value); return *this;} /** *

The time zone for the hours of operation.

*/ inline HoursOfOperation& WithTimeZone(Aws::String&& value) { SetTimeZone(std::move(value)); return *this;} /** *

The time zone for the hours of operation.

*/ inline HoursOfOperation& WithTimeZone(const char* value) { SetTimeZone(value); return *this;} /** *

Configuration information for the hours of operation.

*/ inline const Aws::Vector& GetConfig() const{ return m_config; } /** *

Configuration information for the hours of operation.

*/ inline bool ConfigHasBeenSet() const { return m_configHasBeenSet; } /** *

Configuration information for the hours of operation.

*/ inline void SetConfig(const Aws::Vector& value) { m_configHasBeenSet = true; m_config = value; } /** *

Configuration information for the hours of operation.

*/ inline void SetConfig(Aws::Vector&& value) { m_configHasBeenSet = true; m_config = std::move(value); } /** *

Configuration information for the hours of operation.

*/ inline HoursOfOperation& WithConfig(const Aws::Vector& value) { SetConfig(value); return *this;} /** *

Configuration information for the hours of operation.

*/ inline HoursOfOperation& WithConfig(Aws::Vector&& value) { SetConfig(std::move(value)); return *this;} /** *

Configuration information for the hours of operation.

*/ inline HoursOfOperation& AddConfig(const HoursOfOperationConfig& value) { m_configHasBeenSet = true; m_config.push_back(value); return *this; } /** *

Configuration information for the hours of operation.

*/ inline HoursOfOperation& AddConfig(HoursOfOperationConfig&& value) { m_configHasBeenSet = true; m_config.push_back(std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline HoursOfOperation& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline HoursOfOperation& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline HoursOfOperation& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline HoursOfOperation& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline HoursOfOperation& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline HoursOfOperation& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline HoursOfOperation& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline HoursOfOperation& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline HoursOfOperation& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_hoursOfOperationId; bool m_hoursOfOperationIdHasBeenSet = false; Aws::String m_hoursOfOperationArn; bool m_hoursOfOperationArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_timeZone; bool m_timeZoneHasBeenSet = false; Aws::Vector m_config; bool m_configHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws