AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FunctionSummary.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/FunctionConfig.h>
10#include <aws/cloudfront/model/FunctionMetadata.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 FunctionSummary();
37 AWS_CLOUDFRONT_API FunctionSummary(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_CLOUDFRONT_API FunctionSummary& 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& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline FunctionSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline FunctionSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline FunctionSummary& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetStatus() const{ return m_status; }
62 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
63 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
64 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
65 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
66 inline FunctionSummary& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
67 inline FunctionSummary& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
68 inline FunctionSummary& WithStatus(const char* value) { SetStatus(value); return *this;}
70
72
75 inline const FunctionConfig& GetFunctionConfig() const{ return m_functionConfig; }
76 inline bool FunctionConfigHasBeenSet() const { return m_functionConfigHasBeenSet; }
77 inline void SetFunctionConfig(const FunctionConfig& value) { m_functionConfigHasBeenSet = true; m_functionConfig = value; }
78 inline void SetFunctionConfig(FunctionConfig&& value) { m_functionConfigHasBeenSet = true; m_functionConfig = std::move(value); }
79 inline FunctionSummary& WithFunctionConfig(const FunctionConfig& value) { SetFunctionConfig(value); return *this;}
80 inline FunctionSummary& WithFunctionConfig(FunctionConfig&& value) { SetFunctionConfig(std::move(value)); return *this;}
82
84
87 inline const FunctionMetadata& GetFunctionMetadata() const{ return m_functionMetadata; }
88 inline bool FunctionMetadataHasBeenSet() const { return m_functionMetadataHasBeenSet; }
89 inline void SetFunctionMetadata(const FunctionMetadata& value) { m_functionMetadataHasBeenSet = true; m_functionMetadata = value; }
90 inline void SetFunctionMetadata(FunctionMetadata&& value) { m_functionMetadataHasBeenSet = true; m_functionMetadata = std::move(value); }
91 inline FunctionSummary& WithFunctionMetadata(const FunctionMetadata& value) { SetFunctionMetadata(value); return *this;}
92 inline FunctionSummary& WithFunctionMetadata(FunctionMetadata&& value) { SetFunctionMetadata(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_name;
97 bool m_nameHasBeenSet = false;
98
99 Aws::String m_status;
100 bool m_statusHasBeenSet = false;
101
102 FunctionConfig m_functionConfig;
103 bool m_functionConfigHasBeenSet = false;
104
105 FunctionMetadata m_functionMetadata;
106 bool m_functionMetadataHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CloudFront
111} // namespace Aws
void SetFunctionConfig(const FunctionConfig &value)
FunctionSummary & WithFunctionMetadata(const FunctionMetadata &value)
FunctionSummary & WithStatus(Aws::String &&value)
void SetStatus(const Aws::String &value)
AWS_CLOUDFRONT_API FunctionSummary(const Aws::Utils::Xml::XmlNode &xmlNode)
FunctionSummary & WithName(const char *value)
const FunctionMetadata & GetFunctionMetadata() const
const FunctionConfig & GetFunctionConfig() const
void SetFunctionMetadata(const FunctionMetadata &value)
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
FunctionSummary & WithFunctionConfig(const FunctionConfig &value)
FunctionSummary & WithName(const Aws::String &value)
FunctionSummary & WithStatus(const Aws::String &value)
AWS_CLOUDFRONT_API FunctionSummary & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetFunctionConfig(FunctionConfig &&value)
FunctionSummary & WithStatus(const char *value)
void SetName(const Aws::String &value)
const Aws::String & GetStatus() const
FunctionSummary & WithFunctionConfig(FunctionConfig &&value)
void SetFunctionMetadata(FunctionMetadata &&value)
FunctionSummary & WithFunctionMetadata(FunctionMetadata &&value)
FunctionSummary & WithName(Aws::String &&value)
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String