/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that contains information about one experiment or launch that
* uses the specified segment. See Also:
AWS
* API Reference
The ARN of the experiment or launch.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the experiment or launch.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the experiment or launch.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the experiment or launch.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the experiment or launch.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the experiment or launch.
*/ inline RefResource& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the experiment or launch.
*/ inline RefResource& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the experiment or launch.
*/ inline RefResource& WithArn(const char* value) { SetArn(value); return *this;} /** *The day and time that this experiment or launch ended.
*/ inline const Aws::String& GetEndTime() const{ return m_endTime; } /** *The day and time that this experiment or launch ended.
*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *The day and time that this experiment or launch ended.
*/ inline void SetEndTime(const Aws::String& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *The day and time that this experiment or launch ended.
*/ inline void SetEndTime(Aws::String&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *The day and time that this experiment or launch ended.
*/ inline void SetEndTime(const char* value) { m_endTimeHasBeenSet = true; m_endTime.assign(value); } /** *The day and time that this experiment or launch ended.
*/ inline RefResource& WithEndTime(const Aws::String& value) { SetEndTime(value); return *this;} /** *The day and time that this experiment or launch ended.
*/ inline RefResource& WithEndTime(Aws::String&& value) { SetEndTime(std::move(value)); return *this;} /** *The day and time that this experiment or launch ended.
*/ inline RefResource& WithEndTime(const char* value) { SetEndTime(value); return *this;} /** *The day and time that this experiment or launch was most recently * updated.
*/ inline const Aws::String& GetLastUpdatedOn() const{ return m_lastUpdatedOn; } /** *The day and time that this experiment or launch was most recently * updated.
*/ inline bool LastUpdatedOnHasBeenSet() const { return m_lastUpdatedOnHasBeenSet; } /** *The day and time that this experiment or launch was most recently * updated.
*/ inline void SetLastUpdatedOn(const Aws::String& value) { m_lastUpdatedOnHasBeenSet = true; m_lastUpdatedOn = value; } /** *The day and time that this experiment or launch was most recently * updated.
*/ inline void SetLastUpdatedOn(Aws::String&& value) { m_lastUpdatedOnHasBeenSet = true; m_lastUpdatedOn = std::move(value); } /** *The day and time that this experiment or launch was most recently * updated.
*/ inline void SetLastUpdatedOn(const char* value) { m_lastUpdatedOnHasBeenSet = true; m_lastUpdatedOn.assign(value); } /** *The day and time that this experiment or launch was most recently * updated.
*/ inline RefResource& WithLastUpdatedOn(const Aws::String& value) { SetLastUpdatedOn(value); return *this;} /** *The day and time that this experiment or launch was most recently * updated.
*/ inline RefResource& WithLastUpdatedOn(Aws::String&& value) { SetLastUpdatedOn(std::move(value)); return *this;} /** *The day and time that this experiment or launch was most recently * updated.
*/ inline RefResource& WithLastUpdatedOn(const char* value) { SetLastUpdatedOn(value); return *this;} /** *The name of the experiment or launch.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the experiment or launch.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the experiment or launch.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the experiment or launch.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the experiment or launch.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the experiment or launch.
*/ inline RefResource& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the experiment or launch.
*/ inline RefResource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the experiment or launch.
*/ inline RefResource& WithName(const char* value) { SetName(value); return *this;} /** *The day and time that this experiment or launch started.
*/ inline const Aws::String& GetStartTime() const{ return m_startTime; } /** *The day and time that this experiment or launch started.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *The day and time that this experiment or launch started.
*/ inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *The day and time that this experiment or launch started.
*/ inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *The day and time that this experiment or launch started.
*/ inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); } /** *The day and time that this experiment or launch started.
*/ inline RefResource& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;} /** *The day and time that this experiment or launch started.
*/ inline RefResource& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;} /** *The day and time that this experiment or launch started.
*/ inline RefResource& WithStartTime(const char* value) { SetStartTime(value); return *this;} /** *The status of the experiment or launch.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the experiment or launch.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the experiment or launch.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the experiment or launch.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the experiment or launch.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the experiment or launch.
*/ inline RefResource& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the experiment or launch.
*/ inline RefResource& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the experiment or launch.
*/ inline RefResource& WithStatus(const char* value) { SetStatus(value); return *this;} /** *Specifies whether the resource that this structure contains information about * is an experiment or a launch.
*/ inline const Aws::String& GetType() const{ return m_type; } /** *Specifies whether the resource that this structure contains information about * is an experiment or a launch.
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *Specifies whether the resource that this structure contains information about * is an experiment or a launch.
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *Specifies whether the resource that this structure contains information about * is an experiment or a launch.
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *Specifies whether the resource that this structure contains information about * is an experiment or a launch.
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *Specifies whether the resource that this structure contains information about * is an experiment or a launch.
*/ inline RefResource& WithType(const Aws::String& value) { SetType(value); return *this;} /** *Specifies whether the resource that this structure contains information about * is an experiment or a launch.
*/ inline RefResource& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *Specifies whether the resource that this structure contains information about * is an experiment or a launch.
*/ inline RefResource& WithType(const char* value) { SetType(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_lastUpdatedOn; bool m_lastUpdatedOnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_startTime; bool m_startTimeHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchEvidently } // namespace Aws