AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
ApplicationCodeConfigurationUpdate.h
1
6#pragma once
7#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
8#include <aws/kinesisanalyticsv2/model/CodeContentType.h>
9#include <aws/kinesisanalyticsv2/model/CodeContentUpdate.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
31 public:
32 AWS_KINESISANALYTICSV2_API ApplicationCodeConfigurationUpdate() = default;
35 AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline CodeContentType GetCodeContentTypeUpdate() const { return m_codeContentTypeUpdate; }
42 inline bool CodeContentTypeUpdateHasBeenSet() const { return m_codeContentTypeUpdateHasBeenSet; }
44 m_codeContentTypeUpdateHasBeenSet = true;
45 m_codeContentTypeUpdate = value;
46 }
49 return *this;
50 }
52
54
57 inline const CodeContentUpdate& GetCodeContentUpdate() const { return m_codeContentUpdate; }
58 inline bool CodeContentUpdateHasBeenSet() const { return m_codeContentUpdateHasBeenSet; }
59 template <typename CodeContentUpdateT = CodeContentUpdate>
60 void SetCodeContentUpdate(CodeContentUpdateT&& value) {
61 m_codeContentUpdateHasBeenSet = true;
62 m_codeContentUpdate = std::forward<CodeContentUpdateT>(value);
63 }
64 template <typename CodeContentUpdateT = CodeContentUpdate>
66 SetCodeContentUpdate(std::forward<CodeContentUpdateT>(value));
67 return *this;
68 }
70 private:
71 CodeContentType m_codeContentTypeUpdate{CodeContentType::NOT_SET};
72
73 CodeContentUpdate m_codeContentUpdate;
74 bool m_codeContentTypeUpdateHasBeenSet = false;
75 bool m_codeContentUpdateHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace KinesisAnalyticsV2
80} // namespace Aws
AWS_KINESISANALYTICSV2_API ApplicationCodeConfigurationUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationCodeConfigurationUpdate & WithCodeContentTypeUpdate(CodeContentType value)
AWS_KINESISANALYTICSV2_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationCodeConfigurationUpdate & WithCodeContentUpdate(CodeContentUpdateT &&value)
AWS_KINESISANALYTICSV2_API ApplicationCodeConfigurationUpdate()=default
AWS_KINESISANALYTICSV2_API ApplicationCodeConfigurationUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue