AWS SDK for C++  1.8.128
AWS SDK for C++
InvalidLambdaFunctionException.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SES
22 {
23 namespace Model
24 {
25 
36  {
37  public:
41 
42  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43  void OutputToStream(Aws::OStream& oStream, const char* location) const;
44 
45 
49  inline const Aws::String& GetFunctionArn() const{ return m_functionArn; }
50 
54  inline bool FunctionArnHasBeenSet() const { return m_functionArnHasBeenSet; }
55 
59  inline void SetFunctionArn(const Aws::String& value) { m_functionArnHasBeenSet = true; m_functionArn = value; }
60 
64  inline void SetFunctionArn(Aws::String&& value) { m_functionArnHasBeenSet = true; m_functionArn = std::move(value); }
65 
69  inline void SetFunctionArn(const char* value) { m_functionArnHasBeenSet = true; m_functionArn.assign(value); }
70 
74  inline InvalidLambdaFunctionException& WithFunctionArn(const Aws::String& value) { SetFunctionArn(value); return *this;}
75 
79  inline InvalidLambdaFunctionException& WithFunctionArn(Aws::String&& value) { SetFunctionArn(std::move(value)); return *this;}
80 
84  inline InvalidLambdaFunctionException& WithFunctionArn(const char* value) { SetFunctionArn(value); return *this;}
85 
86  private:
87 
88  Aws::String m_functionArn;
89  bool m_functionArnHasBeenSet;
90  };
91 
92 } // namespace Model
93 } // namespace SES
94 } // namespace Aws
Aws::SES::Model::InvalidLambdaFunctionException::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::SES::Model::InvalidLambdaFunctionException::SetFunctionArn
void SetFunctionArn(const char *value)
Definition: InvalidLambdaFunctionException.h:69
AWSStreamFwd.h
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SES::Model::InvalidLambdaFunctionException::operator=
InvalidLambdaFunctionException & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SES::Model::InvalidLambdaFunctionException::FunctionArnHasBeenSet
bool FunctionArnHasBeenSet() const
Definition: InvalidLambdaFunctionException.h:54
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::InvalidLambdaFunctionException::GetFunctionArn
const Aws::String & GetFunctionArn() const
Definition: InvalidLambdaFunctionException.h:49
Aws::SES::Model::InvalidLambdaFunctionException::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SES::Model::InvalidLambdaFunctionException::SetFunctionArn
void SetFunctionArn(const Aws::String &value)
Definition: InvalidLambdaFunctionException.h:59
Aws::SES::Model::InvalidLambdaFunctionException::SetFunctionArn
void SetFunctionArn(Aws::String &&value)
Definition: InvalidLambdaFunctionException.h:64
Aws::SES::Model::InvalidLambdaFunctionException::WithFunctionArn
InvalidLambdaFunctionException & WithFunctionArn(const Aws::String &value)
Definition: InvalidLambdaFunctionException.h:74
Aws::SES::Model::InvalidLambdaFunctionException
Definition: InvalidLambdaFunctionException.h:36
Aws::SES::Model::InvalidLambdaFunctionException::InvalidLambdaFunctionException
InvalidLambdaFunctionException(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::InvalidLambdaFunctionException::WithFunctionArn
InvalidLambdaFunctionException & WithFunctionArn(const char *value)
Definition: InvalidLambdaFunctionException.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SES::Model::InvalidLambdaFunctionException::InvalidLambdaFunctionException
InvalidLambdaFunctionException()
Aws::SES::Model::InvalidLambdaFunctionException::WithFunctionArn
InvalidLambdaFunctionException & WithFunctionArn(Aws::String &&value)
Definition: InvalidLambdaFunctionException.h:79