AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
GetPromptFileResult.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/http/HttpResponse.h>
9#include <aws/core/utils/DateTime.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 Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Connect {
24namespace Model {
26 public:
27 AWS_CONNECT_API GetPromptFileResult() = default;
30
32
36 inline const Aws::String& GetPromptPresignedUrl() const { return m_promptPresignedUrl; }
37 template <typename PromptPresignedUrlT = Aws::String>
38 void SetPromptPresignedUrl(PromptPresignedUrlT&& value) {
39 m_promptPresignedUrlHasBeenSet = true;
40 m_promptPresignedUrl = std::forward<PromptPresignedUrlT>(value);
41 }
42 template <typename PromptPresignedUrlT = Aws::String>
43 GetPromptFileResult& WithPromptPresignedUrl(PromptPresignedUrlT&& value) {
44 SetPromptPresignedUrl(std::forward<PromptPresignedUrlT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
54 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
55 void SetLastModifiedTime(LastModifiedTimeT&& value) {
56 m_lastModifiedTimeHasBeenSet = true;
57 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
58 }
59 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
60 GetPromptFileResult& WithLastModifiedTime(LastModifiedTimeT&& value) {
61 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetLastModifiedRegion() const { return m_lastModifiedRegion; }
71 template <typename LastModifiedRegionT = Aws::String>
72 void SetLastModifiedRegion(LastModifiedRegionT&& value) {
73 m_lastModifiedRegionHasBeenSet = true;
74 m_lastModifiedRegion = std::forward<LastModifiedRegionT>(value);
75 }
76 template <typename LastModifiedRegionT = Aws::String>
77 GetPromptFileResult& WithLastModifiedRegion(LastModifiedRegionT&& value) {
78 SetLastModifiedRegion(std::forward<LastModifiedRegionT>(value));
79 return *this;
80 }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template <typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) {
88 m_requestIdHasBeenSet = true;
89 m_requestId = std::forward<RequestIdT>(value);
90 }
91 template <typename RequestIdT = Aws::String>
92 GetPromptFileResult& WithRequestId(RequestIdT&& value) {
93 SetRequestId(std::forward<RequestIdT>(value));
94 return *this;
95 }
97 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
98
99 private:
100 Aws::String m_promptPresignedUrl;
101
102 Aws::Utils::DateTime m_lastModifiedTime{};
103
104 Aws::String m_lastModifiedRegion;
105
106 Aws::String m_requestId;
107 Aws::Http::HttpResponseCode m_HttpResponseCode;
108 bool m_promptPresignedUrlHasBeenSet = false;
109 bool m_lastModifiedTimeHasBeenSet = false;
110 bool m_lastModifiedRegionHasBeenSet = false;
111 bool m_requestIdHasBeenSet = false;
112};
113
114} // namespace Model
115} // namespace Connect
116} // namespace Aws
const Aws::Utils::DateTime & GetLastModifiedTime() const
const Aws::String & GetLastModifiedRegion() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_CONNECT_API GetPromptFileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_CONNECT_API GetPromptFileResult()=default
GetPromptFileResult & WithLastModifiedRegion(LastModifiedRegionT &&value)
GetPromptFileResult & WithLastModifiedTime(LastModifiedTimeT &&value)
void SetPromptPresignedUrl(PromptPresignedUrlT &&value)
GetPromptFileResult & WithRequestId(RequestIdT &&value)
AWS_CONNECT_API GetPromptFileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetPromptFileResult & WithPromptPresignedUrl(PromptPresignedUrlT &&value)
const Aws::String & GetPromptPresignedUrl() const
void SetLastModifiedRegion(LastModifiedRegionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue