AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PackageGroupReference.h
1
6#pragma once
7#include <aws/codeartifact/CodeArtifact_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace CodeArtifact
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CODEARTIFACT_API PackageGroupReference();
36 AWS_CODEARTIFACT_API PackageGroupReference(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetArn() const{ return m_arn; }
46 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
47 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
48 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
49 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
50 inline PackageGroupReference& WithArn(const Aws::String& value) { SetArn(value); return *this;}
51 inline PackageGroupReference& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
52 inline PackageGroupReference& WithArn(const char* value) { SetArn(value); return *this;}
54
56
61 inline const Aws::String& GetPattern() const{ return m_pattern; }
62 inline bool PatternHasBeenSet() const { return m_patternHasBeenSet; }
63 inline void SetPattern(const Aws::String& value) { m_patternHasBeenSet = true; m_pattern = value; }
64 inline void SetPattern(Aws::String&& value) { m_patternHasBeenSet = true; m_pattern = std::move(value); }
65 inline void SetPattern(const char* value) { m_patternHasBeenSet = true; m_pattern.assign(value); }
66 inline PackageGroupReference& WithPattern(const Aws::String& value) { SetPattern(value); return *this;}
67 inline PackageGroupReference& WithPattern(Aws::String&& value) { SetPattern(std::move(value)); return *this;}
68 inline PackageGroupReference& WithPattern(const char* value) { SetPattern(value); return *this;}
70 private:
71
72 Aws::String m_arn;
73 bool m_arnHasBeenSet = false;
74
75 Aws::String m_pattern;
76 bool m_patternHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace CodeArtifact
81} // namespace Aws
PackageGroupReference & WithArn(Aws::String &&value)
PackageGroupReference & WithArn(const char *value)
AWS_CODEARTIFACT_API PackageGroupReference & operator=(Aws::Utils::Json::JsonView jsonValue)
PackageGroupReference & WithPattern(Aws::String &&value)
PackageGroupReference & WithPattern(const char *value)
AWS_CODEARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
PackageGroupReference & WithArn(const Aws::String &value)
PackageGroupReference & WithPattern(const Aws::String &value)
AWS_CODEARTIFACT_API PackageGroupReference(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue