AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PackageVersionOrigin.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/DomainEntryPoint.h>
9#include <aws/codeartifact/model/PackageVersionOriginType.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
34 {
35 public:
36 AWS_CODEARTIFACT_API PackageVersionOrigin();
37 AWS_CODEARTIFACT_API PackageVersionOrigin(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline const DomainEntryPoint& GetDomainEntryPoint() const{ return m_domainEntryPoint; }
50 inline bool DomainEntryPointHasBeenSet() const { return m_domainEntryPointHasBeenSet; }
51 inline void SetDomainEntryPoint(const DomainEntryPoint& value) { m_domainEntryPointHasBeenSet = true; m_domainEntryPoint = value; }
52 inline void SetDomainEntryPoint(DomainEntryPoint&& value) { m_domainEntryPointHasBeenSet = true; m_domainEntryPoint = std::move(value); }
54 inline PackageVersionOrigin& WithDomainEntryPoint(DomainEntryPoint&& value) { SetDomainEntryPoint(std::move(value)); return *this;}
56
58
64 inline const PackageVersionOriginType& GetOriginType() const{ return m_originType; }
65 inline bool OriginTypeHasBeenSet() const { return m_originTypeHasBeenSet; }
66 inline void SetOriginType(const PackageVersionOriginType& value) { m_originTypeHasBeenSet = true; m_originType = value; }
67 inline void SetOriginType(PackageVersionOriginType&& value) { m_originTypeHasBeenSet = true; m_originType = std::move(value); }
68 inline PackageVersionOrigin& WithOriginType(const PackageVersionOriginType& value) { SetOriginType(value); return *this;}
69 inline PackageVersionOrigin& WithOriginType(PackageVersionOriginType&& value) { SetOriginType(std::move(value)); return *this;}
71 private:
72
73 DomainEntryPoint m_domainEntryPoint;
74 bool m_domainEntryPointHasBeenSet = false;
75
76 PackageVersionOriginType m_originType;
77 bool m_originTypeHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace CodeArtifact
82} // namespace Aws
void SetOriginType(PackageVersionOriginType &&value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
const DomainEntryPoint & GetDomainEntryPoint() const
AWS_CODEARTIFACT_API PackageVersionOrigin & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDomainEntryPoint(const DomainEntryPoint &value)
AWS_CODEARTIFACT_API PackageVersionOrigin(Aws::Utils::Json::JsonView jsonValue)
void SetOriginType(const PackageVersionOriginType &value)
PackageVersionOrigin & WithOriginType(const PackageVersionOriginType &value)
const PackageVersionOriginType & GetOriginType() const
PackageVersionOrigin & WithOriginType(PackageVersionOriginType &&value)
PackageVersionOrigin & WithDomainEntryPoint(DomainEntryPoint &&value)
PackageVersionOrigin & WithDomainEntryPoint(const DomainEntryPoint &value)
Aws::Utils::Json::JsonValue JsonValue