AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RepositoryExternalConnectionInfo.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codeartifact/model/PackageFormat.h>
10#include <aws/codeartifact/model/ExternalConnectionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace CodeArtifact
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_CODEARTIFACT_API RepositoryExternalConnectionInfo();
40 AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetExternalConnectionName() const{ return m_externalConnectionName; }
48 inline bool ExternalConnectionNameHasBeenSet() const { return m_externalConnectionNameHasBeenSet; }
49 inline void SetExternalConnectionName(const Aws::String& value) { m_externalConnectionNameHasBeenSet = true; m_externalConnectionName = value; }
50 inline void SetExternalConnectionName(Aws::String&& value) { m_externalConnectionNameHasBeenSet = true; m_externalConnectionName = std::move(value); }
51 inline void SetExternalConnectionName(const char* value) { m_externalConnectionNameHasBeenSet = true; m_externalConnectionName.assign(value); }
56
58
69 inline const PackageFormat& GetPackageFormat() const{ return m_packageFormat; }
70 inline bool PackageFormatHasBeenSet() const { return m_packageFormatHasBeenSet; }
71 inline void SetPackageFormat(const PackageFormat& value) { m_packageFormatHasBeenSet = true; m_packageFormat = value; }
72 inline void SetPackageFormat(PackageFormat&& value) { m_packageFormatHasBeenSet = true; m_packageFormat = std::move(value); }
74 inline RepositoryExternalConnectionInfo& WithPackageFormat(PackageFormat&& value) { SetPackageFormat(std::move(value)); return *this;}
76
78
82 inline const ExternalConnectionStatus& GetStatus() const{ return m_status; }
83 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
84 inline void SetStatus(const ExternalConnectionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
85 inline void SetStatus(ExternalConnectionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
87 inline RepositoryExternalConnectionInfo& WithStatus(ExternalConnectionStatus&& value) { SetStatus(std::move(value)); return *this;}
89 private:
90
91 Aws::String m_externalConnectionName;
92 bool m_externalConnectionNameHasBeenSet = false;
93
94 PackageFormat m_packageFormat;
95 bool m_packageFormatHasBeenSet = false;
96
98 bool m_statusHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace CodeArtifact
103} // namespace Aws
RepositoryExternalConnectionInfo & WithExternalConnectionName(const Aws::String &value)
RepositoryExternalConnectionInfo & WithPackageFormat(PackageFormat &&value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
RepositoryExternalConnectionInfo & WithPackageFormat(const PackageFormat &value)
RepositoryExternalConnectionInfo & WithStatus(const ExternalConnectionStatus &value)
AWS_CODEARTIFACT_API RepositoryExternalConnectionInfo(Aws::Utils::Json::JsonView jsonValue)
RepositoryExternalConnectionInfo & WithStatus(ExternalConnectionStatus &&value)
AWS_CODEARTIFACT_API RepositoryExternalConnectionInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
RepositoryExternalConnectionInfo & WithExternalConnectionName(Aws::String &&value)
RepositoryExternalConnectionInfo & WithExternalConnectionName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue