AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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/S3ContentLocation.h>
10#include <aws/kinesisanalyticsv2/model/MavenReference.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace KinesisAnalyticsV2
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_KINESISANALYTICSV2_API CustomArtifactConfiguration() = default;
38 AWS_KINESISANALYTICSV2_API CustomArtifactConfiguration(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline ArtifactType GetArtifactType() const { return m_artifactType; }
50 inline bool ArtifactTypeHasBeenSet() const { return m_artifactTypeHasBeenSet; }
51 inline void SetArtifactType(ArtifactType value) { m_artifactTypeHasBeenSet = true; m_artifactType = value; }
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) { m_s3ContentLocationHasBeenSet = true; m_s3ContentLocation = std::forward<S3ContentLocationT>(value); }
61 template<typename S3ContentLocationT = S3ContentLocation>
62 CustomArtifactConfiguration& WithS3ContentLocation(S3ContentLocationT&& value) { SetS3ContentLocation(std::forward<S3ContentLocationT>(value)); return *this;}
64
66
69 inline const MavenReference& GetMavenReference() const { return m_mavenReference; }
70 inline bool MavenReferenceHasBeenSet() const { return m_mavenReferenceHasBeenSet; }
71 template<typename MavenReferenceT = MavenReference>
72 void SetMavenReference(MavenReferenceT&& value) { m_mavenReferenceHasBeenSet = true; m_mavenReference = std::forward<MavenReferenceT>(value); }
73 template<typename MavenReferenceT = MavenReference>
74 CustomArtifactConfiguration& WithMavenReference(MavenReferenceT&& value) { SetMavenReference(std::forward<MavenReferenceT>(value)); return *this;}
76 private:
77
78 ArtifactType m_artifactType{ArtifactType::NOT_SET};
79 bool m_artifactTypeHasBeenSet = false;
80
81 S3ContentLocation m_s3ContentLocation;
82 bool m_s3ContentLocationHasBeenSet = false;
83
84 MavenReference m_mavenReference;
85 bool m_mavenReferenceHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace KinesisAnalyticsV2
90} // 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