AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRepositoryResult.h
1
6#pragma once
7#include <aws/ecr-public/ECRPublic_EXPORTS.h>
8#include <aws/ecr-public/model/Repository.h>
9#include <aws/ecr-public/model/RepositoryCatalogData.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace ECRPublic
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ECRPUBLIC_API CreateRepositoryResult();
35
36
38
41 inline const Repository& GetRepository() const{ return m_repository; }
42 inline void SetRepository(const Repository& value) { m_repository = value; }
43 inline void SetRepository(Repository&& value) { m_repository = std::move(value); }
44 inline CreateRepositoryResult& WithRepository(const Repository& value) { SetRepository(value); return *this;}
45 inline CreateRepositoryResult& WithRepository(Repository&& value) { SetRepository(std::move(value)); return *this;}
47
49
50 inline const RepositoryCatalogData& GetCatalogData() const{ return m_catalogData; }
51 inline void SetCatalogData(const RepositoryCatalogData& value) { m_catalogData = value; }
52 inline void SetCatalogData(RepositoryCatalogData&& value) { m_catalogData = std::move(value); }
53 inline CreateRepositoryResult& WithCatalogData(const RepositoryCatalogData& value) { SetCatalogData(value); return *this;}
54 inline CreateRepositoryResult& WithCatalogData(RepositoryCatalogData&& value) { SetCatalogData(std::move(value)); return *this;}
56
58
59 inline const Aws::String& GetRequestId() const{ return m_requestId; }
60 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
61 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
62 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
63 inline CreateRepositoryResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
64 inline CreateRepositoryResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
65 inline CreateRepositoryResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
67 private:
68
69 Repository m_repository;
70
71 RepositoryCatalogData m_catalogData;
72
73 Aws::String m_requestId;
74 };
75
76} // namespace Model
77} // namespace ECRPublic
78} // namespace Aws
AWS_ECRPUBLIC_API CreateRepositoryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCatalogData(RepositoryCatalogData &&value)
CreateRepositoryResult & WithRepository(const Repository &value)
CreateRepositoryResult & WithRequestId(Aws::String &&value)
CreateRepositoryResult & WithCatalogData(RepositoryCatalogData &&value)
const RepositoryCatalogData & GetCatalogData() const
AWS_ECRPUBLIC_API CreateRepositoryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRepositoryResult & WithRepository(Repository &&value)
CreateRepositoryResult & WithCatalogData(const RepositoryCatalogData &value)
CreateRepositoryResult & WithRequestId(const Aws::String &value)
CreateRepositoryResult & WithRequestId(const char *value)
void SetCatalogData(const RepositoryCatalogData &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue