198 lines
6.1 KiB
C++
198 lines
6.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/schemas/Schemas_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <aws/core/utils/memory/stl/AWSMap.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Schemas
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
class AWS_SCHEMAS_API RegistrySummary
|
|
{
|
|
public:
|
|
RegistrySummary();
|
|
RegistrySummary(Aws::Utils::Json::JsonView jsonValue);
|
|
RegistrySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline const Aws::String& GetRegistryArn() const{ return m_registryArn; }
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline void SetRegistryArn(const Aws::String& value) { m_registryArnHasBeenSet = true; m_registryArn = value; }
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline void SetRegistryArn(Aws::String&& value) { m_registryArnHasBeenSet = true; m_registryArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline void SetRegistryArn(const char* value) { m_registryArnHasBeenSet = true; m_registryArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline RegistrySummary& WithRegistryArn(const Aws::String& value) { SetRegistryArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline RegistrySummary& WithRegistryArn(Aws::String&& value) { SetRegistryArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline RegistrySummary& WithRegistryArn(const char* value) { SetRegistryArn(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline const Aws::String& GetRegistryName() const{ return m_registryName; }
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline RegistrySummary& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline RegistrySummary& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline RegistrySummary& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline RegistrySummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline RegistrySummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline RegistrySummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline RegistrySummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline RegistrySummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline RegistrySummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline RegistrySummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline RegistrySummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline RegistrySummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::String m_registryArn;
|
|
bool m_registryArnHasBeenSet;
|
|
|
|
Aws::String m_registryName;
|
|
bool m_registryNameHasBeenSet;
|
|
|
|
Aws::Map<Aws::String, Aws::String> m_tags;
|
|
bool m_tagsHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Schemas
|
|
} // namespace Aws
|