/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This data type contains key-value pairs that identify various Amazon
* resources.See Also:
AWS API
* Reference
The type of the scope.
*/ inline const ScopeType& GetKey() const{ return m_key; } /** *The type of the scope.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The type of the scope.
*/ inline void SetKey(const ScopeType& value) { m_keyHasBeenSet = true; m_key = value; } /** *The type of the scope.
*/ inline void SetKey(ScopeType&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The type of the scope.
*/ inline Scope& WithKey(const ScopeType& value) { SetKey(value); return *this;} /** *The type of the scope.
*/ inline Scope& WithKey(ScopeType&& value) { SetKey(std::move(value)); return *this;} /** *The resource identifier for the specified scope type.
*/ inline const Aws::String& GetValue() const{ return m_value; } /** *The resource identifier for the specified scope type.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The resource identifier for the specified scope type.
*/ inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; } /** *The resource identifier for the specified scope type.
*/ inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); } /** *The resource identifier for the specified scope type.
*/ inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); } /** *The resource identifier for the specified scope type.
*/ inline Scope& WithValue(const Aws::String& value) { SetValue(value); return *this;} /** *The resource identifier for the specified scope type.
*/ inline Scope& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;} /** *The resource identifier for the specified scope type.
*/ inline Scope& WithValue(const char* value) { SetValue(value); return *this;} private: ScopeType m_key; bool m_keyHasBeenSet = false; Aws::String m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace Inspector } // namespace Aws