AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
InvokeWithResponseStreamInitialResponse.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/http/HttpTypes.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lambda
23{
24namespace Model
25{
26
28 {
29 public:
30 AWS_LAMBDA_API InvokeWithResponseStreamInitialResponse() = default;
34 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
36
38
43 inline int GetStatusCode() const { return m_statusCode; }
44 inline bool StatusCodeHasBeenSet() const { return m_statusCodeHasBeenSet; }
45 inline void SetStatusCode(int value) { m_statusCodeHasBeenSet = true; m_statusCode = value; }
46 inline InvokeWithResponseStreamInitialResponse& WithStatusCode(int value) { SetStatusCode(value); return *this;}
48
50
54 inline const Aws::String& GetExecutedVersion() const { return m_executedVersion; }
55 inline bool ExecutedVersionHasBeenSet() const { return m_executedVersionHasBeenSet; }
56 template<typename ExecutedVersionT = Aws::String>
57 void SetExecutedVersion(ExecutedVersionT&& value) { m_executedVersionHasBeenSet = true; m_executedVersion = std::forward<ExecutedVersionT>(value); }
58 template<typename ExecutedVersionT = Aws::String>
59 InvokeWithResponseStreamInitialResponse& WithExecutedVersion(ExecutedVersionT&& value) { SetExecutedVersion(std::forward<ExecutedVersionT>(value)); return *this;}
61
63
66 inline const Aws::String& GetResponseStreamContentType() const { return m_responseStreamContentType; }
67 inline bool ResponseStreamContentTypeHasBeenSet() const { return m_responseStreamContentTypeHasBeenSet; }
68 template<typename ResponseStreamContentTypeT = Aws::String>
69 void SetResponseStreamContentType(ResponseStreamContentTypeT&& value) { m_responseStreamContentTypeHasBeenSet = true; m_responseStreamContentType = std::forward<ResponseStreamContentTypeT>(value); }
70 template<typename ResponseStreamContentTypeT = Aws::String>
71 InvokeWithResponseStreamInitialResponse& WithResponseStreamContentType(ResponseStreamContentTypeT&& value) { SetResponseStreamContentType(std::forward<ResponseStreamContentTypeT>(value)); return *this;}
73 private:
74
75 int m_statusCode{0};
76 bool m_statusCodeHasBeenSet = false;
77
78 Aws::String m_executedVersion;
79 bool m_executedVersionHasBeenSet = false;
80
81 Aws::String m_responseStreamContentType;
82 bool m_responseStreamContentTypeHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace Lambda
87} // namespace Aws
AWS_LAMBDA_API InvokeWithResponseStreamInitialResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API InvokeWithResponseStreamInitialResponse(const Http::HeaderValueCollection &responseHeaders)
InvokeWithResponseStreamInitialResponse & WithExecutedVersion(ExecutedVersionT &&value)
InvokeWithResponseStreamInitialResponse & WithResponseStreamContentType(ResponseStreamContentTypeT &&value)
AWS_LAMBDA_API InvokeWithResponseStreamInitialResponse(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue