AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTextContent(const Aws::String& value) { m_textContentHasBeenSet = true; m_textContent = value; }
51 inline void SetTextContent(Aws::String&& value) { m_textContentHasBeenSet = true; m_textContent = std::move(value); }
52 inline void SetTextContent(const char* value) { m_textContentHasBeenSet = true; m_textContent.assign(value); }
53 inline CodeContent& WithTextContent(const Aws::String& value) { SetTextContent(value); return *this;}
54 inline CodeContent& WithTextContent(Aws::String&& value) { SetTextContent(std::move(value)); return *this;}
55 inline CodeContent& WithTextContent(const char* value) { SetTextContent(value); return *this;}
57
59
62 inline const Aws::Utils::ByteBuffer& GetZipFileContent() const{ return m_zipFileContent; }
63 inline bool ZipFileContentHasBeenSet() const { return m_zipFileContentHasBeenSet; }
64 inline void SetZipFileContent(const Aws::Utils::ByteBuffer& value) { m_zipFileContentHasBeenSet = true; m_zipFileContent = value; }
65 inline void SetZipFileContent(Aws::Utils::ByteBuffer&& value) { m_zipFileContentHasBeenSet = true; m_zipFileContent = std::move(value); }
66 inline CodeContent& WithZipFileContent(const Aws::Utils::ByteBuffer& value) { SetZipFileContent(value); return *this;}
67 inline CodeContent& WithZipFileContent(Aws::Utils::ByteBuffer&& value) { SetZipFileContent(std::move(value)); return *this;}
69
71
75 inline const S3ContentLocation& GetS3ContentLocation() const{ return m_s3ContentLocation; }
76 inline bool S3ContentLocationHasBeenSet() const { return m_s3ContentLocationHasBeenSet; }
77 inline void SetS3ContentLocation(const S3ContentLocation& value) { m_s3ContentLocationHasBeenSet = true; m_s3ContentLocation = value; }
78 inline void SetS3ContentLocation(S3ContentLocation&& value) { m_s3ContentLocationHasBeenSet = true; m_s3ContentLocation = std::move(value); }
79 inline CodeContent& WithS3ContentLocation(const S3ContentLocation& value) { SetS3ContentLocation(value); return *this;}
80 inline CodeContent& WithS3ContentLocation(S3ContentLocation&& value) { SetS3ContentLocation(std::move(value)); return *this;}
82 private:
83
84 Aws::String m_textContent;
85 bool m_textContentHasBeenSet = false;
86
87 Aws::Utils::ByteBuffer m_zipFileContent;
88 bool m_zipFileContentHasBeenSet = false;
89
90 S3ContentLocation m_s3ContentLocation;
91 bool m_s3ContentLocationHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace KinesisAnalyticsV2
96} // namespace Aws
AWS_KINESISANALYTICSV2_API CodeContent()
void SetS3ContentLocation(S3ContentLocation &&value)
Definition CodeContent.h:78
CodeContent & WithZipFileContent(Aws::Utils::ByteBuffer &&value)
Definition CodeContent.h:67
CodeContent & WithTextContent(const char *value)
Definition CodeContent.h:55
const Aws::Utils::ByteBuffer & GetZipFileContent() const
Definition CodeContent.h:62
CodeContent & WithTextContent(Aws::String &&value)
Definition CodeContent.h:54
CodeContent & WithTextContent(const Aws::String &value)
Definition CodeContent.h:53
void SetTextContent(const Aws::String &value)
Definition CodeContent.h:50
const Aws::String & GetTextContent() const
Definition CodeContent.h:48
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetS3ContentLocation(const S3ContentLocation &value)
Definition CodeContent.h:77
const S3ContentLocation & GetS3ContentLocation() const
Definition CodeContent.h:75
void SetTextContent(Aws::String &&value)
Definition CodeContent.h:51
void SetZipFileContent(const Aws::Utils::ByteBuffer &value)
Definition CodeContent.h:64
CodeContent & WithS3ContentLocation(const S3ContentLocation &value)
Definition CodeContent.h:79
void SetZipFileContent(Aws::Utils::ByteBuffer &&value)
Definition CodeContent.h:65
AWS_KINESISANALYTICSV2_API CodeContent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API CodeContent(Aws::Utils::Json::JsonView jsonValue)
CodeContent & WithS3ContentLocation(S3ContentLocation &&value)
Definition CodeContent.h:80
CodeContent & WithZipFileContent(const Aws::Utils::ByteBuffer &value)
Definition CodeContent.h:66
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue