AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
CreateQuestionSetVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elementalinference/ElementalInferenceRequest.h>
9#include <aws/elementalinference/ElementalInference_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ElementalInference {
15namespace Model {
16
20 public:
21 AWS_ELEMENTALINFERENCE_API CreateQuestionSetVersionRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "CreateQuestionSetVersion"; }
28
29 AWS_ELEMENTALINFERENCE_API Aws::String SerializePayload() const override;
30
32
35 inline const Aws::String& GetId() const { return m_id; }
36 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
37 template <typename IdT = Aws::String>
38 void SetId(IdT&& value) {
39 m_idHasBeenSet = true;
40 m_id = std::forward<IdT>(value);
41 }
42 template <typename IdT = Aws::String>
44 SetId(std::forward<IdT>(value));
45 return *this;
46 }
48
50
58 inline const Aws::String& GetSha256() const { return m_sha256; }
59 inline bool Sha256HasBeenSet() const { return m_sha256HasBeenSet; }
60 template <typename Sha256T = Aws::String>
61 void SetSha256(Sha256T&& value) {
62 m_sha256HasBeenSet = true;
63 m_sha256 = std::forward<Sha256T>(value);
64 }
65 template <typename Sha256T = Aws::String>
67 SetSha256(std::forward<Sha256T>(value));
68 return *this;
69 }
71
73
81 inline const Aws::String& GetDescription() const { return m_description; }
82 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
83 template <typename DescriptionT = Aws::String>
84 void SetDescription(DescriptionT&& value) {
85 m_descriptionHasBeenSet = true;
86 m_description = std::forward<DescriptionT>(value);
87 }
88 template <typename DescriptionT = Aws::String>
90 SetDescription(std::forward<DescriptionT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_id;
96
97 Aws::String m_sha256;
98
99 Aws::String m_description;
100 bool m_idHasBeenSet = false;
101 bool m_sha256HasBeenSet = false;
102 bool m_descriptionHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace ElementalInference
107} // namespace Aws
AWS_ELEMENTALINFERENCE_API CreateQuestionSetVersionRequest()=default
AWS_ELEMENTALINFERENCE_API Aws::String SerializePayload() const override
CreateQuestionSetVersionRequest & WithDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String