AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CodeContentDescription.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/kinesisanalyticsv2/model/S3ApplicationCodeLocationDescription.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace KinesisAnalyticsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_KINESISANALYTICSV2_API CodeContentDescription();
37 AWS_KINESISANALYTICSV2_API CodeContentDescription(Aws::Utils::Json::JsonView jsonValue);
38 AWS_KINESISANALYTICSV2_API CodeContentDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetTextContent() const{ return m_textContent; }
47 inline bool TextContentHasBeenSet() const { return m_textContentHasBeenSet; }
48 inline void SetTextContent(const Aws::String& value) { m_textContentHasBeenSet = true; m_textContent = value; }
49 inline void SetTextContent(Aws::String&& value) { m_textContentHasBeenSet = true; m_textContent = std::move(value); }
50 inline void SetTextContent(const char* value) { m_textContentHasBeenSet = true; m_textContent.assign(value); }
51 inline CodeContentDescription& WithTextContent(const Aws::String& value) { SetTextContent(value); return *this;}
52 inline CodeContentDescription& WithTextContent(Aws::String&& value) { SetTextContent(std::move(value)); return *this;}
53 inline CodeContentDescription& WithTextContent(const char* value) { SetTextContent(value); return *this;}
55
57
60 inline const Aws::String& GetCodeMD5() const{ return m_codeMD5; }
61 inline bool CodeMD5HasBeenSet() const { return m_codeMD5HasBeenSet; }
62 inline void SetCodeMD5(const Aws::String& value) { m_codeMD5HasBeenSet = true; m_codeMD5 = value; }
63 inline void SetCodeMD5(Aws::String&& value) { m_codeMD5HasBeenSet = true; m_codeMD5 = std::move(value); }
64 inline void SetCodeMD5(const char* value) { m_codeMD5HasBeenSet = true; m_codeMD5.assign(value); }
65 inline CodeContentDescription& WithCodeMD5(const Aws::String& value) { SetCodeMD5(value); return *this;}
66 inline CodeContentDescription& WithCodeMD5(Aws::String&& value) { SetCodeMD5(std::move(value)); return *this;}
67 inline CodeContentDescription& WithCodeMD5(const char* value) { SetCodeMD5(value); return *this;}
69
71
75 inline long long GetCodeSize() const{ return m_codeSize; }
76 inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; }
77 inline void SetCodeSize(long long value) { m_codeSizeHasBeenSet = true; m_codeSize = value; }
78 inline CodeContentDescription& WithCodeSize(long long value) { SetCodeSize(value); return *this;}
80
82
86 inline const S3ApplicationCodeLocationDescription& GetS3ApplicationCodeLocationDescription() const{ return m_s3ApplicationCodeLocationDescription; }
87 inline bool S3ApplicationCodeLocationDescriptionHasBeenSet() const { return m_s3ApplicationCodeLocationDescriptionHasBeenSet; }
88 inline void SetS3ApplicationCodeLocationDescription(const S3ApplicationCodeLocationDescription& value) { m_s3ApplicationCodeLocationDescriptionHasBeenSet = true; m_s3ApplicationCodeLocationDescription = value; }
89 inline void SetS3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescription&& value) { m_s3ApplicationCodeLocationDescriptionHasBeenSet = true; m_s3ApplicationCodeLocationDescription = std::move(value); }
93 private:
94
95 Aws::String m_textContent;
96 bool m_textContentHasBeenSet = false;
97
98 Aws::String m_codeMD5;
99 bool m_codeMD5HasBeenSet = false;
100
101 long long m_codeSize;
102 bool m_codeSizeHasBeenSet = false;
103
104 S3ApplicationCodeLocationDescription m_s3ApplicationCodeLocationDescription;
105 bool m_s3ApplicationCodeLocationDescriptionHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace KinesisAnalyticsV2
110} // namespace Aws
CodeContentDescription & WithS3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescription &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
const S3ApplicationCodeLocationDescription & GetS3ApplicationCodeLocationDescription() const
CodeContentDescription & WithCodeSize(long long value)
CodeContentDescription & WithCodeMD5(const Aws::String &value)
void SetS3ApplicationCodeLocationDescription(S3ApplicationCodeLocationDescription &&value)
AWS_KINESISANALYTICSV2_API CodeContentDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
CodeContentDescription & WithTextContent(const Aws::String &value)
CodeContentDescription & WithTextContent(const char *value)
CodeContentDescription & WithTextContent(Aws::String &&value)
CodeContentDescription & WithS3ApplicationCodeLocationDescription(const S3ApplicationCodeLocationDescription &value)
AWS_KINESISANALYTICSV2_API CodeContentDescription(Aws::Utils::Json::JsonView jsonValue)
CodeContentDescription & WithCodeMD5(Aws::String &&value)
CodeContentDescription & WithCodeMD5(const char *value)
void SetS3ApplicationCodeLocationDescription(const S3ApplicationCodeLocationDescription &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue