AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
TestParsingResult.h
1
6#pragma once
7#include <aws/b2bi/B2BI_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace B2BI
25{
26namespace Model
27{
29 {
30 public:
31 AWS_B2BI_API TestParsingResult() = default;
34
35
37
41 inline const Aws::String& GetParsedFileContent() const { return m_parsedFileContent; }
42 template<typename ParsedFileContentT = Aws::String>
43 void SetParsedFileContent(ParsedFileContentT&& value) { m_parsedFileContentHasBeenSet = true; m_parsedFileContent = std::forward<ParsedFileContentT>(value); }
44 template<typename ParsedFileContentT = Aws::String>
45 TestParsingResult& WithParsedFileContent(ParsedFileContentT&& value) { SetParsedFileContent(std::forward<ParsedFileContentT>(value)); return *this;}
47
49
54 inline const Aws::Vector<Aws::String>& GetParsedSplitFileContents() const { return m_parsedSplitFileContents; }
55 template<typename ParsedSplitFileContentsT = Aws::Vector<Aws::String>>
56 void SetParsedSplitFileContents(ParsedSplitFileContentsT&& value) { m_parsedSplitFileContentsHasBeenSet = true; m_parsedSplitFileContents = std::forward<ParsedSplitFileContentsT>(value); }
57 template<typename ParsedSplitFileContentsT = Aws::Vector<Aws::String>>
58 TestParsingResult& WithParsedSplitFileContents(ParsedSplitFileContentsT&& value) { SetParsedSplitFileContents(std::forward<ParsedSplitFileContentsT>(value)); return *this;}
59 template<typename ParsedSplitFileContentsT = Aws::String>
60 TestParsingResult& AddParsedSplitFileContents(ParsedSplitFileContentsT&& value) { m_parsedSplitFileContentsHasBeenSet = true; m_parsedSplitFileContents.emplace_back(std::forward<ParsedSplitFileContentsT>(value)); return *this; }
62
64
72 inline const Aws::Vector<Aws::String>& GetValidationMessages() const { return m_validationMessages; }
73 template<typename ValidationMessagesT = Aws::Vector<Aws::String>>
74 void SetValidationMessages(ValidationMessagesT&& value) { m_validationMessagesHasBeenSet = true; m_validationMessages = std::forward<ValidationMessagesT>(value); }
75 template<typename ValidationMessagesT = Aws::Vector<Aws::String>>
76 TestParsingResult& WithValidationMessages(ValidationMessagesT&& value) { SetValidationMessages(std::forward<ValidationMessagesT>(value)); return *this;}
77 template<typename ValidationMessagesT = Aws::String>
78 TestParsingResult& AddValidationMessages(ValidationMessagesT&& value) { m_validationMessagesHasBeenSet = true; m_validationMessages.emplace_back(std::forward<ValidationMessagesT>(value)); return *this; }
80
82
83 inline const Aws::String& GetRequestId() const { return m_requestId; }
84 template<typename RequestIdT = Aws::String>
85 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
86 template<typename RequestIdT = Aws::String>
87 TestParsingResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
89 private:
90
91 Aws::String m_parsedFileContent;
92 bool m_parsedFileContentHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_parsedSplitFileContents;
95 bool m_parsedSplitFileContentsHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_validationMessages;
98 bool m_validationMessagesHasBeenSet = false;
99
100 Aws::String m_requestId;
101 bool m_requestIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace B2BI
106} // namespace Aws
const Aws::Vector< Aws::String > & GetValidationMessages() const
void SetParsedFileContent(ParsedFileContentT &&value)
TestParsingResult & WithParsedFileContent(ParsedFileContentT &&value)
TestParsingResult & AddParsedSplitFileContents(ParsedSplitFileContentsT &&value)
const Aws::String & GetParsedFileContent() const
AWS_B2BI_API TestParsingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_B2BI_API TestParsingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
void SetValidationMessages(ValidationMessagesT &&value)
TestParsingResult & WithRequestId(RequestIdT &&value)
TestParsingResult & AddValidationMessages(ValidationMessagesT &&value)
TestParsingResult & WithValidationMessages(ValidationMessagesT &&value)
void SetRequestId(RequestIdT &&value)
void SetParsedSplitFileContents(ParsedSplitFileContentsT &&value)
const Aws::Vector< Aws::String > & GetParsedSplitFileContents() const
TestParsingResult & WithParsedSplitFileContents(ParsedSplitFileContentsT &&value)
AWS_B2BI_API TestParsingResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue