/**
* 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 the RUM app
* monitor.See Also:
AWS
* API Reference
The unique ID of the app monitor.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The unique ID of the app monitor.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The unique ID of the app monitor.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The unique ID of the app monitor.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The unique ID of the app monitor.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The unique ID of the app monitor.
*/ inline AppMonitorDetails& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The unique ID of the app monitor.
*/ inline AppMonitorDetails& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The unique ID of the app monitor.
*/ inline AppMonitorDetails& WithId(const char* value) { SetId(value); return *this;} /** *The name of the app monitor.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the app monitor.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the app monitor.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the app monitor.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the app monitor.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the app monitor.
*/ inline AppMonitorDetails& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the app monitor.
*/ inline AppMonitorDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the app monitor.
*/ inline AppMonitorDetails& WithName(const char* value) { SetName(value); return *this;} /** *The version of the app monitor.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The version of the app monitor.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version of the app monitor.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The version of the app monitor.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The version of the app monitor.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The version of the app monitor.
*/ inline AppMonitorDetails& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The version of the app monitor.
*/ inline AppMonitorDetails& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The version of the app monitor.
*/ inline AppMonitorDetails& WithVersion(const char* value) { SetVersion(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_version; bool m_versionHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchRUM } // namespace Aws