AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
InquiryContent.h
1
6#pragma once
7#include <aws/artifact/Artifact_EXPORTS.h>
8#include <aws/artifact/model/InquiryFileContent.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Artifact {
21namespace Model {
22
30 public:
31 AWS_ARTIFACT_API InquiryContent() = default;
32 AWS_ARTIFACT_API InquiryContent(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetQuery() const { return m_query; }
41 inline bool QueryHasBeenSet() const { return m_queryHasBeenSet; }
42 template <typename QueryT = Aws::String>
43 void SetQuery(QueryT&& value) {
44 m_queryHasBeenSet = true;
45 m_query = std::forward<QueryT>(value);
46 }
47 template <typename QueryT = Aws::String>
48 InquiryContent& WithQuery(QueryT&& value) {
49 SetQuery(std::forward<QueryT>(value));
50 return *this;
51 }
53
55
58 inline const InquiryFileContent& GetFileContent() const { return m_fileContent; }
59 inline bool FileContentHasBeenSet() const { return m_fileContentHasBeenSet; }
60 template <typename FileContentT = InquiryFileContent>
61 void SetFileContent(FileContentT&& value) {
62 m_fileContentHasBeenSet = true;
63 m_fileContent = std::forward<FileContentT>(value);
64 }
65 template <typename FileContentT = InquiryFileContent>
66 InquiryContent& WithFileContent(FileContentT&& value) {
67 SetFileContent(std::forward<FileContentT>(value));
68 return *this;
69 }
71 private:
72 Aws::String m_query;
73
74 InquiryFileContent m_fileContent;
75 bool m_queryHasBeenSet = false;
76 bool m_fileContentHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Artifact
81} // namespace Aws
void SetFileContent(FileContentT &&value)
const InquiryFileContent & GetFileContent() const
AWS_ARTIFACT_API InquiryContent(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetQuery() const
AWS_ARTIFACT_API InquiryContent()=default
AWS_ARTIFACT_API InquiryContent & operator=(Aws::Utils::Json::JsonView jsonValue)
InquiryContent & WithQuery(QueryT &&value)
InquiryContent & WithFileContent(FileContentT &&value)
AWS_ARTIFACT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue