/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that includes some data about app monitors and their
* settings.See Also:
AWS
* API Reference
The date and time that the app monitor was created.
*/ inline const Aws::String& GetCreated() const{ return m_created; } /** *The date and time that the app monitor was created.
*/ inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; } /** *The date and time that the app monitor was created.
*/ inline void SetCreated(const Aws::String& value) { m_createdHasBeenSet = true; m_created = value; } /** *The date and time that the app monitor was created.
*/ inline void SetCreated(Aws::String&& value) { m_createdHasBeenSet = true; m_created = std::move(value); } /** *The date and time that the app monitor was created.
*/ inline void SetCreated(const char* value) { m_createdHasBeenSet = true; m_created.assign(value); } /** *The date and time that the app monitor was created.
*/ inline AppMonitorSummary& WithCreated(const Aws::String& value) { SetCreated(value); return *this;} /** *The date and time that the app monitor was created.
*/ inline AppMonitorSummary& WithCreated(Aws::String&& value) { SetCreated(std::move(value)); return *this;} /** *The date and time that the app monitor was created.
*/ inline AppMonitorSummary& WithCreated(const char* value) { SetCreated(value); return *this;} /** *The unique ID of this app monitor.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique ID of this app monitor.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique ID of this app monitor.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique ID of this app monitor.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique ID of this app monitor.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique ID of this app monitor.
*/ inline AppMonitorSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique ID of this app monitor.
*/ inline AppMonitorSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique ID of this app monitor.
*/ inline AppMonitorSummary& WithId(const char* value) { SetId(value); return *this;} /** *The date and time of the most recent changes to this app monitor's * configuration.
*/ inline const Aws::String& GetLastModified() const{ return m_lastModified; } /** *The date and time of the most recent changes to this app monitor's * configuration.
*/ inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; } /** *The date and time of the most recent changes to this app monitor's * configuration.
*/ inline void SetLastModified(const Aws::String& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; } /** *The date and time of the most recent changes to this app monitor's * configuration.
*/ inline void SetLastModified(Aws::String&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); } /** *The date and time of the most recent changes to this app monitor's * configuration.
*/ inline void SetLastModified(const char* value) { m_lastModifiedHasBeenSet = true; m_lastModified.assign(value); } /** *The date and time of the most recent changes to this app monitor's * configuration.
*/ inline AppMonitorSummary& WithLastModified(const Aws::String& value) { SetLastModified(value); return *this;} /** *The date and time of the most recent changes to this app monitor's * configuration.
*/ inline AppMonitorSummary& WithLastModified(Aws::String&& value) { SetLastModified(std::move(value)); return *this;} /** *The date and time of the most recent changes to this app monitor's * configuration.
*/ inline AppMonitorSummary& WithLastModified(const char* value) { SetLastModified(value); return *this;} /** *The name of this app monitor.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of this app monitor.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of this app monitor.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of this app monitor.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of this app monitor.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of this app monitor.
*/ inline AppMonitorSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of this app monitor.
*/ inline AppMonitorSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of this app monitor.
*/ inline AppMonitorSummary& WithName(const char* value) { SetName(value); return *this;} /** *The current state of this app monitor.
*/ inline const StateEnum& GetState() const{ return m_state; } /** *The current state of this app monitor.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The current state of this app monitor.
*/ inline void SetState(const StateEnum& value) { m_stateHasBeenSet = true; m_state = value; } /** *The current state of this app monitor.
*/ inline void SetState(StateEnum&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The current state of this app monitor.
*/ inline AppMonitorSummary& WithState(const StateEnum& value) { SetState(value); return *this;} /** *The current state of this app monitor.
*/ inline AppMonitorSummary& WithState(StateEnum&& value) { SetState(std::move(value)); return *this;} private: Aws::String m_created; bool m_createdHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_lastModified; bool m_lastModifiedHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; StateEnum m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchRUM } // namespace Aws