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>
51 template<
typename FunctionArnT = Aws::String>
52 void SetFunctionArn(FunctionArnT&& value) { m_functionArnHasBeenSet =
true; m_functionArn = std::forward<FunctionArnT>(value); }
53 template<
typename FunctionArnT = Aws::String>
63 template<
typename FunctionNameT = Aws::String>
64 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet =
true; m_functionName = std::forward<FunctionNameT>(value); }
65 template<
typename FunctionNameT = Aws::String>
75 template<
typename DescriptionT = Aws::String>
76 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
77 template<
typename DescriptionT = Aws::String>
88 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
89 void SetLastModifiedAt(LastModifiedAtT&& value) { m_lastModifiedAtHasBeenSet =
true; m_lastModifiedAt = std::forward<LastModifiedAtT>(value); }
90 template<
typename LastModifiedAtT = Aws::Utils::DateTime>
100 template<
typename RevisionIdT = Aws::String>
101 void SetRevisionId(RevisionIdT&& value) { m_revisionIdHasBeenSet =
true; m_revisionId = std::forward<RevisionIdT>(value); }
102 template<
typename RevisionIdT = Aws::String>
112 template<
typename FunctionVersionT = Aws::String>
113 void SetFunctionVersion(FunctionVersionT&& value) { m_functionVersionHasBeenSet =
true; m_functionVersion = std::forward<FunctionVersionT>(value); }
114 template<
typename FunctionVersionT = Aws::String>
124 template<
typename RoleT = Aws::String>
125 void SetRole(RoleT&& value) { m_roleHasBeenSet =
true; m_role = std::forward<RoleT>(value); }
126 template<
typename RoleT = Aws::String>
137 template<
typename VpcConfigT = VpcConfig>
138 void SetVpcConfig(VpcConfigT&& value) { m_vpcConfigHasBeenSet =
true; m_vpcConfig = std::forward<VpcConfigT>(value); }
139 template<
typename VpcConfigT = VpcConfig>
150 template<
typename TagsT = Aws::Vector<Tag>>
151 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
152 template<
typename TagsT = Aws::Vector<Tag>>
154 template<
typename TagsT = Tag>
155 LambdaDetails&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
160 bool m_functionArnHasBeenSet =
false;
163 bool m_functionNameHasBeenSet =
false;
166 bool m_descriptionHasBeenSet =
false;
169 bool m_lastModifiedAtHasBeenSet =
false;
172 bool m_revisionIdHasBeenSet =
false;
175 bool m_functionVersionHasBeenSet =
false;
178 bool m_roleHasBeenSet =
false;
180 VpcConfig m_vpcConfig;
181 bool m_vpcConfigHasBeenSet =
false;
184 bool m_tagsHasBeenSet =
false;
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool RevisionIdHasBeenSet() const
LambdaDetails & WithFunctionArn(FunctionArnT &&value)
bool TagsHasBeenSet() const
AWS_GUARDDUTY_API LambdaDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
LambdaDetails & AddTags(TagsT &&value)
const Aws::String & GetFunctionArn() const
bool FunctionNameHasBeenSet() const
void SetTags(TagsT &&value)
void SetRole(RoleT &&value)
LambdaDetails & WithRole(RoleT &&value)
LambdaDetails & WithFunctionName(FunctionNameT &&value)
void SetFunctionVersion(FunctionVersionT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetRevisionId() const
bool RoleHasBeenSet() const
void SetVpcConfig(VpcConfigT &&value)
bool FunctionVersionHasBeenSet() const
const Aws::String & GetDescription() const
void SetLastModifiedAt(LastModifiedAtT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetDescription(DescriptionT &&value)
LambdaDetails & WithVpcConfig(VpcConfigT &&value)
const Aws::String & GetRole() const
const Aws::String & GetFunctionVersion() const
LambdaDetails & WithDescription(DescriptionT &&value)
bool LastModifiedAtHasBeenSet() const
void SetFunctionName(FunctionNameT &&value)
bool VpcConfigHasBeenSet() const
const Aws::String & GetFunctionName() const
const Aws::Utils::DateTime & GetLastModifiedAt() const
LambdaDetails & WithFunctionVersion(FunctionVersionT &&value)
LambdaDetails & WithLastModifiedAt(LastModifiedAtT &&value)
bool FunctionArnHasBeenSet() const
AWS_GUARDDUTY_API LambdaDetails()=default
LambdaDetails & WithTags(TagsT &&value)
void SetRevisionId(RevisionIdT &&value)
void SetFunctionArn(FunctionArnT &&value)
AWS_GUARDDUTY_API LambdaDetails(Aws::Utils::Json::JsonView jsonValue)
const VpcConfig & GetVpcConfig() const
LambdaDetails & WithRevisionId(RevisionIdT &&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