AWS SDK for C++

AWS SDK for C++ Version 1.11.778

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/http/HttpResponse.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace CloudFront {
24namespace Model {
26 public:
27 AWS_CLOUDFRONT_API CreateFunction2020_05_31Result() = default;
30
32
36 inline const FunctionSummary& GetFunctionSummary() const { return m_functionSummary; }
37 template <typename FunctionSummaryT = FunctionSummary>
38 void SetFunctionSummary(FunctionSummaryT&& value) {
39 m_functionSummaryHasBeenSet = true;
40 m_functionSummary = std::forward<FunctionSummaryT>(value);
41 }
42 template <typename FunctionSummaryT = FunctionSummary>
44 SetFunctionSummary(std::forward<FunctionSummaryT>(value));
45 return *this;
46 }
48
50
54 inline const Aws::String& GetLocation() const { return m_location; }
55 template <typename LocationT = Aws::String>
56 void SetLocation(LocationT&& value) {
57 m_locationHasBeenSet = true;
58 m_location = std::forward<LocationT>(value);
59 }
60 template <typename LocationT = Aws::String>
62 SetLocation(std::forward<LocationT>(value));
63 return *this;
64 }
66
68
72 inline const Aws::String& GetETag() const { return m_eTag; }
73 template <typename ETagT = Aws::String>
74 void SetETag(ETagT&& value) {
75 m_eTagHasBeenSet = true;
76 m_eTag = std::forward<ETagT>(value);
77 }
78 template <typename ETagT = Aws::String>
80 SetETag(std::forward<ETagT>(value));
81 return *this;
82 }
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template <typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) {
90 m_requestIdHasBeenSet = true;
91 m_requestId = std::forward<RequestIdT>(value);
92 }
93 template <typename RequestIdT = Aws::String>
95 SetRequestId(std::forward<RequestIdT>(value));
96 return *this;
97 }
99 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
100
101 private:
102 FunctionSummary m_functionSummary;
103
104 Aws::String m_location;
105
106 Aws::String m_eTag;
107
108 Aws::String m_requestId;
109 Aws::Http::HttpResponseCode m_HttpResponseCode;
110 bool m_functionSummaryHasBeenSet = false;
111 bool m_locationHasBeenSet = false;
112 bool m_eTagHasBeenSet = false;
113 bool m_requestIdHasBeenSet = false;
114};
115
116} // namespace Model
117} // namespace CloudFront
118} // 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