AWS SDK for C++  1.9.126
AWS SDK for C++
UpdateFunction2020_05_31Result.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Xml
20 {
21  class XmlDocument;
22 } // namespace Xml
23 } // namespace Utils
24 namespace CloudFront
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
40  inline const FunctionSummary& GetFunctionSummary() const{ return m_functionSummary; }
41 
46  inline void SetFunctionSummary(const FunctionSummary& value) { m_functionSummary = value; }
47 
52  inline void SetFunctionSummary(FunctionSummary&& value) { m_functionSummary = std::move(value); }
53 
58  inline UpdateFunction2020_05_31Result& WithFunctionSummary(const FunctionSummary& value) { SetFunctionSummary(value); return *this;}
59 
64  inline UpdateFunction2020_05_31Result& WithFunctionSummary(FunctionSummary&& value) { SetFunctionSummary(std::move(value)); return *this;}
65 
66 
71  inline const Aws::String& GetETag() const{ return m_eTag; }
72 
77  inline void SetETag(const Aws::String& value) { m_eTag = value; }
78 
83  inline void SetETag(Aws::String&& value) { m_eTag = std::move(value); }
84 
89  inline void SetETag(const char* value) { m_eTag.assign(value); }
90 
95  inline UpdateFunction2020_05_31Result& WithETag(const Aws::String& value) { SetETag(value); return *this;}
96 
101  inline UpdateFunction2020_05_31Result& WithETag(Aws::String&& value) { SetETag(std::move(value)); return *this;}
102 
107  inline UpdateFunction2020_05_31Result& WithETag(const char* value) { SetETag(value); return *this;}
108 
109  private:
110 
111  FunctionSummary m_functionSummary;
112 
113  Aws::String m_eTag;
114  };
115 
116 } // namespace Model
117 } // namespace CloudFront
118 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::GetFunctionSummary
const FunctionSummary & GetFunctionSummary() const
Definition: UpdateFunction2020_05_31Result.h:40
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::WithETag
UpdateFunction2020_05_31Result & WithETag(const char *value)
Definition: UpdateFunction2020_05_31Result.h:107
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::SetETag
void SetETag(const Aws::String &value)
Definition: UpdateFunction2020_05_31Result.h:77
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::SetETag
void SetETag(const char *value)
Definition: UpdateFunction2020_05_31Result.h:89
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::GetETag
const Aws::String & GetETag() const
Definition: UpdateFunction2020_05_31Result.h:71
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::WithETag
UpdateFunction2020_05_31Result & WithETag(const Aws::String &value)
Definition: UpdateFunction2020_05_31Result.h:95
Aws::CloudFront::Model::UpdateFunction2020_05_31Result
Definition: UpdateFunction2020_05_31Result.h:29
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::SetETag
void SetETag(Aws::String &&value)
Definition: UpdateFunction2020_05_31Result.h:83
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::SetFunctionSummary
void SetFunctionSummary(const FunctionSummary &value)
Definition: UpdateFunction2020_05_31Result.h:46
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::UpdateFunction2020_05_31Result
UpdateFunction2020_05_31Result()
Aws::CloudFront::Model::FunctionSummary
Definition: FunctionSummary.h:34
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::operator=
UpdateFunction2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWSString.h
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::WithFunctionSummary
UpdateFunction2020_05_31Result & WithFunctionSummary(FunctionSummary &&value)
Definition: UpdateFunction2020_05_31Result.h:64
FunctionSummary.h
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::WithFunctionSummary
UpdateFunction2020_05_31Result & WithFunctionSummary(const FunctionSummary &value)
Definition: UpdateFunction2020_05_31Result.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::UpdateFunction2020_05_31Result
UpdateFunction2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::SetFunctionSummary
void SetFunctionSummary(FunctionSummary &&value)
Definition: UpdateFunction2020_05_31Result.h:52
Aws::CloudFront::Model::UpdateFunction2020_05_31Result::WithETag
UpdateFunction2020_05_31Result & WithETag(Aws::String &&value)
Definition: UpdateFunction2020_05_31Result.h:101