AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#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 ApplicationCodeConfiguration() = default;
37 AWS_KINESISANALYTICSV2_API ApplicationCodeConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const CodeContent& GetCodeContent() const { return m_codeContent; }
47 inline bool CodeContentHasBeenSet() const { return m_codeContentHasBeenSet; }
48 template<typename CodeContentT = CodeContent>
49 void SetCodeContent(CodeContentT&& value) { m_codeContentHasBeenSet = true; m_codeContent = std::forward<CodeContentT>(value); }
50 template<typename CodeContentT = CodeContent>
51 ApplicationCodeConfiguration& WithCodeContent(CodeContentT&& value) { SetCodeContent(std::forward<CodeContentT>(value)); return *this;}
53
55
58 inline CodeContentType GetCodeContentType() const { return m_codeContentType; }
59 inline bool CodeContentTypeHasBeenSet() const { return m_codeContentTypeHasBeenSet; }
60 inline void SetCodeContentType(CodeContentType value) { m_codeContentTypeHasBeenSet = true; m_codeContentType = value; }
63 private:
64
65 CodeContent m_codeContent;
66 bool m_codeContentHasBeenSet = false;
67
69 bool m_codeContentTypeHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace KinesisAnalyticsV2
74} // 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