/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary data of an Proton service resource.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the service.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the service.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the service.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the service.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the service.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the service.
*/ inline ServiceSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the service.
*/ inline ServiceSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the service.
*/ inline ServiceSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *The time when the service was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time when the service was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time when the service was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time when the service was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time when the service was created.
*/ inline ServiceSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time when the service was created.
*/ inline ServiceSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *A description of the service.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the service.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the service.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the service.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the service.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the service.
*/ inline ServiceSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the service.
*/ inline ServiceSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the service.
*/ inline ServiceSummary& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The time when the service was last modified.
*/ inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; } /** *The time when the service was last modified.
*/ inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; } /** *The time when the service was last modified.
*/ inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; } /** *The time when the service was last modified.
*/ inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); } /** *The time when the service was last modified.
*/ inline ServiceSummary& WithLastModifiedAt(const Aws::Utils::DateTime& value) { SetLastModifiedAt(value); return *this;} /** *The time when the service was last modified.
*/ inline ServiceSummary& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;} /** *The name of the service.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the service.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the service.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the service.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the service.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the service.
*/ inline ServiceSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the service.
*/ inline ServiceSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the service.
*/ inline ServiceSummary& WithName(const char* value) { SetName(value); return *this;} /** *The status of the service.
*/ inline const ServiceStatus& GetStatus() const{ return m_status; } /** *The status of the service.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the service.
*/ inline void SetStatus(const ServiceStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the service.
*/ inline void SetStatus(ServiceStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the service.
*/ inline ServiceSummary& WithStatus(const ServiceStatus& value) { SetStatus(value); return *this;} /** *The status of the service.
*/ inline ServiceSummary& WithStatus(ServiceStatus&& value) { SetStatus(std::move(value)); return *this;} /** *A service status message.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *A service status message.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *A service status message.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *A service status message.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *A service status message.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *A service status message.
*/ inline ServiceSummary& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *A service status message.
*/ inline ServiceSummary& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *A service status message.
*/ inline ServiceSummary& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *The name of the service template.
*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *The name of the service template.
*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *The name of the service template.
*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *The name of the service template.
*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *The name of the service template.
*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *The name of the service template.
*/ inline ServiceSummary& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *The name of the service template.
*/ inline ServiceSummary& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *The name of the service template.
*/ inline ServiceSummary& WithTemplateName(const char* value) { SetTemplateName(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedAt; bool m_lastModifiedAtHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; ServiceStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws