AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssociatedPackageGroupResult.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/codeartifact/model/PackageGroupDescription.h>
9#include <aws/codeartifact/model/PackageGroupAssociationType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CodeArtifact
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CODEARTIFACT_API GetAssociatedPackageGroupResult();
35
36
38
41 inline const PackageGroupDescription& GetPackageGroup() const{ return m_packageGroup; }
42 inline void SetPackageGroup(const PackageGroupDescription& value) { m_packageGroup = value; }
43 inline void SetPackageGroup(PackageGroupDescription&& value) { m_packageGroup = std::move(value); }
47
49
54 inline const PackageGroupAssociationType& GetAssociationType() const{ return m_associationType; }
55 inline void SetAssociationType(const PackageGroupAssociationType& value) { m_associationType = value; }
56 inline void SetAssociationType(PackageGroupAssociationType&& value) { m_associationType = std::move(value); }
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline GetAssociatedPackageGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline GetAssociatedPackageGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline GetAssociatedPackageGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71 private:
72
73 PackageGroupDescription m_packageGroup;
74
75 PackageGroupAssociationType m_associationType;
76
77 Aws::String m_requestId;
78 };
79
80} // namespace Model
81} // namespace CodeArtifact
82} // namespace Aws
GetAssociatedPackageGroupResult & WithAssociationType(PackageGroupAssociationType &&value)
GetAssociatedPackageGroupResult & WithPackageGroup(PackageGroupDescription &&value)
void SetAssociationType(const PackageGroupAssociationType &value)
GetAssociatedPackageGroupResult & WithRequestId(const char *value)
GetAssociatedPackageGroupResult & WithRequestId(const Aws::String &value)
AWS_CODEARTIFACT_API GetAssociatedPackageGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAssociatedPackageGroupResult & WithPackageGroup(const PackageGroupDescription &value)
GetAssociatedPackageGroupResult & WithRequestId(Aws::String &&value)
GetAssociatedPackageGroupResult & WithAssociationType(const PackageGroupAssociationType &value)
AWS_CODEARTIFACT_API GetAssociatedPackageGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue