AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CodeContent.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/S3ContentLocation.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
36 {
37 public:
38 AWS_KINESISANALYTICSV2_API CodeContent() = default;
39 AWS_KINESISANALYTICSV2_API CodeContent(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KINESISANALYTICSV2_API CodeContent& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetTextContent() const { return m_textContent; }
49 inline bool TextContentHasBeenSet() const { return m_textContentHasBeenSet; }
50 template<typename TextContentT = Aws::String>
51 void SetTextContent(TextContentT&& value) { m_textContentHasBeenSet = true; m_textContent = std::forward<TextContentT>(value); }
52 template<typename TextContentT = Aws::String>
53 CodeContent& WithTextContent(TextContentT&& value) { SetTextContent(std::forward<TextContentT>(value)); return *this;}
55
57
60 inline const Aws::Utils::ByteBuffer& GetZipFileContent() const { return m_zipFileContent; }
61 inline bool ZipFileContentHasBeenSet() const { return m_zipFileContentHasBeenSet; }
62 template<typename ZipFileContentT = Aws::Utils::ByteBuffer>
63 void SetZipFileContent(ZipFileContentT&& value) { m_zipFileContentHasBeenSet = true; m_zipFileContent = std::forward<ZipFileContentT>(value); }
64 template<typename ZipFileContentT = Aws::Utils::ByteBuffer>
65 CodeContent& WithZipFileContent(ZipFileContentT&& value) { SetZipFileContent(std::forward<ZipFileContentT>(value)); return *this;}
67
69
73 inline const S3ContentLocation& GetS3ContentLocation() const { return m_s3ContentLocation; }
74 inline bool S3ContentLocationHasBeenSet() const { return m_s3ContentLocationHasBeenSet; }
75 template<typename S3ContentLocationT = S3ContentLocation>
76 void SetS3ContentLocation(S3ContentLocationT&& value) { m_s3ContentLocationHasBeenSet = true; m_s3ContentLocation = std::forward<S3ContentLocationT>(value); }
77 template<typename S3ContentLocationT = S3ContentLocation>
78 CodeContent& WithS3ContentLocation(S3ContentLocationT&& value) { SetS3ContentLocation(std::forward<S3ContentLocationT>(value)); return *this;}
80 private:
81
82 Aws::String m_textContent;
83 bool m_textContentHasBeenSet = false;
84
85 Aws::Utils::ByteBuffer m_zipFileContent{};
86 bool m_zipFileContentHasBeenSet = false;
87
88 S3ContentLocation m_s3ContentLocation;
89 bool m_s3ContentLocationHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace KinesisAnalyticsV2
94} // namespace Aws
CodeContent & WithTextContent(TextContentT &&value)
Definition CodeContent.h:53
const Aws::Utils::ByteBuffer & GetZipFileContent() const
Definition CodeContent.h:60
const Aws::String & GetTextContent() const
Definition CodeContent.h:48
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTextContent(TextContentT &&value)
Definition CodeContent.h:51
const S3ContentLocation & GetS3ContentLocation() const
Definition CodeContent.h:73
void SetZipFileContent(ZipFileContentT &&value)
Definition CodeContent.h:63
CodeContent & WithZipFileContent(ZipFileContentT &&value)
Definition CodeContent.h:65
AWS_KINESISANALYTICSV2_API CodeContent()=default
AWS_KINESISANALYTICSV2_API CodeContent & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeContent & WithS3ContentLocation(S3ContentLocationT &&value)
Definition CodeContent.h:78
AWS_KINESISANALYTICSV2_API CodeContent(Aws::Utils::Json::JsonView jsonValue)
void SetS3ContentLocation(S3ContentLocationT &&value)
Definition CodeContent.h:76
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue