AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
MavenReference.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace KinesisAnalyticsV2 {
20namespace Model {
21
29 public:
30 AWS_KINESISANALYTICSV2_API MavenReference() = default;
31 AWS_KINESISANALYTICSV2_API MavenReference(Aws::Utils::Json::JsonView jsonValue);
32 AWS_KINESISANALYTICSV2_API MavenReference& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetGroupId() const { return m_groupId; }
40 inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; }
41 template <typename GroupIdT = Aws::String>
42 void SetGroupId(GroupIdT&& value) {
43 m_groupIdHasBeenSet = true;
44 m_groupId = std::forward<GroupIdT>(value);
45 }
46 template <typename GroupIdT = Aws::String>
47 MavenReference& WithGroupId(GroupIdT&& value) {
48 SetGroupId(std::forward<GroupIdT>(value));
49 return *this;
50 }
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) {
61 m_artifactIdHasBeenSet = true;
62 m_artifactId = std::forward<ArtifactIdT>(value);
63 }
64 template <typename ArtifactIdT = Aws::String>
65 MavenReference& WithArtifactId(ArtifactIdT&& value) {
66 SetArtifactId(std::forward<ArtifactIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetVersion() const { return m_version; }
76 inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; }
77 template <typename VersionT = Aws::String>
78 void SetVersion(VersionT&& value) {
79 m_versionHasBeenSet = true;
80 m_version = std::forward<VersionT>(value);
81 }
82 template <typename VersionT = Aws::String>
83 MavenReference& WithVersion(VersionT&& value) {
84 SetVersion(std::forward<VersionT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_groupId;
90
91 Aws::String m_artifactId;
92
93 Aws::String m_version;
94 bool m_groupIdHasBeenSet = false;
95 bool m_artifactIdHasBeenSet = false;
96 bool m_versionHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace KinesisAnalyticsV2
101} // 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