AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssociatedPackageGroupRequest.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/CodeArtifactRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/codeartifact/model/PackageFormat.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CodeArtifact
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CODEARTIFACT_API GetAssociatedPackageGroupRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "GetAssociatedPackageGroup"; }
36
37 AWS_CODEARTIFACT_API Aws::String SerializePayload() const override;
38
39 AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
47 inline const Aws::String& GetDomain() const{ return m_domain; }
48 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
49 inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; }
50 inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); }
51 inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); }
52 inline GetAssociatedPackageGroupRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;}
53 inline GetAssociatedPackageGroupRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;}
54 inline GetAssociatedPackageGroupRequest& WithDomain(const char* value) { SetDomain(value); return *this;}
56
58
62 inline const Aws::String& GetDomainOwner() const{ return m_domainOwner; }
63 inline bool DomainOwnerHasBeenSet() const { return m_domainOwnerHasBeenSet; }
64 inline void SetDomainOwner(const Aws::String& value) { m_domainOwnerHasBeenSet = true; m_domainOwner = value; }
65 inline void SetDomainOwner(Aws::String&& value) { m_domainOwnerHasBeenSet = true; m_domainOwner = std::move(value); }
66 inline void SetDomainOwner(const char* value) { m_domainOwnerHasBeenSet = true; m_domainOwner.assign(value); }
67 inline GetAssociatedPackageGroupRequest& WithDomainOwner(const Aws::String& value) { SetDomainOwner(value); return *this;}
68 inline GetAssociatedPackageGroupRequest& WithDomainOwner(Aws::String&& value) { SetDomainOwner(std::move(value)); return *this;}
69 inline GetAssociatedPackageGroupRequest& WithDomainOwner(const char* value) { SetDomainOwner(value); return *this;}
71
73
77 inline const PackageFormat& GetFormat() const{ return m_format; }
78 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
79 inline void SetFormat(const PackageFormat& value) { m_formatHasBeenSet = true; m_format = value; }
80 inline void SetFormat(PackageFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
81 inline GetAssociatedPackageGroupRequest& WithFormat(const PackageFormat& value) { SetFormat(value); return *this;}
82 inline GetAssociatedPackageGroupRequest& WithFormat(PackageFormat&& value) { SetFormat(std::move(value)); return *this;}
84
86
99 inline const Aws::String& GetNamespace() const{ return m_namespace; }
100 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
101 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
102 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
103 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
104 inline GetAssociatedPackageGroupRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
105 inline GetAssociatedPackageGroupRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
106 inline GetAssociatedPackageGroupRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
108
110
113 inline const Aws::String& GetPackage() const{ return m_package; }
114 inline bool PackageHasBeenSet() const { return m_packageHasBeenSet; }
115 inline void SetPackage(const Aws::String& value) { m_packageHasBeenSet = true; m_package = value; }
116 inline void SetPackage(Aws::String&& value) { m_packageHasBeenSet = true; m_package = std::move(value); }
117 inline void SetPackage(const char* value) { m_packageHasBeenSet = true; m_package.assign(value); }
118 inline GetAssociatedPackageGroupRequest& WithPackage(const Aws::String& value) { SetPackage(value); return *this;}
119 inline GetAssociatedPackageGroupRequest& WithPackage(Aws::String&& value) { SetPackage(std::move(value)); return *this;}
120 inline GetAssociatedPackageGroupRequest& WithPackage(const char* value) { SetPackage(value); return *this;}
122 private:
123
124 Aws::String m_domain;
125 bool m_domainHasBeenSet = false;
126
127 Aws::String m_domainOwner;
128 bool m_domainOwnerHasBeenSet = false;
129
130 PackageFormat m_format;
131 bool m_formatHasBeenSet = false;
132
133 Aws::String m_namespace;
134 bool m_namespaceHasBeenSet = false;
135
136 Aws::String m_package;
137 bool m_packageHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace CodeArtifact
142} // namespace Aws
GetAssociatedPackageGroupRequest & WithNamespace(Aws::String &&value)
GetAssociatedPackageGroupRequest & WithFormat(PackageFormat &&value)
AWS_CODEARTIFACT_API Aws::String SerializePayload() const override
GetAssociatedPackageGroupRequest & WithPackage(Aws::String &&value)
GetAssociatedPackageGroupRequest & WithDomainOwner(const char *value)
AWS_CODEARTIFACT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetAssociatedPackageGroupRequest & WithFormat(const PackageFormat &value)
GetAssociatedPackageGroupRequest & WithDomain(const char *value)
GetAssociatedPackageGroupRequest & WithNamespace(const Aws::String &value)
GetAssociatedPackageGroupRequest & WithDomain(Aws::String &&value)
GetAssociatedPackageGroupRequest & WithNamespace(const char *value)
GetAssociatedPackageGroupRequest & WithDomainOwner(const Aws::String &value)
GetAssociatedPackageGroupRequest & WithPackage(const Aws::String &value)
GetAssociatedPackageGroupRequest & WithPackage(const char *value)
GetAssociatedPackageGroupRequest & WithDomain(const Aws::String &value)
GetAssociatedPackageGroupRequest & WithDomainOwner(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String