218 lines
6.5 KiB
C++
218 lines
6.5 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
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace Schemas
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_SCHEMAS_API UpdateRegistryResult
|
|
{
|
|
public:
|
|
UpdateRegistryResult();
|
|
UpdateRegistryResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
UpdateRegistryResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The description of the registry.</p>
|
|
*/
|
|
inline const Aws::String& GetDescription() const{ return m_description; }
|
|
|
|
/**
|
|
* <p>The description of the registry.</p>
|
|
*/
|
|
inline void SetDescription(const Aws::String& value) { m_description = value; }
|
|
|
|
/**
|
|
* <p>The description of the registry.</p>
|
|
*/
|
|
inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
|
|
|
|
/**
|
|
* <p>The description of the registry.</p>
|
|
*/
|
|
inline void SetDescription(const char* value) { m_description.assign(value); }
|
|
|
|
/**
|
|
* <p>The description of the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
|
|
|
|
/**
|
|
* <p>The description of the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The description of the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& WithDescription(const char* value) { SetDescription(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline const Aws::String& GetRegistryArn() const{ return m_registryArn; }
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline void SetRegistryArn(const Aws::String& value) { m_registryArn = value; }
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline void SetRegistryArn(Aws::String&& value) { m_registryArn = std::move(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline void SetRegistryArn(const char* value) { m_registryArn.assign(value); }
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& WithRegistryArn(const Aws::String& value) { SetRegistryArn(value); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& WithRegistryArn(Aws::String&& value) { SetRegistryArn(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The ARN of the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& 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 void SetRegistryName(const Aws::String& value) { m_registryName = value; }
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline void SetRegistryName(Aws::String&& value) { m_registryName = std::move(value); }
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline void SetRegistryName(const char* value) { m_registryName.assign(value); }
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The name of the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& 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 void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
|
|
|
|
/**
|
|
* <p>Tags associated with the registry.</p>
|
|
*/
|
|
inline UpdateRegistryResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::String m_description;
|
|
|
|
Aws::String m_registryArn;
|
|
|
|
Aws::String m_registryName;
|
|
|
|
Aws::Map<Aws::String, Aws::String> m_tags;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Schemas
|
|
} // namespace Aws
|