AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CodeContentUpdate.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.h>
10#include <aws/kinesisanalyticsv2/model/S3ContentLocationUpdate.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 CodeContentUpdate() = default;
38 AWS_KINESISANALYTICSV2_API CodeContentUpdate(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API CodeContentUpdate& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTextContentUpdate() const { return m_textContentUpdate; }
48 inline bool TextContentUpdateHasBeenSet() const { return m_textContentUpdateHasBeenSet; }
49 template<typename TextContentUpdateT = Aws::String>
50 void SetTextContentUpdate(TextContentUpdateT&& value) { m_textContentUpdateHasBeenSet = true; m_textContentUpdate = std::forward<TextContentUpdateT>(value); }
51 template<typename TextContentUpdateT = Aws::String>
52 CodeContentUpdate& WithTextContentUpdate(TextContentUpdateT&& value) { SetTextContentUpdate(std::forward<TextContentUpdateT>(value)); return *this;}
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) { m_zipFileContentUpdateHasBeenSet = true; m_zipFileContentUpdate = std::forward<ZipFileContentUpdateT>(value); }
63 template<typename ZipFileContentUpdateT = Aws::Utils::ByteBuffer>
64 CodeContentUpdate& WithZipFileContentUpdate(ZipFileContentUpdateT&& value) { SetZipFileContentUpdate(std::forward<ZipFileContentUpdateT>(value)); return *this;}
66
68
71 inline const S3ContentLocationUpdate& GetS3ContentLocationUpdate() const { return m_s3ContentLocationUpdate; }
72 inline bool S3ContentLocationUpdateHasBeenSet() const { return m_s3ContentLocationUpdateHasBeenSet; }
73 template<typename S3ContentLocationUpdateT = S3ContentLocationUpdate>
74 void SetS3ContentLocationUpdate(S3ContentLocationUpdateT&& value) { m_s3ContentLocationUpdateHasBeenSet = true; m_s3ContentLocationUpdate = std::forward<S3ContentLocationUpdateT>(value); }
75 template<typename S3ContentLocationUpdateT = S3ContentLocationUpdate>
76 CodeContentUpdate& WithS3ContentLocationUpdate(S3ContentLocationUpdateT&& value) { SetS3ContentLocationUpdate(std::forward<S3ContentLocationUpdateT>(value)); return *this;}
78 private:
79
80 Aws::String m_textContentUpdate;
81 bool m_textContentUpdateHasBeenSet = false;
82
83 Aws::Utils::ByteBuffer m_zipFileContentUpdate{};
84 bool m_zipFileContentUpdateHasBeenSet = false;
85
86 S3ContentLocationUpdate m_s3ContentLocationUpdate;
87 bool m_s3ContentLocationUpdateHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace KinesisAnalyticsV2
92} // 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