AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Repository.h
1
6#pragma once
7#include <aws/ecr-public/ECRPublic_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ECRPublic
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ECRPUBLIC_API Repository();
36 AWS_ECRPUBLIC_API Repository(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ECRPUBLIC_API Repository& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ECRPUBLIC_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const Aws::String& GetRepositoryArn() const{ return m_repositoryArn; }
50 inline bool RepositoryArnHasBeenSet() const { return m_repositoryArnHasBeenSet; }
51 inline void SetRepositoryArn(const Aws::String& value) { m_repositoryArnHasBeenSet = true; m_repositoryArn = value; }
52 inline void SetRepositoryArn(Aws::String&& value) { m_repositoryArnHasBeenSet = true; m_repositoryArn = std::move(value); }
53 inline void SetRepositoryArn(const char* value) { m_repositoryArnHasBeenSet = true; m_repositoryArn.assign(value); }
54 inline Repository& WithRepositoryArn(const Aws::String& value) { SetRepositoryArn(value); return *this;}
55 inline Repository& WithRepositoryArn(Aws::String&& value) { SetRepositoryArn(std::move(value)); return *this;}
56 inline Repository& WithRepositoryArn(const char* value) { SetRepositoryArn(value); return *this;}
58
60
64 inline const Aws::String& GetRegistryId() const{ return m_registryId; }
65 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
66 inline void SetRegistryId(const Aws::String& value) { m_registryIdHasBeenSet = true; m_registryId = value; }
67 inline void SetRegistryId(Aws::String&& value) { m_registryIdHasBeenSet = true; m_registryId = std::move(value); }
68 inline void SetRegistryId(const char* value) { m_registryIdHasBeenSet = true; m_registryId.assign(value); }
69 inline Repository& WithRegistryId(const Aws::String& value) { SetRegistryId(value); return *this;}
70 inline Repository& WithRegistryId(Aws::String&& value) { SetRegistryId(std::move(value)); return *this;}
71 inline Repository& WithRegistryId(const char* value) { SetRegistryId(value); return *this;}
73
75
78 inline const Aws::String& GetRepositoryName() const{ return m_repositoryName; }
79 inline bool RepositoryNameHasBeenSet() const { return m_repositoryNameHasBeenSet; }
80 inline void SetRepositoryName(const Aws::String& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = value; }
81 inline void SetRepositoryName(Aws::String&& value) { m_repositoryNameHasBeenSet = true; m_repositoryName = std::move(value); }
82 inline void SetRepositoryName(const char* value) { m_repositoryNameHasBeenSet = true; m_repositoryName.assign(value); }
83 inline Repository& WithRepositoryName(const Aws::String& value) { SetRepositoryName(value); return *this;}
84 inline Repository& WithRepositoryName(Aws::String&& value) { SetRepositoryName(std::move(value)); return *this;}
85 inline Repository& WithRepositoryName(const char* value) { SetRepositoryName(value); return *this;}
87
89
93 inline const Aws::String& GetRepositoryUri() const{ return m_repositoryUri; }
94 inline bool RepositoryUriHasBeenSet() const { return m_repositoryUriHasBeenSet; }
95 inline void SetRepositoryUri(const Aws::String& value) { m_repositoryUriHasBeenSet = true; m_repositoryUri = value; }
96 inline void SetRepositoryUri(Aws::String&& value) { m_repositoryUriHasBeenSet = true; m_repositoryUri = std::move(value); }
97 inline void SetRepositoryUri(const char* value) { m_repositoryUriHasBeenSet = true; m_repositoryUri.assign(value); }
98 inline Repository& WithRepositoryUri(const Aws::String& value) { SetRepositoryUri(value); return *this;}
99 inline Repository& WithRepositoryUri(Aws::String&& value) { SetRepositoryUri(std::move(value)); return *this;}
100 inline Repository& WithRepositoryUri(const char* value) { SetRepositoryUri(value); return *this;}
102
104
108 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
109 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
110 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
111 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
112 inline Repository& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
113 inline Repository& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
115 private:
116
117 Aws::String m_repositoryArn;
118 bool m_repositoryArnHasBeenSet = false;
119
120 Aws::String m_registryId;
121 bool m_registryIdHasBeenSet = false;
122
123 Aws::String m_repositoryName;
124 bool m_repositoryNameHasBeenSet = false;
125
126 Aws::String m_repositoryUri;
127 bool m_repositoryUriHasBeenSet = false;
128
129 Aws::Utils::DateTime m_createdAt;
130 bool m_createdAtHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace ECRPublic
135} // namespace Aws
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition Repository.h:111
void SetRepositoryUri(const char *value)
Definition Repository.h:97
void SetRegistryId(Aws::String &&value)
Definition Repository.h:67
Repository & WithRepositoryName(const char *value)
Definition Repository.h:85
AWS_ECRPUBLIC_API Repository()
Repository & WithRepositoryUri(Aws::String &&value)
Definition Repository.h:99
Repository & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition Repository.h:112
const Aws::String & GetRegistryId() const
Definition Repository.h:64
void SetRepositoryArn(const Aws::String &value)
Definition Repository.h:51
Repository & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition Repository.h:113
Repository & WithRepositoryArn(const Aws::String &value)
Definition Repository.h:54
const Aws::String & GetRepositoryName() const
Definition Repository.h:78
void SetRepositoryName(const Aws::String &value)
Definition Repository.h:80
Repository & WithRepositoryUri(const Aws::String &value)
Definition Repository.h:98
Repository & WithRepositoryName(Aws::String &&value)
Definition Repository.h:84
const Aws::String & GetRepositoryUri() const
Definition Repository.h:93
void SetRepositoryArn(const char *value)
Definition Repository.h:53
void SetRepositoryName(Aws::String &&value)
Definition Repository.h:81
Repository & WithRegistryId(const Aws::String &value)
Definition Repository.h:69
AWS_ECRPUBLIC_API Aws::Utils::Json::JsonValue Jsonize() const
Repository & WithRegistryId(const char *value)
Definition Repository.h:71
void SetRepositoryUri(Aws::String &&value)
Definition Repository.h:96
Repository & WithRepositoryArn(Aws::String &&value)
Definition Repository.h:55
void SetRegistryId(const Aws::String &value)
Definition Repository.h:66
const Aws::String & GetRepositoryArn() const
Definition Repository.h:49
Repository & WithRegistryId(Aws::String &&value)
Definition Repository.h:70
Repository & WithRepositoryUri(const char *value)
Definition Repository.h:100
void SetRepositoryName(const char *value)
Definition Repository.h:82
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Repository.h:108
Repository & WithRepositoryArn(const char *value)
Definition Repository.h:56
AWS_ECRPUBLIC_API Repository(Aws::Utils::Json::JsonView jsonValue)
void SetRepositoryArn(Aws::String &&value)
Definition Repository.h:52
void SetRepositoryUri(const Aws::String &value)
Definition Repository.h:95
Repository & WithRepositoryName(const Aws::String &value)
Definition Repository.h:83
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition Repository.h:110
void SetRegistryId(const char *value)
Definition Repository.h:68
AWS_ECRPUBLIC_API Repository & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue