AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NameT = Aws::String>
52 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
53 template<typename NameT = Aws::String>
54 RepositorySummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
56
58
61 inline const Aws::String& GetAdministratorAccount() const { return m_administratorAccount; }
62 inline bool AdministratorAccountHasBeenSet() const { return m_administratorAccountHasBeenSet; }
63 template<typename AdministratorAccountT = Aws::String>
64 void SetAdministratorAccount(AdministratorAccountT&& value) { m_administratorAccountHasBeenSet = true; m_administratorAccount = std::forward<AdministratorAccountT>(value); }
65 template<typename AdministratorAccountT = Aws::String>
66 RepositorySummary& WithAdministratorAccount(AdministratorAccountT&& value) { SetAdministratorAccount(std::forward<AdministratorAccountT>(value)); return *this;}
68
70
73 inline const Aws::String& GetDomainName() const { return m_domainName; }
74 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
75 template<typename DomainNameT = Aws::String>
76 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
77 template<typename DomainNameT = Aws::String>
78 RepositorySummary& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
80
82
86 inline const Aws::String& GetDomainOwner() const { return m_domainOwner; }
87 inline bool DomainOwnerHasBeenSet() const { return m_domainOwnerHasBeenSet; }
88 template<typename DomainOwnerT = Aws::String>
89 void SetDomainOwner(DomainOwnerT&& value) { m_domainOwnerHasBeenSet = true; m_domainOwner = std::forward<DomainOwnerT>(value); }
90 template<typename DomainOwnerT = Aws::String>
91 RepositorySummary& WithDomainOwner(DomainOwnerT&& value) { SetDomainOwner(std::forward<DomainOwnerT>(value)); return *this;}
93
95
98 inline const Aws::String& GetArn() const { return m_arn; }
99 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
100 template<typename ArnT = Aws::String>
101 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
102 template<typename ArnT = Aws::String>
103 RepositorySummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
105
107
110 inline const Aws::String& GetDescription() const { return m_description; }
111 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
112 template<typename DescriptionT = Aws::String>
113 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
114 template<typename DescriptionT = Aws::String>
115 RepositorySummary& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
117
119
122 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
123 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
124 template<typename CreatedTimeT = Aws::Utils::DateTime>
125 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
126 template<typename CreatedTimeT = Aws::Utils::DateTime>
127 RepositorySummary& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
129 private:
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_administratorAccount;
135 bool m_administratorAccountHasBeenSet = false;
136
137 Aws::String m_domainName;
138 bool m_domainNameHasBeenSet = false;
139
140 Aws::String m_domainOwner;
141 bool m_domainOwnerHasBeenSet = false;
142
143 Aws::String m_arn;
144 bool m_arnHasBeenSet = false;
145
146 Aws::String m_description;
147 bool m_descriptionHasBeenSet = false;
148
149 Aws::Utils::DateTime m_createdTime{};
150 bool m_createdTimeHasBeenSet = false;
151 };
152
153} // namespace Model
154} // namespace CodeArtifact
155} // namespace Aws
const Aws::Utils::DateTime & GetCreatedTime() const
RepositorySummary & WithDomainName(DomainNameT &&value)
void SetAdministratorAccount(AdministratorAccountT &&value)
AWS_CODEARTIFACT_API RepositorySummary(Aws::Utils::Json::JsonView jsonValue)
RepositorySummary & WithDescription(DescriptionT &&value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
RepositorySummary & WithAdministratorAccount(AdministratorAccountT &&value)
const Aws::String & GetAdministratorAccount() const
RepositorySummary & WithName(NameT &&value)
AWS_CODEARTIFACT_API RepositorySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEARTIFACT_API RepositorySummary()=default
RepositorySummary & WithCreatedTime(CreatedTimeT &&value)
RepositorySummary & WithDomainOwner(DomainOwnerT &&value)
RepositorySummary & WithArn(ArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue