AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FunctionConfig.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cloudfront/model/FunctionRuntime.h>
10#include <aws/cloudfront/model/KeyValueStoreAssociations.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFront
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CLOUDFRONT_API FunctionConfig();
37 AWS_CLOUDFRONT_API FunctionConfig(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFRONT_API FunctionConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
47 inline const Aws::String& GetComment() const{ return m_comment; }
48 inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; }
49 inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; }
50 inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); }
51 inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); }
52 inline FunctionConfig& WithComment(const Aws::String& value) { SetComment(value); return *this;}
53 inline FunctionConfig& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;}
54 inline FunctionConfig& WithComment(const char* value) { SetComment(value); return *this;}
56
58
61 inline const FunctionRuntime& GetRuntime() const{ return m_runtime; }
62 inline bool RuntimeHasBeenSet() const { return m_runtimeHasBeenSet; }
63 inline void SetRuntime(const FunctionRuntime& value) { m_runtimeHasBeenSet = true; m_runtime = value; }
64 inline void SetRuntime(FunctionRuntime&& value) { m_runtimeHasBeenSet = true; m_runtime = std::move(value); }
65 inline FunctionConfig& WithRuntime(const FunctionRuntime& value) { SetRuntime(value); return *this;}
66 inline FunctionConfig& WithRuntime(FunctionRuntime&& value) { SetRuntime(std::move(value)); return *this;}
68
70
73 inline const KeyValueStoreAssociations& GetKeyValueStoreAssociations() const{ return m_keyValueStoreAssociations; }
74 inline bool KeyValueStoreAssociationsHasBeenSet() const { return m_keyValueStoreAssociationsHasBeenSet; }
75 inline void SetKeyValueStoreAssociations(const KeyValueStoreAssociations& value) { m_keyValueStoreAssociationsHasBeenSet = true; m_keyValueStoreAssociations = value; }
76 inline void SetKeyValueStoreAssociations(KeyValueStoreAssociations&& value) { m_keyValueStoreAssociationsHasBeenSet = true; m_keyValueStoreAssociations = std::move(value); }
80 private:
81
82 Aws::String m_comment;
83 bool m_commentHasBeenSet = false;
84
85 FunctionRuntime m_runtime;
86 bool m_runtimeHasBeenSet = false;
87
88 KeyValueStoreAssociations m_keyValueStoreAssociations;
89 bool m_keyValueStoreAssociationsHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CloudFront
94} // namespace Aws
void SetKeyValueStoreAssociations(KeyValueStoreAssociations &&value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
FunctionConfig & WithComment(const Aws::String &value)
FunctionConfig & WithKeyValueStoreAssociations(KeyValueStoreAssociations &&value)
void SetComment(const Aws::String &value)
AWS_CLOUDFRONT_API FunctionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
FunctionConfig & WithComment(const char *value)
const KeyValueStoreAssociations & GetKeyValueStoreAssociations() const
const FunctionRuntime & GetRuntime() const
void SetKeyValueStoreAssociations(const KeyValueStoreAssociations &value)
FunctionConfig & WithRuntime(const FunctionRuntime &value)
void SetComment(Aws::String &&value)
AWS_CLOUDFRONT_API FunctionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FunctionConfig & WithKeyValueStoreAssociations(const KeyValueStoreAssociations &value)
void SetRuntime(FunctionRuntime &&value)
const Aws::String & GetComment() const
FunctionConfig & WithComment(Aws::String &&value)
FunctionConfig & WithRuntime(FunctionRuntime &&value)
void SetRuntime(const FunctionRuntime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String