AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ResponseConfiguration.h
1
6#pragma once
7#include <aws/qbusiness/QBusiness_EXPORTS.h>
8#include <aws/qbusiness/model/InstructionCollection.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QBusiness
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_QBUSINESS_API ResponseConfiguration() = default;
39 AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const InstructionCollection& GetInstructionCollection() const { return m_instructionCollection; }
49 inline bool InstructionCollectionHasBeenSet() const { return m_instructionCollectionHasBeenSet; }
50 template<typename InstructionCollectionT = InstructionCollection>
51 void SetInstructionCollection(InstructionCollectionT&& value) { m_instructionCollectionHasBeenSet = true; m_instructionCollection = std::forward<InstructionCollectionT>(value); }
52 template<typename InstructionCollectionT = InstructionCollection>
53 ResponseConfiguration& WithInstructionCollection(InstructionCollectionT&& value) { SetInstructionCollection(std::forward<InstructionCollectionT>(value)); return *this;}
55 private:
56
57 InstructionCollection m_instructionCollection;
58 bool m_instructionCollectionHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace QBusiness
63} // namespace Aws
void SetInstructionCollection(InstructionCollectionT &&value)
const InstructionCollection & GetInstructionCollection() const
AWS_QBUSINESS_API ResponseConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QBUSINESS_API ResponseConfiguration()=default
AWS_QBUSINESS_API Aws::Utils::Json::JsonValue Jsonize() const
ResponseConfiguration & WithInstructionCollection(InstructionCollectionT &&value)
AWS_QBUSINESS_API ResponseConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue