AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CodeContentUpdate.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
10#include <aws/kinesisanalyticsv2/model/S3ContentLocationUpdate.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 CodeContentUpdate() = default;
33 AWS_KINESISANALYTICSV2_API CodeContentUpdate(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICSV2_API CodeContentUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetTextContentUpdate() const { return m_textContentUpdate; }
42 inline bool TextContentUpdateHasBeenSet() const { return m_textContentUpdateHasBeenSet; }
43 template <typename TextContentUpdateT = Aws::String>
44 void SetTextContentUpdate(TextContentUpdateT&& value) {
45 m_textContentUpdateHasBeenSet = true;
46 m_textContentUpdate = std::forward<TextContentUpdateT>(value);
47 }
48 template <typename TextContentUpdateT = Aws::String>
49 CodeContentUpdate& WithTextContentUpdate(TextContentUpdateT&& value) {
50 SetTextContentUpdate(std::forward<TextContentUpdateT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Utils::ByteBuffer& GetZipFileContentUpdate() const { return m_zipFileContentUpdate; }
60 inline bool ZipFileContentUpdateHasBeenSet() const { return m_zipFileContentUpdateHasBeenSet; }
61 template <typename ZipFileContentUpdateT = Aws::Utils::ByteBuffer>
62 void SetZipFileContentUpdate(ZipFileContentUpdateT&& value) {
63 m_zipFileContentUpdateHasBeenSet = true;
64 m_zipFileContentUpdate = std::forward<ZipFileContentUpdateT>(value);
65 }
66 template <typename ZipFileContentUpdateT = Aws::Utils::ByteBuffer>
67 CodeContentUpdate& WithZipFileContentUpdate(ZipFileContentUpdateT&& value) {
68 SetZipFileContentUpdate(std::forward<ZipFileContentUpdateT>(value));
69 return *this;
70 }
72
74
77 inline const S3ContentLocationUpdate& GetS3ContentLocationUpdate() const { return m_s3ContentLocationUpdate; }
78 inline bool S3ContentLocationUpdateHasBeenSet() const { return m_s3ContentLocationUpdateHasBeenSet; }
79 template <typename S3ContentLocationUpdateT = S3ContentLocationUpdate>
80 void SetS3ContentLocationUpdate(S3ContentLocationUpdateT&& value) {
81 m_s3ContentLocationUpdateHasBeenSet = true;
82 m_s3ContentLocationUpdate = std::forward<S3ContentLocationUpdateT>(value);
83 }
84 template <typename S3ContentLocationUpdateT = S3ContentLocationUpdate>
85 CodeContentUpdate& WithS3ContentLocationUpdate(S3ContentLocationUpdateT&& value) {
86 SetS3ContentLocationUpdate(std::forward<S3ContentLocationUpdateT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_textContentUpdate;
92
93 Aws::Utils::ByteBuffer m_zipFileContentUpdate{};
94
95 S3ContentLocationUpdate m_s3ContentLocationUpdate;
96 bool m_textContentUpdateHasBeenSet = false;
97 bool m_zipFileContentUpdateHasBeenSet = false;
98 bool m_s3ContentLocationUpdateHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace KinesisAnalyticsV2
103} // namespace Aws
CodeContentUpdate & WithTextContentUpdate(TextContentUpdateT &&value)
void SetS3ContentLocationUpdate(S3ContentLocationUpdateT &&value)
AWS_KINESISANALYTICSV2_API CodeContentUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API CodeContentUpdate()=default
const S3ContentLocationUpdate & GetS3ContentLocationUpdate() const
void SetTextContentUpdate(TextContentUpdateT &&value)
CodeContentUpdate & WithZipFileContentUpdate(ZipFileContentUpdateT &&value)
CodeContentUpdate & WithS3ContentLocationUpdate(S3ContentLocationUpdateT &&value)
const Aws::Utils::ByteBuffer & GetZipFileContentUpdate() const
void SetZipFileContentUpdate(ZipFileContentUpdateT &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API CodeContentUpdate(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue