AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LambdaDetails.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/guardduty/model/VpcConfig.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/guardduty/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace GuardDuty
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_GUARDDUTY_API LambdaDetails();
40 AWS_GUARDDUTY_API LambdaDetails(Aws::Utils::Json::JsonView jsonValue);
41 AWS_GUARDDUTY_API LambdaDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
50 inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
51 inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
52 inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
53 inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
54 inline LambdaDetails& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
55 inline LambdaDetails& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
56 inline LambdaDetails& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
58
60
63 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
64 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
65 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
66 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
67 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
68 inline LambdaDetails& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
69 inline LambdaDetails& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
70 inline LambdaDetails& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
72
74
77 inline const Aws::String& GetDescription() const{ return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
80 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
81 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
82 inline LambdaDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
83 inline LambdaDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
84 inline LambdaDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
86
88
92 inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; }
93 inline bool LastModifiedAtHasBeenSet() const { return m_lastModifiedAtHasBeenSet; }
94 inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = value; }
95 inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAtHasBeenSet = true; m_lastModifiedAt = std::move(value); }
96 inline LambdaDetails& WithLastModifiedAt(const Aws::Utils::DateTime& value) { SetLastModifiedAt(value); return *this;}
97 inline LambdaDetails& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;}
99
101
104 inline const Aws::String& GetRevisionId() const{ return m_revisionId; }
105 inline bool RevisionIdHasBeenSet() const { return m_revisionIdHasBeenSet; }
106 inline void SetRevisionId(const Aws::String& value) { m_revisionIdHasBeenSet = true; m_revisionId = value; }
107 inline void SetRevisionId(Aws::String&& value) { m_revisionIdHasBeenSet = true; m_revisionId = std::move(value); }
108 inline void SetRevisionId(const char* value) { m_revisionIdHasBeenSet = true; m_revisionId.assign(value); }
109 inline LambdaDetails& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;}
110 inline LambdaDetails& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;}
111 inline LambdaDetails& WithRevisionId(const char* value) { SetRevisionId(value); return *this;}
113
115
118 inline const Aws::String& GetFunctionVersion() const{ return m_functionVersion; }
119 inline bool FunctionVersionHasBeenSet() const { return m_functionVersionHasBeenSet; }
120 inline void SetFunctionVersion(const Aws::String& value) { m_functionVersionHasBeenSet = true; m_functionVersion = value; }
121 inline void SetFunctionVersion(Aws::String&& value) { m_functionVersionHasBeenSet = true; m_functionVersion = std::move(value); }
122 inline void SetFunctionVersion(const char* value) { m_functionVersionHasBeenSet = true; m_functionVersion.assign(value); }
123 inline LambdaDetails& WithFunctionVersion(const Aws::String& value) { SetFunctionVersion(value); return *this;}
124 inline LambdaDetails& WithFunctionVersion(Aws::String&& value) { SetFunctionVersion(std::move(value)); return *this;}
125 inline LambdaDetails& WithFunctionVersion(const char* value) { SetFunctionVersion(value); return *this;}
127
129
132 inline const Aws::String& GetRole() const{ return m_role; }
133 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
134 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
135 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
136 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
137 inline LambdaDetails& WithRole(const Aws::String& value) { SetRole(value); return *this;}
138 inline LambdaDetails& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
139 inline LambdaDetails& WithRole(const char* value) { SetRole(value); return *this;}
141
143
147 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
148 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
149 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
150 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
151 inline LambdaDetails& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
152 inline LambdaDetails& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
154
156
160 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
161 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
162 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
163 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
164 inline LambdaDetails& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
165 inline LambdaDetails& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
166 inline LambdaDetails& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
167 inline LambdaDetails& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
169 private:
170
171 Aws::String m_functionArn;
172 bool m_functionArnHasBeenSet = false;
173
174 Aws::String m_functionName;
175 bool m_functionNameHasBeenSet = false;
176
177 Aws::String m_description;
178 bool m_descriptionHasBeenSet = false;
179
180 Aws::Utils::DateTime m_lastModifiedAt;
181 bool m_lastModifiedAtHasBeenSet = false;
182
183 Aws::String m_revisionId;
184 bool m_revisionIdHasBeenSet = false;
185
186 Aws::String m_functionVersion;
187 bool m_functionVersionHasBeenSet = false;
188
189 Aws::String m_role;
190 bool m_roleHasBeenSet = false;
191
192 VpcConfig m_vpcConfig;
193 bool m_vpcConfigHasBeenSet = false;
194
195 Aws::Vector<Tag> m_tags;
196 bool m_tagsHasBeenSet = false;
197 };
198
199} // namespace Model
200} // namespace GuardDuty
201} // namespace Aws
LambdaDetails & WithVpcConfig(const VpcConfig &value)
void SetLastModifiedAt(Aws::Utils::DateTime &&value)
LambdaDetails & WithRole(const Aws::String &value)
LambdaDetails & WithLastModifiedAt(Aws::Utils::DateTime &&value)
void SetFunctionVersion(const char *value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
LambdaDetails & WithFunctionArn(const char *value)
LambdaDetails & WithDescription(Aws::String &&value)
LambdaDetails & AddTags(const Tag &value)
void SetFunctionVersion(Aws::String &&value)
AWS_GUARDDUTY_API LambdaDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRole(const Aws::String &value)
const Aws::String & GetFunctionArn() const
void SetFunctionArn(const char *value)
LambdaDetails & WithFunctionArn(const Aws::String &value)
LambdaDetails & WithRole(const char *value)
LambdaDetails & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetRevisionId() const
LambdaDetails & WithRevisionId(Aws::String &&value)
LambdaDetails & WithFunctionArn(Aws::String &&value)
void SetVpcConfig(const VpcConfig &value)
const Aws::String & GetDescription() const
LambdaDetails & WithRevisionId(const Aws::String &value)
LambdaDetails & WithDescription(const char *value)
const Aws::Vector< Tag > & GetTags() const
LambdaDetails & WithRevisionId(const char *value)
void SetFunctionName(Aws::String &&value)
const Aws::String & GetRole() const
const Aws::String & GetFunctionVersion() const
LambdaDetails & WithVpcConfig(VpcConfig &&value)
void SetRevisionId(Aws::String &&value)
const Aws::String & GetFunctionName() const
void SetFunctionArn(Aws::String &&value)
void SetDescription(const char *value)
void SetFunctionArn(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Utils::DateTime & GetLastModifiedAt() const
LambdaDetails & WithFunctionName(const Aws::String &value)
LambdaDetails & WithTags(Aws::Vector< Tag > &&value)
void SetFunctionName(const char *value)
LambdaDetails & WithFunctionVersion(const Aws::String &value)
void SetTags(const Aws::Vector< Tag > &value)
LambdaDetails & WithFunctionName(Aws::String &&value)
LambdaDetails & WithLastModifiedAt(const Aws::Utils::DateTime &value)
void SetFunctionName(const Aws::String &value)
void SetLastModifiedAt(const Aws::Utils::DateTime &value)
void SetRole(Aws::String &&value)
LambdaDetails & WithFunctionVersion(Aws::String &&value)
void SetRevisionId(const char *value)
LambdaDetails & WithDescription(const Aws::String &value)
LambdaDetails & AddTags(Tag &&value)
void SetFunctionVersion(const Aws::String &value)
LambdaDetails & WithRole(Aws::String &&value)
LambdaDetails & WithFunctionName(const char *value)
AWS_GUARDDUTY_API LambdaDetails(Aws::Utils::Json::JsonView jsonValue)
const VpcConfig & GetVpcConfig() const
LambdaDetails & WithFunctionVersion(const char *value)
void SetRevisionId(const Aws::String &value)
void SetDescription(Aws::String &&value)
void SetVpcConfig(VpcConfig &&value)
void SetDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue