/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes and uniquely identifies Kubernetes resources. For example, the
* compute environment that a pod runs in or the jobID
for a job
* running in the pod. For more information, see Understanding
* Kubernetes Objects in the Kubernetes documentation.See
* Also:
AWS
* API Reference
Key-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline const Aws::MapKey-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline bool LabelsHasBeenSet() const { return m_labelsHasBeenSet; } /** *Key-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline void SetLabels(const Aws::MapKey-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline void SetLabels(Aws::MapKey-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline EksMetadata& WithLabels(const Aws::MapKey-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline EksMetadata& WithLabels(Aws::MapKey-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline EksMetadata& AddLabels(const Aws::String& key, const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.emplace(key, value); return *this; } /** *Key-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline EksMetadata& AddLabels(Aws::String&& key, const Aws::String& value) { m_labelsHasBeenSet = true; m_labels.emplace(std::move(key), value); return *this; } /** *Key-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline EksMetadata& AddLabels(const Aws::String& key, Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.emplace(key, std::move(value)); return *this; } /** *Key-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline EksMetadata& AddLabels(Aws::String&& key, Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.emplace(std::move(key), std::move(value)); return *this; } /** *Key-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline EksMetadata& AddLabels(const char* key, Aws::String&& value) { m_labelsHasBeenSet = true; m_labels.emplace(key, std::move(value)); return *this; } /** *Key-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline EksMetadata& AddLabels(Aws::String&& key, const char* value) { m_labelsHasBeenSet = true; m_labels.emplace(std::move(key), value); return *this; } /** *Key-value pairs used to identify, sort, and organize cube resources. Can * contain up to 63 uppercase letters, lowercase letters, numbers, hyphens (-), and * underscores (_). Labels can be added or modified at any time. Each resource can * have multiple labels, but each key must be unique for a given object.
*/ inline EksMetadata& AddLabels(const char* key, const char* value) { m_labelsHasBeenSet = true; m_labels.emplace(key, value); return *this; } private: Aws::Map