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

Facility containing destinations, workers, activities, and * tasks.

See Also:

AWS * API Reference

*/ class Site { public: AWS_IOTROBORUNNER_API Site(); AWS_IOTROBORUNNER_API Site(Aws::Utils::Json::JsonView jsonValue); AWS_IOTROBORUNNER_API Site& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTROBORUNNER_API Aws::Utils::Json::JsonValue Jsonize() const; inline const Aws::String& GetArn() const{ return m_arn; } inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } inline Site& WithArn(const Aws::String& value) { SetArn(value); return *this;} inline Site& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} inline Site& WithArn(const char* value) { SetArn(value); return *this;} /** *

The name of the site. Mutable after creation and unique within a given * account.

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

The name of the site. Mutable after creation and unique within a given * account.

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

The name of the site. Mutable after creation and unique within a given * account.

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

The name of the site. Mutable after creation and unique within a given * account.

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

The name of the site. Mutable after creation and unique within a given * account.

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

The name of the site. Mutable after creation and unique within a given * account.

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

The name of the site. Mutable after creation and unique within a given * account.

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

The name of the site. Mutable after creation and unique within a given * account.

*/ inline Site& WithName(const char* value) { SetName(value); return *this;} inline const Aws::String& GetCountryCode() const{ return m_countryCode; } inline bool CountryCodeHasBeenSet() const { return m_countryCodeHasBeenSet; } inline void SetCountryCode(const Aws::String& value) { m_countryCodeHasBeenSet = true; m_countryCode = value; } inline void SetCountryCode(Aws::String&& value) { m_countryCodeHasBeenSet = true; m_countryCode = std::move(value); } inline void SetCountryCode(const char* value) { m_countryCodeHasBeenSet = true; m_countryCode.assign(value); } inline Site& WithCountryCode(const Aws::String& value) { SetCountryCode(value); return *this;} inline Site& WithCountryCode(Aws::String&& value) { SetCountryCode(std::move(value)); return *this;} inline Site& WithCountryCode(const char* value) { SetCountryCode(value); return *this;} inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } inline Site& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} inline Site& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_countryCode; bool m_countryCodeHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; }; } // namespace Model } // namespace IoTRoboRunner } // namespace Aws