AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CodeContentDescription.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
9#include <aws/kinesisanalyticsv2/model/S3ApplicationCodeLocationDescription.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace KinesisAnalyticsV2 {
21namespace Model {
22
30 public:
31 AWS_KINESISANALYTICSV2_API CodeContentDescription() = default;
32 AWS_KINESISANALYTICSV2_API CodeContentDescription(Aws::Utils::Json::JsonView jsonValue);
33 AWS_KINESISANALYTICSV2_API CodeContentDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetTextContent() const { return m_textContent; }
41 inline bool TextContentHasBeenSet() const { return m_textContentHasBeenSet; }
42 template <typename TextContentT = Aws::String>
43 void SetTextContent(TextContentT&& value) {
44 m_textContentHasBeenSet = true;
45 m_textContent = std::forward<TextContentT>(value);
46 }
47 template <typename TextContentT = Aws::String>
48 CodeContentDescription& WithTextContent(TextContentT&& value) {
49 SetTextContent(std::forward<TextContentT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetCodeMD5() const { return m_codeMD5; }
59 inline bool CodeMD5HasBeenSet() const { return m_codeMD5HasBeenSet; }
60 template <typename CodeMD5T = Aws::String>
61 void SetCodeMD5(CodeMD5T&& value) {
62 m_codeMD5HasBeenSet = true;
63 m_codeMD5 = std::forward<CodeMD5T>(value);
64 }
65 template <typename CodeMD5T = Aws::String>
67 SetCodeMD5(std::forward<CodeMD5T>(value));
68 return *this;
69 }
71
73
77 inline long long GetCodeSize() const { return m_codeSize; }
78 inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
79 inline void SetCodeSize(long long value) {
80 m_codeSizeHasBeenSet = true;
81 m_codeSize = value;
82 }
83 inline CodeContentDescription& WithCodeSize(long long value) {
84 SetCodeSize(value);
85 return *this;
86 }
88
90
95 return m_s3ApplicationCodeLocationDescription;
96 }
97 inline bool S3ApplicationCodeLocationDescriptionHasBeenSet() const { return m_s3ApplicationCodeLocationDescriptionHasBeenSet; }
98 template <typename S3ApplicationCodeLocationDescriptionT = S3ApplicationCodeLocationDescription>
99 void SetS3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescriptionT&& value) {
100 m_s3ApplicationCodeLocationDescriptionHasBeenSet = true;
101 m_s3ApplicationCodeLocationDescription = std::forward<S3ApplicationCodeLocationDescriptionT>(value);
102 }
103 template <typename S3ApplicationCodeLocationDescriptionT = S3ApplicationCodeLocationDescription>
104 CodeContentDescription& WithS3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescriptionT&& value) {
105 SetS3ApplicationCodeLocationDescription(std::forward<S3ApplicationCodeLocationDescriptionT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_textContent;
111
112 Aws::String m_codeMD5;
113
114 long long m_codeSize{0};
115
116 S3ApplicationCodeLocationDescription m_s3ApplicationCodeLocationDescription;
117 bool m_textContentHasBeenSet = false;
118 bool m_codeMD5HasBeenSet = false;
119 bool m_codeSizeHasBeenSet = false;
120 bool m_s3ApplicationCodeLocationDescriptionHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace KinesisAnalyticsV2
125} // namespace Aws
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
CodeContentDescription & WithCodeMD5(CodeMD5T &&value)
CodeContentDescription & WithTextContent(TextContentT &&value)
CodeContentDescription & WithS3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescriptionT &&value)
const S3ApplicationCodeLocationDescription & GetS3ApplicationCodeLocationDescription() const
CodeContentDescription & WithCodeSize(long long value)
AWS_KINESISANALYTICSV2_API CodeContentDescription()=default
AWS_KINESISANALYTICSV2_API CodeContentDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetS3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescriptionT &&value)
AWS_KINESISANALYTICSV2_API CodeContentDescription(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue