AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FunctionMetadata.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/FunctionStage.h>
10#include <aws/core/utils/DateTime.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
33 {
34 public:
35 AWS_CLOUDFRONT_API FunctionMetadata();
36 AWS_CLOUDFRONT_API FunctionMetadata(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_CLOUDFRONT_API FunctionMetadata& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
47 inline const Aws::String& GetFunctionARN() const{ return m_functionARN; }
48 inline bool FunctionARNHasBeenSet() const { return m_functionARNHasBeenSet; }
49 inline void SetFunctionARN(const Aws::String& value) { m_functionARNHasBeenSet = true; m_functionARN = value; }
50 inline void SetFunctionARN(Aws::String&& value) { m_functionARNHasBeenSet = true; m_functionARN = std::move(value); }
51 inline void SetFunctionARN(const char* value) { m_functionARNHasBeenSet = true; m_functionARN.assign(value); }
52 inline FunctionMetadata& WithFunctionARN(const Aws::String& value) { SetFunctionARN(value); return *this;}
53 inline FunctionMetadata& WithFunctionARN(Aws::String&& value) { SetFunctionARN(std::move(value)); return *this;}
54 inline FunctionMetadata& WithFunctionARN(const char* value) { SetFunctionARN(value); return *this;}
56
58
66 inline const FunctionStage& GetStage() const{ return m_stage; }
67 inline bool StageHasBeenSet() const { return m_stageHasBeenSet; }
68 inline void SetStage(const FunctionStage& value) { m_stageHasBeenSet = true; m_stage = value; }
69 inline void SetStage(FunctionStage&& value) { m_stageHasBeenSet = true; m_stage = std::move(value); }
70 inline FunctionMetadata& WithStage(const FunctionStage& value) { SetStage(value); return *this;}
71 inline FunctionMetadata& WithStage(FunctionStage&& value) { SetStage(std::move(value)); return *this;}
73
75
78 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
79 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
80 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
81 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
82 inline FunctionMetadata& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
83 inline FunctionMetadata& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
85
87
90 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
91 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
92 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
93 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
95 inline FunctionMetadata& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_functionARN;
100 bool m_functionARNHasBeenSet = false;
101
102 FunctionStage m_stage;
103 bool m_stageHasBeenSet = false;
104
105 Aws::Utils::DateTime m_createdTime;
106 bool m_createdTimeHasBeenSet = false;
107
108 Aws::Utils::DateTime m_lastModifiedTime;
109 bool m_lastModifiedTimeHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace CloudFront
114} // namespace Aws
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetCreatedTime(const Aws::Utils::DateTime &value)
void SetFunctionARN(const Aws::String &value)
FunctionMetadata & WithStage(FunctionStage &&value)
void SetCreatedTime(Aws::Utils::DateTime &&value)
FunctionMetadata & WithFunctionARN(Aws::String &&value)
void SetLastModifiedTime(Aws::Utils::DateTime &&value)
const FunctionStage & GetStage() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
FunctionMetadata & WithCreatedTime(const Aws::Utils::DateTime &value)
FunctionMetadata & WithStage(const FunctionStage &value)
const Aws::Utils::DateTime & GetCreatedTime() const
void SetStage(const FunctionStage &value)
AWS_CLOUDFRONT_API FunctionMetadata & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetFunctionARN() const
FunctionMetadata & WithLastModifiedTime(Aws::Utils::DateTime &&value)
FunctionMetadata & WithFunctionARN(const Aws::String &value)
FunctionMetadata & WithLastModifiedTime(const Aws::Utils::DateTime &value)
FunctionMetadata & WithCreatedTime(Aws::Utils::DateTime &&value)
FunctionMetadata & WithFunctionARN(const char *value)
AWS_CLOUDFRONT_API FunctionMetadata(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String