AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
MavenReference.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_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 KinesisAnalyticsV2
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_KINESISANALYTICSV2_API MavenReference() = default;
36 AWS_KINESISANALYTICSV2_API MavenReference(Aws::Utils::Json::JsonView jsonValue);
37 AWS_KINESISANALYTICSV2_API MavenReference& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetGroupId() const { return m_groupId; }
46 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
47 template<typename GroupIdT = Aws::String>
48 void SetGroupId(GroupIdT&& value) { m_groupIdHasBeenSet = true; m_groupId = std::forward<GroupIdT>(value); }
49 template<typename GroupIdT = Aws::String>
50 MavenReference& WithGroupId(GroupIdT&& value) { SetGroupId(std::forward<GroupIdT>(value)); return *this;}
52
54
57 inline const Aws::String& GetArtifactId() const { return m_artifactId; }
58 inline bool ArtifactIdHasBeenSet() const { return m_artifactIdHasBeenSet; }
59 template<typename ArtifactIdT = Aws::String>
60 void SetArtifactId(ArtifactIdT&& value) { m_artifactIdHasBeenSet = true; m_artifactId = std::forward<ArtifactIdT>(value); }
61 template<typename ArtifactIdT = Aws::String>
62 MavenReference& WithArtifactId(ArtifactIdT&& value) { SetArtifactId(std::forward<ArtifactIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetVersion() const { return m_version; }
70 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
71 template<typename VersionT = Aws::String>
72 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
73 template<typename VersionT = Aws::String>
74 MavenReference& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
76 private:
77
78 Aws::String m_groupId;
79 bool m_groupIdHasBeenSet = false;
80
81 Aws::String m_artifactId;
82 bool m_artifactIdHasBeenSet = false;
83
84 Aws::String m_version;
85 bool m_versionHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace KinesisAnalyticsV2
90} // namespace Aws
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
MavenReference & WithGroupId(GroupIdT &&value)
MavenReference & WithArtifactId(ArtifactIdT &&value)
MavenReference & WithVersion(VersionT &&value)
AWS_KINESISANALYTICSV2_API MavenReference & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API MavenReference()=default
AWS_KINESISANALYTICSV2_API MavenReference(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue