/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Detailed data of an Proton service instance resource.See
* Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the service instance.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the service instance.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the service instance.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the service instance.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the service instance.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the service instance.
*/ inline ServiceInstance& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the service instance.
*/ inline ServiceInstance& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the service instance.
*/ inline ServiceInstance& WithArn(const char* value) { SetArn(value); return *this;} /** *The time when the service instance was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The time when the service instance was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The time when the service instance was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The time when the service instance was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The time when the service instance was created.
*/ inline ServiceInstance& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The time when the service instance was created.
*/ inline ServiceInstance& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The service instance deployment status.
*/ inline const DeploymentStatus& GetDeploymentStatus() const{ return m_deploymentStatus; } /** *The service instance deployment status.
*/ inline bool DeploymentStatusHasBeenSet() const { return m_deploymentStatusHasBeenSet; } /** *The service instance deployment status.
*/ inline void SetDeploymentStatus(const DeploymentStatus& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = value; } /** *The service instance deployment status.
*/ inline void SetDeploymentStatus(DeploymentStatus&& value) { m_deploymentStatusHasBeenSet = true; m_deploymentStatus = std::move(value); } /** *The service instance deployment status.
*/ inline ServiceInstance& WithDeploymentStatus(const DeploymentStatus& value) { SetDeploymentStatus(value); return *this;} /** *The service instance deployment status.
*/ inline ServiceInstance& WithDeploymentStatus(DeploymentStatus&& value) { SetDeploymentStatus(std::move(value)); return *this;} /** *The message associated with the service instance deployment status.
*/ inline const Aws::String& GetDeploymentStatusMessage() const{ return m_deploymentStatusMessage; } /** *The message associated with the service instance deployment status.
*/ inline bool DeploymentStatusMessageHasBeenSet() const { return m_deploymentStatusMessageHasBeenSet; } /** *The message associated with the service instance deployment status.
*/ inline void SetDeploymentStatusMessage(const Aws::String& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = value; } /** *The message associated with the service instance deployment status.
*/ inline void SetDeploymentStatusMessage(Aws::String&& value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage = std::move(value); } /** *The message associated with the service instance deployment status.
*/ inline void SetDeploymentStatusMessage(const char* value) { m_deploymentStatusMessageHasBeenSet = true; m_deploymentStatusMessage.assign(value); } /** *The message associated with the service instance deployment status.
*/ inline ServiceInstance& WithDeploymentStatusMessage(const Aws::String& value) { SetDeploymentStatusMessage(value); return *this;} /** *The message associated with the service instance deployment status.
*/ inline ServiceInstance& WithDeploymentStatusMessage(Aws::String&& value) { SetDeploymentStatusMessage(std::move(value)); return *this;} /** *The message associated with the service instance deployment status.
*/ inline ServiceInstance& WithDeploymentStatusMessage(const char* value) { SetDeploymentStatusMessage(value); return *this;} /** *The name of the environment that the service instance was deployed into.
*/ inline const Aws::String& GetEnvironmentName() const{ return m_environmentName; } /** *The name of the environment that the service instance was deployed into.
*/ inline bool EnvironmentNameHasBeenSet() const { return m_environmentNameHasBeenSet; } /** *The name of the environment that the service instance was deployed into.
*/ inline void SetEnvironmentName(const Aws::String& value) { m_environmentNameHasBeenSet = true; m_environmentName = value; } /** *The name of the environment that the service instance was deployed into.
*/ inline void SetEnvironmentName(Aws::String&& value) { m_environmentNameHasBeenSet = true; m_environmentName = std::move(value); } /** *The name of the environment that the service instance was deployed into.
*/ inline void SetEnvironmentName(const char* value) { m_environmentNameHasBeenSet = true; m_environmentName.assign(value); } /** *The name of the environment that the service instance was deployed into.
*/ inline ServiceInstance& WithEnvironmentName(const Aws::String& value) { SetEnvironmentName(value); return *this;} /** *The name of the environment that the service instance was deployed into.
*/ inline ServiceInstance& WithEnvironmentName(Aws::String&& value) { SetEnvironmentName(std::move(value)); return *this;} /** *The name of the environment that the service instance was deployed into.
*/ inline ServiceInstance& WithEnvironmentName(const char* value) { SetEnvironmentName(value); return *this;} /** *The ID of the last attempted deployment of this service instance.
*/ inline const Aws::String& GetLastAttemptedDeploymentId() const{ return m_lastAttemptedDeploymentId; } /** *The ID of the last attempted deployment of this service instance.
*/ inline bool LastAttemptedDeploymentIdHasBeenSet() const { return m_lastAttemptedDeploymentIdHasBeenSet; } /** *The ID of the last attempted deployment of this service instance.
*/ inline void SetLastAttemptedDeploymentId(const Aws::String& value) { m_lastAttemptedDeploymentIdHasBeenSet = true; m_lastAttemptedDeploymentId = value; } /** *The ID of the last attempted deployment of this service instance.
*/ inline void SetLastAttemptedDeploymentId(Aws::String&& value) { m_lastAttemptedDeploymentIdHasBeenSet = true; m_lastAttemptedDeploymentId = std::move(value); } /** *The ID of the last attempted deployment of this service instance.
*/ inline void SetLastAttemptedDeploymentId(const char* value) { m_lastAttemptedDeploymentIdHasBeenSet = true; m_lastAttemptedDeploymentId.assign(value); } /** *The ID of the last attempted deployment of this service instance.
*/ inline ServiceInstance& WithLastAttemptedDeploymentId(const Aws::String& value) { SetLastAttemptedDeploymentId(value); return *this;} /** *The ID of the last attempted deployment of this service instance.
*/ inline ServiceInstance& WithLastAttemptedDeploymentId(Aws::String&& value) { SetLastAttemptedDeploymentId(std::move(value)); return *this;} /** *The ID of the last attempted deployment of this service instance.
*/ inline ServiceInstance& WithLastAttemptedDeploymentId(const char* value) { SetLastAttemptedDeploymentId(value); return *this;} /** *The last client request token received.
*/ inline const Aws::String& GetLastClientRequestToken() const{ return m_lastClientRequestToken; } /** *The last client request token received.
*/ inline bool LastClientRequestTokenHasBeenSet() const { return m_lastClientRequestTokenHasBeenSet; } /** *The last client request token received.
*/ inline void SetLastClientRequestToken(const Aws::String& value) { m_lastClientRequestTokenHasBeenSet = true; m_lastClientRequestToken = value; } /** *The last client request token received.
*/ inline void SetLastClientRequestToken(Aws::String&& value) { m_lastClientRequestTokenHasBeenSet = true; m_lastClientRequestToken = std::move(value); } /** *The last client request token received.
*/ inline void SetLastClientRequestToken(const char* value) { m_lastClientRequestTokenHasBeenSet = true; m_lastClientRequestToken.assign(value); } /** *The last client request token received.
*/ inline ServiceInstance& WithLastClientRequestToken(const Aws::String& value) { SetLastClientRequestToken(value); return *this;} /** *The last client request token received.
*/ inline ServiceInstance& WithLastClientRequestToken(Aws::String&& value) { SetLastClientRequestToken(std::move(value)); return *this;} /** *The last client request token received.
*/ inline ServiceInstance& WithLastClientRequestToken(const char* value) { SetLastClientRequestToken(value); return *this;} /** *The time when a deployment of the service instance was last attempted.
*/ inline const Aws::Utils::DateTime& GetLastDeploymentAttemptedAt() const{ return m_lastDeploymentAttemptedAt; } /** *The time when a deployment of the service instance was last attempted.
*/ inline bool LastDeploymentAttemptedAtHasBeenSet() const { return m_lastDeploymentAttemptedAtHasBeenSet; } /** *The time when a deployment of the service instance was last attempted.
*/ inline void SetLastDeploymentAttemptedAt(const Aws::Utils::DateTime& value) { m_lastDeploymentAttemptedAtHasBeenSet = true; m_lastDeploymentAttemptedAt = value; } /** *The time when a deployment of the service instance was last attempted.
*/ inline void SetLastDeploymentAttemptedAt(Aws::Utils::DateTime&& value) { m_lastDeploymentAttemptedAtHasBeenSet = true; m_lastDeploymentAttemptedAt = std::move(value); } /** *The time when a deployment of the service instance was last attempted.
*/ inline ServiceInstance& WithLastDeploymentAttemptedAt(const Aws::Utils::DateTime& value) { SetLastDeploymentAttemptedAt(value); return *this;} /** *The time when a deployment of the service instance was last attempted.
*/ inline ServiceInstance& WithLastDeploymentAttemptedAt(Aws::Utils::DateTime&& value) { SetLastDeploymentAttemptedAt(std::move(value)); return *this;} /** *The time when the service instance was last deployed successfully.
*/ inline const Aws::Utils::DateTime& GetLastDeploymentSucceededAt() const{ return m_lastDeploymentSucceededAt; } /** *The time when the service instance was last deployed successfully.
*/ inline bool LastDeploymentSucceededAtHasBeenSet() const { return m_lastDeploymentSucceededAtHasBeenSet; } /** *The time when the service instance was last deployed successfully.
*/ inline void SetLastDeploymentSucceededAt(const Aws::Utils::DateTime& value) { m_lastDeploymentSucceededAtHasBeenSet = true; m_lastDeploymentSucceededAt = value; } /** *The time when the service instance was last deployed successfully.
*/ inline void SetLastDeploymentSucceededAt(Aws::Utils::DateTime&& value) { m_lastDeploymentSucceededAtHasBeenSet = true; m_lastDeploymentSucceededAt = std::move(value); } /** *The time when the service instance was last deployed successfully.
*/ inline ServiceInstance& WithLastDeploymentSucceededAt(const Aws::Utils::DateTime& value) { SetLastDeploymentSucceededAt(value); return *this;} /** *The time when the service instance was last deployed successfully.
*/ inline ServiceInstance& WithLastDeploymentSucceededAt(Aws::Utils::DateTime&& value) { SetLastDeploymentSucceededAt(std::move(value)); return *this;} /** *The ID of the last successful deployment of this service instance.
*/ inline const Aws::String& GetLastSucceededDeploymentId() const{ return m_lastSucceededDeploymentId; } /** *The ID of the last successful deployment of this service instance.
*/ inline bool LastSucceededDeploymentIdHasBeenSet() const { return m_lastSucceededDeploymentIdHasBeenSet; } /** *The ID of the last successful deployment of this service instance.
*/ inline void SetLastSucceededDeploymentId(const Aws::String& value) { m_lastSucceededDeploymentIdHasBeenSet = true; m_lastSucceededDeploymentId = value; } /** *The ID of the last successful deployment of this service instance.
*/ inline void SetLastSucceededDeploymentId(Aws::String&& value) { m_lastSucceededDeploymentIdHasBeenSet = true; m_lastSucceededDeploymentId = std::move(value); } /** *The ID of the last successful deployment of this service instance.
*/ inline void SetLastSucceededDeploymentId(const char* value) { m_lastSucceededDeploymentIdHasBeenSet = true; m_lastSucceededDeploymentId.assign(value); } /** *The ID of the last successful deployment of this service instance.
*/ inline ServiceInstance& WithLastSucceededDeploymentId(const Aws::String& value) { SetLastSucceededDeploymentId(value); return *this;} /** *The ID of the last successful deployment of this service instance.
*/ inline ServiceInstance& WithLastSucceededDeploymentId(Aws::String&& value) { SetLastSucceededDeploymentId(std::move(value)); return *this;} /** *The ID of the last successful deployment of this service instance.
*/ inline ServiceInstance& WithLastSucceededDeploymentId(const char* value) { SetLastSucceededDeploymentId(value); return *this;} /** *The name of the service instance.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the service instance.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the service instance.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the service instance.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the service instance.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the service instance.
*/ inline ServiceInstance& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the service instance.
*/ inline ServiceInstance& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the service instance.
*/ inline ServiceInstance& WithName(const char* value) { SetName(value); return *this;} /** *The name of the service that the service instance belongs to.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The name of the service that the service instance belongs to.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the service that the service instance belongs to.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the service that the service instance belongs to.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the service that the service instance belongs to.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The name of the service that the service instance belongs to.
*/ inline ServiceInstance& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the service that the service instance belongs to.
*/ inline ServiceInstance& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the service that the service instance belongs to.
*/ inline ServiceInstance& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *The service spec that was used to create the service instance.
*/ inline const Aws::String& GetSpec() const{ return m_spec; } /** *The service spec that was used to create the service instance.
*/ inline bool SpecHasBeenSet() const { return m_specHasBeenSet; } /** *The service spec that was used to create the service instance.
*/ inline void SetSpec(const Aws::String& value) { m_specHasBeenSet = true; m_spec = value; } /** *The service spec that was used to create the service instance.
*/ inline void SetSpec(Aws::String&& value) { m_specHasBeenSet = true; m_spec = std::move(value); } /** *The service spec that was used to create the service instance.
*/ inline void SetSpec(const char* value) { m_specHasBeenSet = true; m_spec.assign(value); } /** *The service spec that was used to create the service instance.
*/ inline ServiceInstance& WithSpec(const Aws::String& value) { SetSpec(value); return *this;} /** *The service spec that was used to create the service instance.
*/ inline ServiceInstance& WithSpec(Aws::String&& value) { SetSpec(std::move(value)); return *this;} /** *The service spec that was used to create the service instance.
*/ inline ServiceInstance& WithSpec(const char* value) { SetSpec(value); return *this;} /** *The major version of the service template that was used to create the service * instance.
*/ inline const Aws::String& GetTemplateMajorVersion() const{ return m_templateMajorVersion; } /** *The major version of the service template that was used to create the service * instance.
*/ inline bool TemplateMajorVersionHasBeenSet() const { return m_templateMajorVersionHasBeenSet; } /** *The major version of the service template that was used to create the service * instance.
*/ inline void SetTemplateMajorVersion(const Aws::String& value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion = value; } /** *The major version of the service template that was used to create the service * instance.
*/ inline void SetTemplateMajorVersion(Aws::String&& value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion = std::move(value); } /** *The major version of the service template that was used to create the service * instance.
*/ inline void SetTemplateMajorVersion(const char* value) { m_templateMajorVersionHasBeenSet = true; m_templateMajorVersion.assign(value); } /** *The major version of the service template that was used to create the service * instance.
*/ inline ServiceInstance& WithTemplateMajorVersion(const Aws::String& value) { SetTemplateMajorVersion(value); return *this;} /** *The major version of the service template that was used to create the service * instance.
*/ inline ServiceInstance& WithTemplateMajorVersion(Aws::String&& value) { SetTemplateMajorVersion(std::move(value)); return *this;} /** *The major version of the service template that was used to create the service * instance.
*/ inline ServiceInstance& WithTemplateMajorVersion(const char* value) { SetTemplateMajorVersion(value); return *this;} /** *The minor version of the service template that was used to create the service * instance.
*/ inline const Aws::String& GetTemplateMinorVersion() const{ return m_templateMinorVersion; } /** *The minor version of the service template that was used to create the service * instance.
*/ inline bool TemplateMinorVersionHasBeenSet() const { return m_templateMinorVersionHasBeenSet; } /** *The minor version of the service template that was used to create the service * instance.
*/ inline void SetTemplateMinorVersion(const Aws::String& value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion = value; } /** *The minor version of the service template that was used to create the service * instance.
*/ inline void SetTemplateMinorVersion(Aws::String&& value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion = std::move(value); } /** *The minor version of the service template that was used to create the service * instance.
*/ inline void SetTemplateMinorVersion(const char* value) { m_templateMinorVersionHasBeenSet = true; m_templateMinorVersion.assign(value); } /** *The minor version of the service template that was used to create the service * instance.
*/ inline ServiceInstance& WithTemplateMinorVersion(const Aws::String& value) { SetTemplateMinorVersion(value); return *this;} /** *The minor version of the service template that was used to create the service * instance.
*/ inline ServiceInstance& WithTemplateMinorVersion(Aws::String&& value) { SetTemplateMinorVersion(std::move(value)); return *this;} /** *The minor version of the service template that was used to create the service * instance.
*/ inline ServiceInstance& WithTemplateMinorVersion(const char* value) { SetTemplateMinorVersion(value); return *this;} /** *The name of the service template that was used to create the service * instance.
*/ inline const Aws::String& GetTemplateName() const{ return m_templateName; } /** *The name of the service template that was used to create the service * instance.
*/ inline bool TemplateNameHasBeenSet() const { return m_templateNameHasBeenSet; } /** *The name of the service template that was used to create the service * instance.
*/ inline void SetTemplateName(const Aws::String& value) { m_templateNameHasBeenSet = true; m_templateName = value; } /** *The name of the service template that was used to create the service * instance.
*/ inline void SetTemplateName(Aws::String&& value) { m_templateNameHasBeenSet = true; m_templateName = std::move(value); } /** *The name of the service template that was used to create the service * instance.
*/ inline void SetTemplateName(const char* value) { m_templateNameHasBeenSet = true; m_templateName.assign(value); } /** *The name of the service template that was used to create the service * instance.
*/ inline ServiceInstance& WithTemplateName(const Aws::String& value) { SetTemplateName(value); return *this;} /** *The name of the service template that was used to create the service * instance.
*/ inline ServiceInstance& WithTemplateName(Aws::String&& value) { SetTemplateName(std::move(value)); return *this;} /** *The name of the service template that was used to create the service * instance.
*/ inline ServiceInstance& 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; DeploymentStatus m_deploymentStatus; bool m_deploymentStatusHasBeenSet = false; Aws::String m_deploymentStatusMessage; bool m_deploymentStatusMessageHasBeenSet = false; Aws::String m_environmentName; bool m_environmentNameHasBeenSet = false; Aws::String m_lastAttemptedDeploymentId; bool m_lastAttemptedDeploymentIdHasBeenSet = false; Aws::String m_lastClientRequestToken; bool m_lastClientRequestTokenHasBeenSet = false; Aws::Utils::DateTime m_lastDeploymentAttemptedAt; bool m_lastDeploymentAttemptedAtHasBeenSet = false; Aws::Utils::DateTime m_lastDeploymentSucceededAt; bool m_lastDeploymentSucceededAtHasBeenSet = false; Aws::String m_lastSucceededDeploymentId; bool m_lastSucceededDeploymentIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_serviceName; bool m_serviceNameHasBeenSet = false; Aws::String m_spec; bool m_specHasBeenSet = false; Aws::String m_templateMajorVersion; bool m_templateMajorVersionHasBeenSet = false; Aws::String m_templateMinorVersion; bool m_templateMinorVersionHasBeenSet = false; Aws::String m_templateName; bool m_templateNameHasBeenSet = false; }; } // namespace Model } // namespace Proton } // namespace Aws