AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
CustomArtifactConfiguration.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/model/ArtifactType.h>
9#include <aws/kinesisanalyticsv2/model/MavenReference.h>
10#include <aws/kinesisanalyticsv2/model/S3ContentLocation.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace KinesisAnalyticsV2 {
22namespace Model {
23
31 public:
32 AWS_KINESISANALYTICSV2_API CustomArtifactConfiguration() = default;
33 AWS_KINESISANALYTICSV2_API CustomArtifactConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline ArtifactType GetArtifactType() const { return m_artifactType; }
44 inline bool ArtifactTypeHasBeenSet() const { return m_artifactTypeHasBeenSet; }
45 inline void SetArtifactType(ArtifactType value) {
46 m_artifactTypeHasBeenSet = true;
47 m_artifactType = value;
48 }
50 SetArtifactType(value);
51 return *this;
52 }
54
56
57 inline const S3ContentLocation& GetS3ContentLocation() const { return m_s3ContentLocation; }
58 inline bool S3ContentLocationHasBeenSet() const { return m_s3ContentLocationHasBeenSet; }
59 template <typename S3ContentLocationT = S3ContentLocation>
60 void SetS3ContentLocation(S3ContentLocationT&& value) {
61 m_s3ContentLocationHasBeenSet = true;
62 m_s3ContentLocation = std::forward<S3ContentLocationT>(value);
63 }
64 template <typename S3ContentLocationT = S3ContentLocation>
66 SetS3ContentLocation(std::forward<S3ContentLocationT>(value));
67 return *this;
68 }
70
72
75 inline const MavenReference& GetMavenReference() const { return m_mavenReference; }
76 inline bool MavenReferenceHasBeenSet() const { return m_mavenReferenceHasBeenSet; }
77 template <typename MavenReferenceT = MavenReference>
78 void SetMavenReference(MavenReferenceT&& value) {
79 m_mavenReferenceHasBeenSet = true;
80 m_mavenReference = std::forward<MavenReferenceT>(value);
81 }
82 template <typename MavenReferenceT = MavenReference>
84 SetMavenReference(std::forward<MavenReferenceT>(value));
85 return *this;
86 }
88 private:
89 ArtifactType m_artifactType{ArtifactType::NOT_SET};
90
91 S3ContentLocation m_s3ContentLocation;
92
93 MavenReference m_mavenReference;
94 bool m_artifactTypeHasBeenSet = false;
95 bool m_s3ContentLocationHasBeenSet = false;
96 bool m_mavenReferenceHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace KinesisAnalyticsV2
101} // namespace Aws
AWS_KINESISANALYTICSV2_API CustomArtifactConfiguration(Aws::Utils::Json::JsonView jsonValue)
CustomArtifactConfiguration & WithArtifactType(ArtifactType value)
AWS_KINESISANALYTICSV2_API CustomArtifactConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomArtifactConfiguration & WithS3ContentLocation(S3ContentLocationT &&value)
AWS_KINESISANALYTICSV2_API CustomArtifactConfiguration()=default
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CustomArtifactConfiguration & WithMavenReference(MavenReferenceT &&value)
Aws::Utils::Json::JsonValue JsonValue