AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RepositorySummary.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_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 CodeArtifact
23{
24namespace Model
25{
26
37 {
38 public:
39 AWS_CODEARTIFACT_API RepositorySummary();
40 AWS_CODEARTIFACT_API RepositorySummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_CODEARTIFACT_API RepositorySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetName() const{ return m_name; }
50 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
52 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
53 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
54 inline RepositorySummary& WithName(const Aws::String& value) { SetName(value); return *this;}
55 inline RepositorySummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
56 inline RepositorySummary& WithName(const char* value) { SetName(value); return *this;}
58
60
63 inline const Aws::String& GetAdministratorAccount() const{ return m_administratorAccount; }
64 inline bool AdministratorAccountHasBeenSet() const { return m_administratorAccountHasBeenSet; }
65 inline void SetAdministratorAccount(const Aws::String& value) { m_administratorAccountHasBeenSet = true; m_administratorAccount = value; }
66 inline void SetAdministratorAccount(Aws::String&& value) { m_administratorAccountHasBeenSet = true; m_administratorAccount = std::move(value); }
67 inline void SetAdministratorAccount(const char* value) { m_administratorAccountHasBeenSet = true; m_administratorAccount.assign(value); }
69 inline RepositorySummary& WithAdministratorAccount(Aws::String&& value) { SetAdministratorAccount(std::move(value)); return *this;}
70 inline RepositorySummary& WithAdministratorAccount(const char* value) { SetAdministratorAccount(value); return *this;}
72
74
77 inline const Aws::String& GetDomainName() const{ return m_domainName; }
78 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
79 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
80 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
81 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
82 inline RepositorySummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
83 inline RepositorySummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
84 inline RepositorySummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
86
88
92 inline const Aws::String& GetDomainOwner() const{ return m_domainOwner; }
93 inline bool DomainOwnerHasBeenSet() const { return m_domainOwnerHasBeenSet; }
94 inline void SetDomainOwner(const Aws::String& value) { m_domainOwnerHasBeenSet = true; m_domainOwner = value; }
95 inline void SetDomainOwner(Aws::String&& value) { m_domainOwnerHasBeenSet = true; m_domainOwner = std::move(value); }
96 inline void SetDomainOwner(const char* value) { m_domainOwnerHasBeenSet = true; m_domainOwner.assign(value); }
97 inline RepositorySummary& WithDomainOwner(const Aws::String& value) { SetDomainOwner(value); return *this;}
98 inline RepositorySummary& WithDomainOwner(Aws::String&& value) { SetDomainOwner(std::move(value)); return *this;}
99 inline RepositorySummary& WithDomainOwner(const char* value) { SetDomainOwner(value); return *this;}
101
103
106 inline const Aws::String& GetArn() const{ return m_arn; }
107 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
108 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
109 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
110 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
111 inline RepositorySummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
112 inline RepositorySummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
113 inline RepositorySummary& WithArn(const char* value) { SetArn(value); return *this;}
115
117
120 inline const Aws::String& GetDescription() const{ return m_description; }
121 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
122 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
123 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
124 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
125 inline RepositorySummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
126 inline RepositorySummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
127 inline RepositorySummary& WithDescription(const char* value) { SetDescription(value); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
135 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
136 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
137 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
138 inline RepositorySummary& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
139 inline RepositorySummary& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
141 private:
142
143 Aws::String m_name;
144 bool m_nameHasBeenSet = false;
145
146 Aws::String m_administratorAccount;
147 bool m_administratorAccountHasBeenSet = false;
148
149 Aws::String m_domainName;
150 bool m_domainNameHasBeenSet = false;
151
152 Aws::String m_domainOwner;
153 bool m_domainOwnerHasBeenSet = false;
154
155 Aws::String m_arn;
156 bool m_arnHasBeenSet = false;
157
158 Aws::String m_description;
159 bool m_descriptionHasBeenSet = false;
160
161 Aws::Utils::DateTime m_createdTime;
162 bool m_createdTimeHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace CodeArtifact
167} // namespace Aws
RepositorySummary & WithAdministratorAccount(const char *value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetAdministratorAccount(const Aws::String &value)
RepositorySummary & WithCreatedTime(Aws::Utils::DateTime &&value)
AWS_CODEARTIFACT_API RepositorySummary(Aws::Utils::Json::JsonView jsonValue)
void SetCreatedTime(const Aws::Utils::DateTime &value)
RepositorySummary & WithDomainName(Aws::String &&value)
RepositorySummary & WithAdministratorAccount(Aws::String &&value)
RepositorySummary & WithDomainOwner(const Aws::String &value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
RepositorySummary & WithDescription(const char *value)
RepositorySummary & WithArn(Aws::String &&value)
RepositorySummary & WithDescription(Aws::String &&value)
const Aws::String & GetAdministratorAccount() const
RepositorySummary & WithArn(const char *value)
RepositorySummary & WithDomainName(const Aws::String &value)
RepositorySummary & WithAdministratorAccount(const Aws::String &value)
RepositorySummary & WithDomainOwner(const char *value)
RepositorySummary & WithName(Aws::String &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
RepositorySummary & WithDescription(const Aws::String &value)
RepositorySummary & WithName(const Aws::String &value)
RepositorySummary & WithDomainName(const char *value)
AWS_CODEARTIFACT_API RepositorySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainOwner(const Aws::String &value)
RepositorySummary & WithCreatedTime(const Aws::Utils::DateTime &value)
void SetDomainName(const Aws::String &value)
void SetAdministratorAccount(Aws::String &&value)
RepositorySummary & WithArn(const Aws::String &value)
RepositorySummary & WithName(const char *value)
void SetDescription(const Aws::String &value)
RepositorySummary & WithDomainOwner(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue