AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFunctionDefinitionVersionResult.h
1
6#pragma once
7#include <aws/greengrass/Greengrass_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Greengrass
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetArn() const{ return m_arn; }
40 inline void SetArn(const Aws::String& value) { m_arn = value; }
41 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
42 inline void SetArn(const char* value) { m_arn.assign(value); }
43 inline CreateFunctionDefinitionVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
44 inline CreateFunctionDefinitionVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
45 inline CreateFunctionDefinitionVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
47
49
52 inline const Aws::String& GetCreationTimestamp() const{ return m_creationTimestamp; }
53 inline void SetCreationTimestamp(const Aws::String& value) { m_creationTimestamp = value; }
54 inline void SetCreationTimestamp(Aws::String&& value) { m_creationTimestamp = std::move(value); }
55 inline void SetCreationTimestamp(const char* value) { m_creationTimestamp.assign(value); }
58 inline CreateFunctionDefinitionVersionResult& WithCreationTimestamp(const char* value) { SetCreationTimestamp(value); return *this;}
60
62
65 inline const Aws::String& GetId() const{ return m_id; }
66 inline void SetId(const Aws::String& value) { m_id = value; }
67 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
68 inline void SetId(const char* value) { m_id.assign(value); }
69 inline CreateFunctionDefinitionVersionResult& WithId(const Aws::String& value) { SetId(value); return *this;}
70 inline CreateFunctionDefinitionVersionResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
71 inline CreateFunctionDefinitionVersionResult& WithId(const char* value) { SetId(value); return *this;}
73
75
78 inline const Aws::String& GetVersion() const{ return m_version; }
79 inline void SetVersion(const Aws::String& value) { m_version = value; }
80 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
81 inline void SetVersion(const char* value) { m_version.assign(value); }
82 inline CreateFunctionDefinitionVersionResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
83 inline CreateFunctionDefinitionVersionResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
84 inline CreateFunctionDefinitionVersionResult& WithVersion(const char* value) { SetVersion(value); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const{ return m_requestId; }
90 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
91 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
92 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
93 inline CreateFunctionDefinitionVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
94 inline CreateFunctionDefinitionVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
95 inline CreateFunctionDefinitionVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
97 private:
98
99 Aws::String m_arn;
100
101 Aws::String m_creationTimestamp;
102
103 Aws::String m_id;
104
105 Aws::String m_version;
106
107 Aws::String m_requestId;
108 };
109
110} // namespace Model
111} // namespace Greengrass
112} // namespace Aws
CreateFunctionDefinitionVersionResult & WithCreationTimestamp(const char *value)
CreateFunctionDefinitionVersionResult & WithRequestId(const Aws::String &value)
CreateFunctionDefinitionVersionResult & WithArn(Aws::String &&value)
CreateFunctionDefinitionVersionResult & WithVersion(Aws::String &&value)
AWS_GREENGRASS_API CreateFunctionDefinitionVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFunctionDefinitionVersionResult & WithVersion(const char *value)
AWS_GREENGRASS_API CreateFunctionDefinitionVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFunctionDefinitionVersionResult & WithId(Aws::String &&value)
CreateFunctionDefinitionVersionResult & WithVersion(const Aws::String &value)
CreateFunctionDefinitionVersionResult & WithRequestId(Aws::String &&value)
CreateFunctionDefinitionVersionResult & WithArn(const char *value)
CreateFunctionDefinitionVersionResult & WithId(const char *value)
CreateFunctionDefinitionVersionResult & WithRequestId(const char *value)
CreateFunctionDefinitionVersionResult & WithCreationTimestamp(Aws::String &&value)
CreateFunctionDefinitionVersionResult & WithCreationTimestamp(const Aws::String &value)
CreateFunctionDefinitionVersionResult & WithId(const Aws::String &value)
CreateFunctionDefinitionVersionResult & WithArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue