AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateFunction2020_05_31Result.h
1
6#pragma once
7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/cloudfront/model/FunctionSummary.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace CloudFront {
23namespace Model {
25 public:
26 AWS_CLOUDFRONT_API CreateFunction2020_05_31Result() = default;
29
31
35 inline const FunctionSummary& GetFunctionSummary() const { return m_functionSummary; }
36 template <typename FunctionSummaryT = FunctionSummary>
37 void SetFunctionSummary(FunctionSummaryT&& value) {
38 m_functionSummaryHasBeenSet = true;
39 m_functionSummary = std::forward<FunctionSummaryT>(value);
40 }
41 template <typename FunctionSummaryT = FunctionSummary>
43 SetFunctionSummary(std::forward<FunctionSummaryT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetLocation() const { return m_location; }
54 template <typename LocationT = Aws::String>
55 void SetLocation(LocationT&& value) {
56 m_locationHasBeenSet = true;
57 m_location = std::forward<LocationT>(value);
58 }
59 template <typename LocationT = Aws::String>
61 SetLocation(std::forward<LocationT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetETag() const { return m_eTag; }
72 template <typename ETagT = Aws::String>
73 void SetETag(ETagT&& value) {
74 m_eTagHasBeenSet = true;
75 m_eTag = std::forward<ETagT>(value);
76 }
77 template <typename ETagT = Aws::String>
79 SetETag(std::forward<ETagT>(value));
80 return *this;
81 }
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template <typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) {
89 m_requestIdHasBeenSet = true;
90 m_requestId = std::forward<RequestIdT>(value);
91 }
92 template <typename RequestIdT = Aws::String>
94 SetRequestId(std::forward<RequestIdT>(value));
95 return *this;
96 }
98 private:
99 FunctionSummary m_functionSummary;
100
101 Aws::String m_location;
102
103 Aws::String m_eTag;
104
105 Aws::String m_requestId;
106 bool m_functionSummaryHasBeenSet = false;
107 bool m_locationHasBeenSet = false;
108 bool m_eTagHasBeenSet = false;
109 bool m_requestIdHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace CloudFront
114} // namespace Aws
AWS_CLOUDFRONT_API CreateFunction2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateFunction2020_05_31Result & WithFunctionSummary(FunctionSummaryT &&value)
AWS_CLOUDFRONT_API CreateFunction2020_05_31Result()=default
AWS_CLOUDFRONT_API CreateFunction2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateFunction2020_05_31Result & WithETag(ETagT &&value)
CreateFunction2020_05_31Result & WithLocation(LocationT &&value)
CreateFunction2020_05_31Result & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument