/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object that represents the AWS Cloud Map attribute information for your
* virtual
node.See Also:
AWS
* API Reference
The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline AwsCloudMapInstanceAttribute& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline AwsCloudMapInstanceAttribute& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *The name of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline AwsCloudMapInstanceAttribute& WithKey(const char* value) { SetKey(value); return *this;} /** *The value of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The value of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The value of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The value of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline AwsCloudMapInstanceAttribute& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The value of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline AwsCloudMapInstanceAttribute& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The value of an AWS Cloud Map service instance attribute key. Any AWS Cloud * Map service instance that contains the specified key and value is * returned.
*/ inline AwsCloudMapInstanceAttribute& WithValue(const char* value) { SetValue(value); return *this;} private: Aws::String m_key; bool m_keyHasBeenSet; Aws::String m_value; bool m_valueHasBeenSet; }; } // namespace Model } // namespace AppMesh } // namespace Aws