AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ApplicationCodeConfiguration.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/model/CodeContent.h>
9#include <aws/kinesisanalyticsv2/model/CodeContentType.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 ApplicationCodeConfiguration() = default;
32 AWS_KINESISANALYTICSV2_API ApplicationCodeConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const CodeContent& GetCodeContent() const { return m_codeContent; }
41 inline bool CodeContentHasBeenSet() const { return m_codeContentHasBeenSet; }
42 template <typename CodeContentT = CodeContent>
43 void SetCodeContent(CodeContentT&& value) {
44 m_codeContentHasBeenSet = true;
45 m_codeContent = std::forward<CodeContentT>(value);
46 }
47 template <typename CodeContentT = CodeContent>
49 SetCodeContent(std::forward<CodeContentT>(value));
50 return *this;
51 }
53
55
58 inline CodeContentType GetCodeContentType() const { return m_codeContentType; }
59 inline bool CodeContentTypeHasBeenSet() const { return m_codeContentTypeHasBeenSet; }
61 m_codeContentTypeHasBeenSet = true;
62 m_codeContentType = value;
63 }
65 SetCodeContentType(value);
66 return *this;
67 }
69 private:
70 CodeContent m_codeContent;
71
73 bool m_codeContentHasBeenSet = false;
74 bool m_codeContentTypeHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace KinesisAnalyticsV2
79} // namespace Aws
AWS_KINESISANALYTICSV2_API ApplicationCodeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_KINESISANALYTICSV2_API ApplicationCodeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationCodeConfiguration & WithCodeContentType(CodeContentType value)
ApplicationCodeConfiguration & WithCodeContent(CodeContentT &&value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KINESISANALYTICSV2_API ApplicationCodeConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue