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/proton/Proton_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/proton/model/RepositoryProvider.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 Proton
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_PROTON_API RepositorySummary();
39 AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline RepositorySummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline RepositorySummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline RepositorySummary& WithArn(const char* value) { SetArn(value); return *this;}
55
57
61 inline const Aws::String& GetConnectionArn() const{ return m_connectionArn; }
62 inline bool ConnectionArnHasBeenSet() const { return m_connectionArnHasBeenSet; }
63 inline void SetConnectionArn(const Aws::String& value) { m_connectionArnHasBeenSet = true; m_connectionArn = value; }
64 inline void SetConnectionArn(Aws::String&& value) { m_connectionArnHasBeenSet = true; m_connectionArn = std::move(value); }
65 inline void SetConnectionArn(const char* value) { m_connectionArnHasBeenSet = true; m_connectionArn.assign(value); }
66 inline RepositorySummary& WithConnectionArn(const Aws::String& value) { SetConnectionArn(value); return *this;}
67 inline RepositorySummary& WithConnectionArn(Aws::String&& value) { SetConnectionArn(std::move(value)); return *this;}
68 inline RepositorySummary& WithConnectionArn(const char* value) { SetConnectionArn(value); return *this;}
70
72
75 inline const Aws::String& GetName() const{ return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
78 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
79 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
80 inline RepositorySummary& WithName(const Aws::String& value) { SetName(value); return *this;}
81 inline RepositorySummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
82 inline RepositorySummary& WithName(const char* value) { SetName(value); return *this;}
84
86
89 inline const RepositoryProvider& GetProvider() const{ return m_provider; }
90 inline bool ProviderHasBeenSet() const { return m_providerHasBeenSet; }
91 inline void SetProvider(const RepositoryProvider& value) { m_providerHasBeenSet = true; m_provider = value; }
92 inline void SetProvider(RepositoryProvider&& value) { m_providerHasBeenSet = true; m_provider = std::move(value); }
93 inline RepositorySummary& WithProvider(const RepositoryProvider& value) { SetProvider(value); return *this;}
94 inline RepositorySummary& WithProvider(RepositoryProvider&& value) { SetProvider(std::move(value)); return *this;}
96 private:
97
98 Aws::String m_arn;
99 bool m_arnHasBeenSet = false;
100
101 Aws::String m_connectionArn;
102 bool m_connectionArnHasBeenSet = false;
103
104 Aws::String m_name;
105 bool m_nameHasBeenSet = false;
106
107 RepositoryProvider m_provider;
108 bool m_providerHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace Proton
113} // namespace Aws
RepositorySummary & WithProvider(RepositoryProvider &&value)
const Aws::String & GetConnectionArn() const
void SetProvider(RepositoryProvider &&value)
RepositorySummary & WithConnectionArn(const Aws::String &value)
AWS_PROTON_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_PROTON_API RepositorySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositorySummary & WithName(const Aws::String &value)
const Aws::String & GetArn() const
RepositorySummary & WithArn(const Aws::String &value)
RepositorySummary & WithConnectionArn(const char *value)
void SetArn(const Aws::String &value)
RepositorySummary & WithArn(Aws::String &&value)
const Aws::String & GetName() const
void SetConnectionArn(Aws::String &&value)
AWS_PROTON_API RepositorySummary(Aws::Utils::Json::JsonView jsonValue)
RepositorySummary & WithProvider(const RepositoryProvider &value)
RepositorySummary & WithName(const char *value)
RepositorySummary & WithName(Aws::String &&value)
RepositorySummary & WithArn(const char *value)
void SetConnectionArn(const Aws::String &value)
void SetName(const Aws::String &value)
const RepositoryProvider & GetProvider() const
void SetProvider(const RepositoryProvider &value)
RepositorySummary & WithConnectionArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue